Invoke-TransferAllWhiteboards

Transfer ownership of all Whiteboards owned by a user to another user.

Syntax

Invoke-TransferAllWhiteboards
      [[-Token] <AuthenticationResult>]
      [-OwnerId] <Guid>
      [-NewOwnerId] <Guid>
      [-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).

Required Parameters

-NewOwnerId

The ID of the new owner.

Type:Guid
Position:4
Default value:None
Accept pipeline input:false
Accept wildcard characters:False
-OldOwnerId

The ID of the previous owner.

Type:Guid
Position:3
Default value:None
Accept pipeline input:false
Accept wildcard characters:False

Optional Parameters

-Confirm [<SwitchParameter>]
Type:SwitchParameter
Position:named
Default value:None
Accept pipeline input:false
Accept wildcard characters:False
-ForceAuthPrompt

Optional. Always prompt for auth. Use to ignore cached credentials.

Type:SwitchParameter
Position:named
Default value:false
Accept pipeline input:false
Accept wildcard characters:False
-Token

The Azure AD bearer token corresponding to the specified credentials. If unspecified, a new token will be generated.

Type:Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationResult
Position:1
Default value:None
Accept pipeline input:false
Accept wildcard characters:False
-WhatIf
Type:SwitchParameter
Position:named
Default value:None
Accept pipeline input:false
Accept wildcard characters:False

Inputs

None

Outputs

System.Object

Notes

For details on user IDs, see the overview page.