Editar

Compartir a través de


Set-WhiteboardOwner

Sets the owner for a whiteboard.

Syntax

Set-WhiteboardOwner
   [-WhiteboardId] <Guid>
   [-OldOwnerId] <Guid>
   [-NewOwnerId] <Guid>
   [-ForceAuthPrompt]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Sets the owner for a whiteboard.

Examples

EXAMPLE 1

PS C:\>Set-WhiteboardOwner -OldOwnerId 00000000-0000-0000-0000-000000000001 -NewOwnerId 00000000-0000-0000-0000-000000000002 -WhiteboardId 00000000-0000-0000-0000-000000000003

Move whiteboard ownership from one user to another.

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:3
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:2
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Whiteboard

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Whiteboard

-WhiteboardId

The whiteboard for which the owner is being changed.

Type:Guid
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Whiteboard

Notes

For details on user IDs, see the overview page.