編輯

共用方式為


Remove-Whiteboard

Deletes the specified whiteboard for the given user from the Microsoft Whiteboard service. If the user is the owner of the whiteboard, the entire whiteboard will be deleted. If the user has joined the whiteboard but does not own it, they will be removed and the whiteboard will still be accessible by others.

Syntax

Remove-Whiteboard
      [-UserId] <Guid>
      [-WhiteboardId] <Guid>
      [-ForceAuthPrompt]
      [<CommonParameters>]

Description

Removes the specified whiteboard (owner) or a joined user removes themselves from the specified whiteboard.

Examples

EXAMPLE 1

Remove-Whiteboard -UserId 00000000-0000-0000-0000-000000000001 -WhiteboardId 00000000-0000-0000-0000-000000000002

Deletes the whiteboard.

Parameters

-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

-UserId

The ID of the user account to delete the whiteboard from.

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

-WhiteboardId

The ID of a specific whiteboard to delete.

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