Skip to content

Geetha63/MS-Teams-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microsoft Teams Powershell Scripts

This branch contains sample Powershell scripts

Getting the Scripts

Scripts are written in Powershell , To use the Scripts

    Copy and paste or download the script into Windows Powershell,run it accordingly

Scripts list

No Script Name Description Script Link
1 Add App to Teams and Tenant Script is to Add TeamsApp to particular Team or all Teams in Tenant Link
2 Call Quality Dashboard Report Script will provide total stream count including Audio,video,Appsharing for provided start time and end time, CQD Report of Given time Link
3 Canvas Downloading the data from the canvas Link
4 Create New-CsTeamsMessagingPolicy Enable administrators to control user messaging policy,determines whether a user is allowed to exchange the messages or not Link
5 Create a Teams along with App Script to Creating a team with group and then adding app to that Team. Link
6 Delete Teams Where Team Members dont Have Given Job titles Script to check the each Team members job title, if at least one job title does not match to given job titles,will delete those teams and sent an email to owners of the team. Link
7 Grant New-CsTeamsMessagingPolicy Script to granting messaging policy to user Link
8 Group or TeamsCreationRestrictionPolicy-Bulk Script to restrict Office 365 group creation to the members of a particular security group. Link
9 Group or TeamsCreationRestrictionPolicy Script to restrict Office 365 Group creation to the member of a particular security group. Link
10 GuestRestrictionForGivenTeams Script will restrict the adding guest users in Teams. Link
11 Installed Apps Script retrieves the list of apps installed for each user. Link
12 Membership Change from Teacher-Owner,Student-Member Script will change the Teams membership role based on the user license. After the script execution Teacher license user will convert as Owner and student license users will converts as members. Link
13 Policy Package Assignment Script will check the user license, After script execution Teacher license users will be assigned with “Education Teacher”,Student license users assigned with “Education_SecondaryStudent” policy packages. Link
14 SharePoint storage limit To modify the SharePoint storage limit Link
15 Team Owner Member and Channel details Script returns owner,member of a team and channels of a team by providing the required input. Link
16 TeamsAppSetupPolicy Creating a new Teams App Setup Policy and Assigning a Teams App Setup Policy to users. Link
17 Teams Creation Along with Channel and Role Create Teams along with channel and role Link
18 Teams License Status For Each TenantUser Script will check each Tenant user license. It will also check MicrosotTeams subscription. If it is in disabled mode script will enable. If user don’t have any of teams license it will print the user name in output file. Link
19 Teams Login Logs Retrieve the MicrosoftTeams user log-ins for your tenant. Link
20 Teams Owner, Member details Retrieves the details of teams owner and member. Link
21 Teams Signin Logs Retrieve the MicrosoftTeams user sign-ins for your tenant Link
22 Teams User Activity Use the Microsoft Teams activity reports to get insights into the Microsoft Teams user activity in your organization.Period specifies the length of time over which the report is aggregated Link
23 User As Teams Owner Script will retrieves the teams details where user is owner for the team. Link
24 User Policy Assignment Script will work for assigning custom user policies for N no.of users. Link
25 AddTeacherToDistribution list-Education domain Script will serach and filter teachers in tenant using license parameter and adds to the All teachers distribution list Link
26 Address book policy-UpdateUserAttributes-EducationDomain Script will check all groups of teachers,students and removes the part “students of” or “teachers of” and then it will update the user custom attribute with the school name,this way we can have both teachers,students of the same school can share the same attribute value Link
27 AssignPolicyToTeachers-EducationDomain Script will search for All Teachers distribution list in tenant and assign policy types with policyName AllTeachers to All Teachers distribution list Link
28 CreateAndAssignAddressBookPolicy-EducationDomain Script will create and assign the address lists,address book policies to users based on the attribute Link
29 ResetPolicies-Education domain Script is to create below custom policies to set all access to teachers and restrict to students in an orgnization Link
30 TeachersGroupUpdate-Education domain Script will update the All teachers distribution list members,it checks the users who has teacher license are added to the All teachers distribution list are not, if any users are not added, script will add that particular users to DL Link
31 Send Notification to Selected Audience and Direct them to a Deep Link App Script accepts both target audience, destination we need to point the users to (App / Deep Link to a specific entity) from the user, send a notification based on the user input Link
32 DomainValidation Script does a DNS name query resolution for Lync discover records and validates if they are pointing to webdir.online.lync.com Link

About

Powershell and Graph scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages