|
| 1 | +--- |
| 2 | +external help file: Microsoft.Whiteboard.PowerShell.Custom.dll-Help.xml |
| 3 | +Module Name: MicrosoftWhiteboard |
| 4 | +applicable: Microsoft Whiteboard |
| 5 | +title: Set-WhiteboardOwner |
| 6 | +online version: |
| 7 | +schema: 2.0.0 |
| 8 | +--- |
| 9 | + |
| 10 | +# Invoke-TransferAllWhiteboards |
| 11 | + |
| 12 | +## SYNOPSIS |
| 13 | + |
| 14 | +Transfer ownership of all Whiteboards owned by a user to another user. |
| 15 | + |
| 16 | +## SYNTAX |
| 17 | + |
| 18 | +``` |
| 19 | +Invoke-TransferAllWhiteboards [[-Token] <AuthenticationResult>] [-OwnerId] <Guid> [-NewOwnerId] <Guid> [-WhatIf] [-Confirm] [<CommonParameters>] |
| 20 | +``` |
| 21 | + |
| 22 | +## PARAMETERS |
| 23 | + |
| 24 | +### -Token |
| 25 | + |
| 26 | +The Azure AD bearer token corresponding to the specified credentials. If unspecified, a new token will be generated. |
| 27 | + |
| 28 | +```yaml |
| 29 | +Type: Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationResult |
| 30 | +Required: false |
| 31 | +Position: 1 |
| 32 | +Default value: None |
| 33 | +Accept pipeline input: false |
| 34 | +Accept wildcard characters: false |
| 35 | +``` |
| 36 | +
|
| 37 | +### -OldOwnerId |
| 38 | +
|
| 39 | +The ID of the previous owner. |
| 40 | +
|
| 41 | +```yaml |
| 42 | +Type: Guid |
| 43 | +Required: true |
| 44 | +Position: 3 |
| 45 | +Default value: None |
| 46 | +Accept pipeline input: false |
| 47 | +Accept wildcard characters: false |
| 48 | +``` |
| 49 | +
|
| 50 | +### -NewOwnerId |
| 51 | +
|
| 52 | +The ID of the new owner. |
| 53 | +
|
| 54 | +```yaml |
| 55 | +Type: Guid |
| 56 | +Required: true |
| 57 | +Position: 4 |
| 58 | +Default value: None |
| 59 | +Accept pipeline input: false |
| 60 | +Accept wildcard characters: false |
| 61 | +``` |
| 62 | +
|
| 63 | +### -WhatIf |
| 64 | +
|
| 65 | +```yaml |
| 66 | +Type: SwitchParameter |
| 67 | +Required: false |
| 68 | +Position: named |
| 69 | +Default value: None |
| 70 | +Accept pipeline input: false |
| 71 | +Accept wildcard characters: false |
| 72 | +``` |
| 73 | +
|
| 74 | +### -Confirm [<SwitchParameter>] |
| 75 | +
|
| 76 | +```yaml |
| 77 | +Type: SwitchParameter |
| 78 | +Required: false |
| 79 | +Position: named |
| 80 | +Default value: None |
| 81 | +Accept pipeline input: false |
| 82 | +Accept wildcard characters: false |
| 83 | +``` |
| 84 | +
|
| 85 | +## EXAMPLES |
| 86 | +
|
| 87 | +### -------------------------- EXAMPLE 1 -------------------------- |
| 88 | +
|
| 89 | +``` |
| 90 | +PS C:\>Invoke-TransferAllWhiteboards -OldOwnerId 00000000-0000-0000-0000-000000000001 -NewOwnerId 00000000-0000-0000-0000-000000000002 -WhatIf |
| 91 | +``` |
| 92 | + |
| 93 | +Check how many Whiteboards will be transferred without transferring them. |
| 94 | + |
| 95 | +### -------------------------- EXAMPLE 2 -------------------------- |
| 96 | + |
| 97 | +``` |
| 98 | +PS C:\>Invoke-TransferAllWhiteboards -OldOwnerId 00000000-0000-0000-0000-000000000001 -NewOwnerId 00000000-0000-0000-0000-000000000002 |
| 99 | +``` |
| 100 | + |
| 101 | +Transfer (and prompt before performing any write actions). |
0 commit comments