From 9657ead355a28e5116dd6ad882c5aeeee5e4e20d Mon Sep 17 00:00:00 2001 From: Mickael Brest Date: Tue, 30 Mar 2021 12:21:43 +0200 Subject: [PATCH 1/3] Update Set-CsGroupPolicyAssignment.md Fixed missing link in the "description" section, the link to "New-CsGroupPolicyAssignment" cmdlet was missing --- teams/teams-ps/teams/Set-CsGroupPolicyAssignment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teams/teams-ps/teams/Set-CsGroupPolicyAssignment.md b/teams/teams-ps/teams/Set-CsGroupPolicyAssignment.md index 69468463fe..fb3b4be4f6 100644 --- a/teams/teams-ps/teams/Set-CsGroupPolicyAssignment.md +++ b/teams/teams-ps/teams/Set-CsGroupPolicyAssignment.md @@ -23,7 +23,7 @@ Set-CsGroupPolicyAssignment -GroupId -PolicyType [-PolicyName ``` ## DESCRIPTION -This cmdlet will update the policy assignment for a group for a given policy type. The policy instance and/or policy rank can be updated. Refer to [New-CsGroupPolicyAssignment]() for more details about rank. +This cmdlet will update the policy assignment for a group for a given policy type. The policy instance and/or policy rank can be updated. Refer to [New-CsGroupPolicyAssignment](New-CsGroupPolicyAssignment.md) for more details about rank. ## EXAMPLES From 26b975d62cbaef18ac9659a6cd6596e3a1074e3d Mon Sep 17 00:00:00 2001 From: Gary Moore Date: Mon, 19 Apr 2021 18:59:08 -0700 Subject: [PATCH 2/3] Corrected note style; added label to code blocks; added vertical space --- .../teams/Set-CsGroupPolicyAssignment.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/teams/teams-ps/teams/Set-CsGroupPolicyAssignment.md b/teams/teams-ps/teams/Set-CsGroupPolicyAssignment.md index fb3b4be4f6..a921897339 100644 --- a/teams/teams-ps/teams/Set-CsGroupPolicyAssignment.md +++ b/teams/teams-ps/teams/Set-CsGroupPolicyAssignment.md @@ -12,25 +12,28 @@ ms.reviewer: ## SYNOPSIS -**Note:** The cmdlet Set-CsGroupPolicyAssignment will be available soon. In the meantime, to change a group policy assignment you can first remove the current policy assignment from the group and then add a new policy assignment. +> [!NOTE] +> The cmdlet Set-CsGroupPolicyAssignment will be available soon. In the meantime, to change a group policy assignment you can first remove the current policy assignment from the group and then add a new policy assignment. This cmdlet is used to update a group policy assignment. ## SYNTAX -``` +```powershell Set-CsGroupPolicyAssignment -GroupId -PolicyType [-PolicyName ] [-Rank ] ``` ## DESCRIPTION + This cmdlet will update the policy assignment for a group for a given policy type. The policy instance and/or policy rank can be updated. Refer to [New-CsGroupPolicyAssignment](New-CsGroupPolicyAssignment.md) for more details about rank. ## EXAMPLES ### Example 1 + In this example, a new policy of the same type is set without changing the rank. -``` +```powershell Get-CsGroupPolicyAssignment -PolicyType TeamsMeetingPolicy GroupId PolicyType PolicyName Rank CreatedTime CreatedBy @@ -49,9 +52,10 @@ d8ebfa45-0f28-4d2d-9bcc-b158a49e2d17 TeamsMeetingPolicy AllOn 1 10/29/20 ``` ### Example 2 + In this example, the rank of the policy assignment is updated. -``` +```powershell Set-CsGroupPolicyAssignment -GroupId 566b8d39-5c5c-4aaa-bc07-4f36278a1b38 -PolicyType TeamsMeetingPolicy -Rank 1 Get-CsGroupPolicyAssignment -PolicyType TeamsMeetingPolicy @@ -65,6 +69,7 @@ d8ebfa45-0f28-4d2d-9bcc-b158a49e2d17 TeamsMeetingPolicy AllOn 2 10/29/20 ## PARAMETERS ### -GroupId + The ID of a batch policy assignment operation. ```yaml @@ -80,6 +85,7 @@ Accept wildcard characters: False ``` ### -PolicyType + The type of the policy assigned. ```yaml @@ -95,6 +101,7 @@ Accept wildcard characters: False ``` ### -PolicyName + The of the new policy to be assigned. ```yaml @@ -110,6 +117,7 @@ Accept wildcard characters: False ``` ### -Rank + The new rank of the policy assignment, relative to other group policy assignments for the same policy type. ```yaml @@ -125,6 +133,7 @@ Accept wildcard characters: False ``` ### CommonParameters + This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [About CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). From 2064313f33ca3a3d7b283ed73d1e272274857c3d Mon Sep 17 00:00:00 2001 From: Gary Moore Date: Mon, 19 Apr 2021 19:08:26 -0700 Subject: [PATCH 3/3] Adding a little space after the note --- teams/teams-ps/teams/Set-CsGroupPolicyAssignment.md | 1 + 1 file changed, 1 insertion(+) diff --git a/teams/teams-ps/teams/Set-CsGroupPolicyAssignment.md b/teams/teams-ps/teams/Set-CsGroupPolicyAssignment.md index a921897339..db5d75e85b 100644 --- a/teams/teams-ps/teams/Set-CsGroupPolicyAssignment.md +++ b/teams/teams-ps/teams/Set-CsGroupPolicyAssignment.md @@ -15,6 +15,7 @@ ms.reviewer: > [!NOTE] > The cmdlet Set-CsGroupPolicyAssignment will be available soon. In the meantime, to change a group policy assignment you can first remove the current policy assignment from the group and then add a new policy assignment. +
This cmdlet is used to update a group policy assignment. ## SYNTAX