Skip to content

Commit 6a1a544

Browse files
authored
Merge branch 'master' into patch-192
2 parents 7bc54ca + 39ff902 commit 6a1a544

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Invoke-SPOSiteSwap.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ Accept wildcard characters: False
160160
### -Force
161161
162162
Overrides and ignores any warnings that have been identified by the Page Diagnostic Tool that are preventing a swap from being initiated.
163+
164+
For example, if you receive the warning "Invoke-SPOSiteSwap : Errors: 0; Warnings: 1; Details: The site is not a communications site or it has the classic publishing feature enabled." then this warning can be overriden and ignored using this parameter.
165+
163166
Any errors identified by the Page Diagnostic Tool will still always prevent a swap from being initiated regardless of this parameter.
164167
165168
```yaml

sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOUserInfo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Remove-SPOUserInfo -LoginName <String> -Site <SpoSitePipeBind> [<CommonParameter
2626

2727
Can be used to remove user from user information lists of the specific site collections.
2828

29-
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at <https://go.microsoft.com/fwlink/p/?LinkId=251832> (<https://go.microsoft.com/fwlink/p/?LinkId=251832).>
29+
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at [Intro to SharePoint Online Management Shell](https://docs.microsoft.com/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell?view=sharepoint-ps).
3030

3131
## EXAMPLES
3232

sharepoint/sharepoint-ps/sharepoint-online/Restore-SPODeletedSite.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Restore-SPODeletedSite -Identity <SpoSitePipeBind> [-NoWait] [<CommonParameters>
2626

2727
You must be a SharePoint Online administrator or Global Administrator and be a site collection administrator to run the cmdlet.
2828

29-
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at <https://go.microsoft.com/fwlink/p/?LinkId=251832> (<https://go.microsoft.com/fwlink/p/?LinkId=251832).>
29+
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at [Intro to SharePoint Online Management Shell](https://docs.microsoft.com/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell?view=sharepoint-ps).
3030

3131
## EXAMPLES
3232

teams/teams-ps/teams/New-CsBatchPolicyAssignmentOperation.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.reviewer:
1414

1515
**Note:** This cmdlet is currently in public preview.
1616

17-
This cmdlet is used to assign a policy to a batch of users.
17+
This cmdlet is used to assign or unassign a policy to a batch of users.
1818

1919
## SYNTAX
2020

@@ -35,22 +35,30 @@ CallingLineIdentity, ExternalAccessPolicy, OnlineVoiceRoutingPolicy, TeamsAppSet
3535
## EXAMPLES
3636

3737
### Example 1
38-
In this example, the batch of users is specified as an array of user email addresses.
38+
In this example, the batch of users is specified as an array of user SIP addresses.
3939

4040
```
4141
4242
New-CsBatchPolicyAssignmentOperation -PolicyType TeamsMeetingPolicy -PolicyName Kiosk -Identity $users_ids -OperationName "Batch assign Kiosk"
4343
```
4444

4545
### Example 2
46+
In this example, a policy is removed from a batch of users by passing $null as the policy name.
47+
48+
```
49+
$users_ids = @("2bdb15a9-2cf1-4b27-b2d5-fcc1d13eebc9", "d928e0fc-c957-4685-991b-c9e55a3534c7", "967cc9e4-4139-4057-9b84-1af80f4856fc")
50+
New-CsBatchPolicyAssignmentOperation -PolicyType TeamsMeetingPolicy -PolicyName $null -Identity $users_ids -OperationName "Batch unassign meeting policy"
51+
```
52+
53+
### Example 3
4654
In this example, the batch of users is read from a text file containing user object IDs (guids).
4755

4856
```
4957
$user_ids = Get-Content .\users_ids.txt
5058
New-CsBatchPolicyAssignmentOperation -PolicyType TeamsMeetingPolicy -PolicyName Kiosk -Identity $users_ids -OperationName "Batch assign Kiosk"
5159
```
5260

53-
### Example 3
61+
### Example 4
5462
In this example, the batch of users is obtained by connecting to Azure AD and retrieving a collection of users and then referencing their user principal names.
5563

5664
```
@@ -77,7 +85,7 @@ Accept wildcard characters: False
7785
```
7886
7987
### -PolicyName
80-
The name of the policy to be assigned to the users.
88+
The name of the policy to be assigned to the users. To remove the currently assigned policy, use $null or an empty string "".
8189
8290
```yaml
8391
Type: String

0 commit comments

Comments
 (0)