|
| 1 | +--- |
| 2 | +external help file: Microsoft.Rtc.Management.dll-help.xml |
| 3 | +applicable: Skype for Business Online |
| 4 | +title: Grant-CsTeamsChannelsPolicy |
| 5 | +schema: 2.0.0 |
| 6 | +author: kenwith |
| 7 | +ms.author: kenwith |
| 8 | +ms.reviewer: |
| 9 | +--- |
| 10 | + |
| 11 | +# Grant-CsTeamsChannelsPolicy |
| 12 | + |
| 13 | +## SYNOPSIS |
| 14 | + |
| 15 | +The CsTeamsChannelsPolicy allows you to manage features related to the Teams & Channels experience within the Teams application. |
| 16 | + |
| 17 | +## SYNTAX |
| 18 | + |
| 19 | +### Identity (Default) |
| 20 | +``` |
| 21 | +Grant-CsTeamsChannelsPolicy [[-Identity] <UserIdParameter>] [-PolicyName] <String> [-Tenant <System.Guid>] |
| 22 | + [-DomainController <Fqdn>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>] |
| 23 | +``` |
| 24 | + |
| 25 | +### GrantToTenant |
| 26 | +``` |
| 27 | +Grant-CsTeamsChannelsPolicy [-PolicyName] <String> [-Tenant <System.Guid>] [-DomainController <Fqdn>] |
| 28 | + [-PassThru] [-Global] [-WhatIf] [-Confirm] [<CommonParameters>] |
| 29 | +``` |
| 30 | + |
| 31 | +## DESCRIPTION |
| 32 | +The CsTeamsChannelsPolicy allows you to manage features related to the Teams & Channels experience within the Teams application. The Grant-CsTeamsChannelsPolicy allows you to assign specific policies to users that have been created in your tenant. |
| 33 | + |
| 34 | +## EXAMPLES |
| 35 | + |
| 36 | +### Example 1 |
| 37 | +```powershell |
| 38 | +PS C:\> Grant-CsTeamsChannelsPolicy -Identity [email protected] -PolicyName StudentPolicy |
| 39 | +``` |
| 40 | + |
| 41 | +Assigns a custom policy to a specific user in an organization. |
| 42 | + |
| 43 | +## PARAMETERS |
| 44 | + |
| 45 | +### -Confirm |
| 46 | +Prompts you for confirmation before running the cmdlet. |
| 47 | + |
| 48 | +```yaml |
| 49 | +Type: SwitchParameter |
| 50 | +Parameter Sets: (All) |
| 51 | +Aliases: cf |
| 52 | + |
| 53 | +Required: False |
| 54 | +Position: Named |
| 55 | +Default value: None |
| 56 | +Accept pipeline input: False |
| 57 | +Accept wildcard characters: False |
| 58 | +``` |
| 59 | +
|
| 60 | +### -DomainController |
| 61 | +Internal Microsoft usage only. |
| 62 | +
|
| 63 | +```yaml |
| 64 | +Type: Fqdn |
| 65 | +Parameter Sets: (All) |
| 66 | +Aliases: |
| 67 | + |
| 68 | +Required: False |
| 69 | +Position: Named |
| 70 | +Default value: None |
| 71 | +Accept pipeline input: False |
| 72 | +Accept wildcard characters: False |
| 73 | +``` |
| 74 | +
|
| 75 | +### -Global |
| 76 | +Use the -Global flag to convert the values of the Global policy to the values of the specified policy. |
| 77 | +
|
| 78 | +```yaml |
| 79 | +Type: SwitchParameter |
| 80 | +Parameter Sets: GrantToTenant |
| 81 | +Aliases: |
| 82 | + |
| 83 | +Required: False |
| 84 | +Position: Named |
| 85 | +Default value: None |
| 86 | +Accept pipeline input: False |
| 87 | +Accept wildcard characters: False |
| 88 | +``` |
| 89 | +
|
| 90 | +### -Identity |
| 91 | +Specify the user to whom the policy is being assigned. |
| 92 | +
|
| 93 | +```yaml |
| 94 | +Type: UserIdParameter |
| 95 | +Parameter Sets: Identity |
| 96 | +Aliases: |
| 97 | + |
| 98 | +Required: False |
| 99 | +Position: 0 |
| 100 | +Default value: None |
| 101 | +Accept pipeline input: True (ByPropertyName, ByValue) |
| 102 | +Accept wildcard characters: False |
| 103 | +``` |
| 104 | +
|
| 105 | +### -PassThru |
| 106 | +
|
| 107 | +```yaml |
| 108 | +Type: SwitchParameter |
| 109 | +Parameter Sets: (All) |
| 110 | +Aliases: |
| 111 | + |
| 112 | +Required: False |
| 113 | +Position: Named |
| 114 | +Default value: None |
| 115 | +Accept pipeline input: False |
| 116 | +Accept wildcard characters: False |
| 117 | +``` |
| 118 | +
|
| 119 | +### -PolicyName |
| 120 | +Specify the policy that should be granted to the user |
| 121 | +
|
| 122 | +```yaml |
| 123 | +Type: String |
| 124 | +Parameter Sets: (All) |
| 125 | +Aliases: |
| 126 | + |
| 127 | +Required: True |
| 128 | +Position: 1 |
| 129 | +Default value: None |
| 130 | +Accept pipeline input: False |
| 131 | +Accept wildcard characters: False |
| 132 | +``` |
| 133 | +
|
| 134 | +### -Tenant |
| 135 | +Internal Microsoft use only. |
| 136 | +
|
| 137 | +```yaml |
| 138 | +Type: System.Guid |
| 139 | +Parameter Sets: (All) |
| 140 | +Aliases: |
| 141 | + |
| 142 | +Required: False |
| 143 | +Position: Named |
| 144 | +Default value: None |
| 145 | +Accept pipeline input: False |
| 146 | +Accept wildcard characters: False |
| 147 | +``` |
| 148 | +
|
| 149 | +### -WhatIf |
| 150 | +Shows what would happen if the cmdlet runs. |
| 151 | +The cmdlet is not run. |
| 152 | +
|
| 153 | +```yaml |
| 154 | +Type: SwitchParameter |
| 155 | +Parameter Sets: (All) |
| 156 | +Aliases: wi |
| 157 | + |
| 158 | +Required: False |
| 159 | +Position: Named |
| 160 | +Default value: None |
| 161 | +Accept pipeline input: False |
| 162 | +Accept wildcard characters: False |
| 163 | +``` |
| 164 | +
|
| 165 | +### CommonParameters |
| 166 | +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. |
| 167 | +For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216). |
| 168 | +
|
| 169 | +## INPUTS |
| 170 | +
|
| 171 | +### Microsoft.Rtc.Management.AD.UserIdParameter |
| 172 | +
|
| 173 | +
|
| 174 | +## OUTPUTS |
| 175 | +
|
| 176 | +### System.Object |
| 177 | +
|
| 178 | +## NOTES |
| 179 | +
|
| 180 | +## RELATED LINKS |
0 commit comments