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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.