Skip to content

Latest commit

 

History

History
144 lines (110 loc) · 2.96 KB

Enable-AzStackHCIAttestation.md

File metadata and controls

144 lines (110 loc) · 2.96 KB
external help file Module Name online version schema
Az.StackHCI-help.xml
Az.StackHCI
2.0.0

Enable-AzStackHCIAttestation

SYNOPSIS

Enable-AzStackHCIAttestation configures the host and enables specified guests for IMDS attestation.

SYNTAX

Enable-AzStackHCIAttestation [[-ComputerName] <String>] [-Credential <PSCredential>] [-AddVM] [-Force]
 [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Enable-AzStackHCIAttestation configures the host and enables specified guests for IMDS attestation.

EXAMPLES

Example 1:

Enable-AzStackHCIAttestation -AddVM
ComputerName  Status Expiration
------------  ------ ----------
HCINODE2     Expired

Invoking on one of the cluster node.

PARAMETERS

-AddVM

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

-ComputerName

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

-Credential

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

-Force

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

-Confirm

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

-WhatIf

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Management.Automation.PSObject

NOTES

RELATED LINKS