Set-CsTeamsChannelsPolicy
The CsTeamsChannelsPolicy allows you to manage features related to the Teams and Channels experience within the Teams application.
Syntax
Set-CsTeamsChannelsPolicy
[-Tenant <Guid>]
[-AllowOrgWideTeamCreation <Boolean>]
[-AllowPrivateTeamDiscovery <Boolean>]
[-AllowPrivateChannelCreation <Boolean>]
[[-Identity] <XdsIdentity>]
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-CsTeamsChannelsPolicy
[-Tenant <Guid>]
[-AllowOrgWideTeamCreation <Boolean>]
[-AllowPrivateTeamDiscovery <Boolean>]
[-AllowPrivateChannelCreation <Boolean>]
[-Instance <PSObject>]
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The CsTeamsChannelsPolicy allows you to manage features related to the Teams & Channels experience within the Teams application.
This cmdlet allows you to update existing policies of this type.
Examples
Example 1
PS C:\> Set-CsTeamsChannelsPolicy -Identity StudentPolicy -AllowPrivateTeamDiscovery $true
This example shows updating an existing policy with name "StudentPolicy" and enabling Private Team Discovery.
Parameters
Determines whether a user is allowed to create an org-wide team. Set this to TRUE to allow. Set this FALSE to prohibit.
Type: | Boolean |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Determines whether a user is allowed to create a private channel. Set this to TRUE to allow. Set this FALSE to prohibit.
Type: | Boolean |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Determines whether a user is allowed to discover private teams in suggestions and search results. Set this to TRUE to allow. Set this FALSE to prohibit.
Type: | Boolean |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Bypass all non-fatal errors.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Use this parameter to specify the name of the policy being updated.
Type: | XdsIdentity |
Position: | 1 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Use this parameter to pass the policy object output of Get-CsTeamsChannelsPolicy to update that policy.
Type: | PSObject |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Internal Microsoft use only.
Type: | System.Guid |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
System.Management.Automation.PSObject
Outputs
System.Object
Related Links
Feedback
Submit and view feedback for