Grant-CsTeamsUpdateManagementPolicy
Use this cmdlet to grant a specific Teams Update Management policy to a user.
Syntax
Grant-CsTeamsUpdateManagementPolicy
[[-Identity] <String>]
[-PassThru]
[[-PolicyName] <String>]
[-MsftInternalProcessingMode <String>]
[-ProgressAction <ActionPreference>]
[<CommonParameters>]
Grant-CsTeamsUpdateManagementPolicy
[-PassThru]
[[-PolicyName] <String>]
[-MsftInternalProcessingMode <String>]
[-Global]
[-ProgressAction <ActionPreference>]
[<CommonParameters>]
Grant-CsTeamsUpdateManagementPolicy
[-PassThru]
[[-PolicyName] <String>]
[-MsftInternalProcessingMode <String>]
[-Group] <String>
[-Rank <Int32>]
[-ProgressAction <ActionPreference>]
[<CommonParameters>]
Description
Grants a specific Teams Update Management policy to a user or sets a specific Teams Update Management policy as the new effective global policy.
Examples
Example 1
PS C:\> Grant-CsTeamsUpdateManagementPolicy -PolicyName "Campaign Policy" -Identity [email protected]
In this example, the policy "Campaign Policy" is granted to the user [email protected].
Parameters
-Global
Use this parameter to make the specified policy in -PolicyName the new effective global policy.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Group
Specifies the group used for the group policy assignment.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Identity
Indicates the identity of the user account the policy should be assigned to.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-PassThru
Including this parameter (which does not take a value) displays the user information when the cmdlet completes. Normally there is no output when this cmdlet is run.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PolicyName
The identity of the policy to be granted.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Rank
The rank of the policy assignment, relative to other group policy assignments for the same policy type.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
System.String
Outputs
System.Object