external help file | Module Name | online version | schema |
---|---|---|---|
Az.StackHCI-help.xml |
Az.StackHCI |
2.0.0 |
Enable-AzStackHCIAttestation configures the host and enables specified guests for IMDS attestation.
Enable-AzStackHCIAttestation [[-ComputerName] <String>] [-Credential <PSCredential>] [-AddVM] [-Force]
[-WhatIf] [-Confirm] [<CommonParameters>]
Enable-AzStackHCIAttestation configures the host and enables specified guests for IMDS attestation.
Enable-AzStackHCIAttestation -AddVM
ComputerName Status Expiration
------------ ------ ----------
HCINODE2 Expired
Invoking on one of the cluster node.
After enabling each cluster node for Attestation, add all guests on each node.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the AzureStack HCI host to perform the operation on. Note: this host should match the host of VMName.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the credential for the ComputerName. Default is the current user executing the Cmdlet.
Type: System.Management.Automation.PSCredential
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
No confirmations.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.