< Back
Apply-TeamsPolicyFromCSV
Post
NAME Apply-TeamsPolicyFromCSV
SYNOPSIS
Apply teams policy to user accounts from CSV file.
SYNTAX
Apply-TeamsPolicyFromCSV [-Path] <String> [<CommonParameters>]
DESCRIPTION
Using this script, you can Apply teams policy to user accounts and this function use the SkypeOnlineConnector
Module.
PARAMETERS
-Path <String>
Provide the CSV file path of the teams policy details.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Apply-TeamsPolicyFromCSV -Path "C:\\temp\\TeamsPolicy.CSV"
Apply teams policy to user account from CSV file.
Sample CSV file format
Ex:
UserPricipalName,TeamsCallingPolicy,TeamsMeetingPolicy,TeamsMessagingPolicy,TeamsUpgradePolicy
admin@tenantname.com,Tag:AllowCalling,Tag:AllOn,Tag:Default,Tag:SfBWithTeamsCollabWithNotify
alexw@tenantname.com,Tag:DisallowCalling,Global,Tag:EduFaculty,Global
alland@tenantname.com,Global,Global,Global,Global
Note: CSV Header: UserPricipalName,TeamsCallingPolicy,TeamsMeetingPolicy,TeamsMessagingPolicy,TeamsUpgradePolicy
RELATED LINKS
SYNOPSIS
Apply teams policy to user accounts from CSV file.
SYNTAX
Apply-TeamsPolicyFromCSV [-Path] <String> [<CommonParameters>]
DESCRIPTION
Using this script, you can Apply teams policy to user accounts and this function use the SkypeOnlineConnector
Module.
PARAMETERS
-Path <String>
Provide the CSV file path of the teams policy details.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Apply-TeamsPolicyFromCSV -Path "C:\\temp\\TeamsPolicy.CSV"
Apply teams policy to user account from CSV file.
Sample CSV file format
Ex:
UserPricipalName,TeamsCallingPolicy,TeamsMeetingPolicy,TeamsMessagingPolicy,TeamsUpgradePolicy
admin@tenantname.com,Tag:AllowCalling,Tag:AllOn,Tag:Default,Tag:SfBWithTeamsCollabWithNotify
alexw@tenantname.com,Tag:DisallowCalling,Global,Tag:EduFaculty,Global
alland@tenantname.com,Global,Global,Global,Global
Note: CSV Header: UserPricipalName,TeamsCallingPolicy,TeamsMeetingPolicy,TeamsMessagingPolicy,TeamsUpgradePolicy
RELATED LINKS