Remove-AzStackHCIVMAttestation
Remove-AzStackHCIVMAttestation removes guests from AzureStack HCI IMDS Attestation.
Syntax
Remove-AzStackHCIVMAttestation
[-VMName] <String[]>
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-AzStackHCIVMAttestation
[-Force]
[-VM] <Object[]>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-AzStackHCIVMAttestation
[-Force]
[-RemoveAll]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Remove-AzStackHCIVMAttestation removes guests from AzureStack HCI IMDS Attestation.
Examples
Example 1:
Remove-AzStackHCIVMAttestation -RemoveAll
Name AttestationHost Status
---- --------------- ------
183hcinode1 HCINODE2 Disconnected
bhat2 HCINODE2 Disconnected
ppnt3n1 HCINODE2 Disconnected
ppt3n0 HCINODE2 Disconnected
ppt5pn0 HCINODE2 Disconnected
ppt6pn0 HCINODE2 Disconnected
ppt7pn0 HCINODE2 Disconnected
Removing all guests on current node
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 |
-Force
No confirmations.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RemoveAll
Specifies a switch that will remove all guest VMs from Attestation on the current node
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VM
Specifies an array of VM objects from Get-VM.
Type: | Object[] |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-VMName
Specifies an array of guest VMs to enable.
Type: | String[] |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-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 |
Inputs
Object[]
String[]
Outputs
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure PowerShell