Invoke-TransferAllWhiteboards
Transfer ownership of all whiteboards owned by a user to another user.
Syntax
Invoke-TransferAllWhiteboards
[-OldOwnerId] <Guid>
[-NewOwnerId] <Guid>
[-ForceAuthPrompt]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Transfer ownership of all whiteboards owned by a user to another user.
Examples
EXAMPLE 1
PS C:\>Invoke-TransferAllWhiteboards -OldOwnerId 00000000-0000-0000-0000-000000000001 -NewOwnerId 00000000-0000-0000-0000-000000000002 -WhatIf
Check how many whiteboards will be transferred without transferring them.
EXAMPLE 2
PS C:\>Invoke-TransferAllWhiteboards -OldOwnerId 00000000-0000-0000-0000-000000000001 -NewOwnerId 00000000-0000-0000-0000-000000000002
Transfer (and prompt before performing any write actions).
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Whiteboard |
-ForceAuthPrompt
Optional. Always prompt for auth. Use to ignore cached credentials.
Type: | SwitchParameter |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Whiteboard |
-NewOwnerId
The ID of the new owner.
Type: | Guid |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Whiteboard |
-OldOwnerId
The ID of the previous owner.
Type: | Guid |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Whiteboard |
-WhatIf
Execute the command without making any actual changes. Only calls read methods on the REST service.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Whiteboard |
Notes
For details on user IDs, see the overview page.