Edit

Share via


Get-AzStackHCIVMAttestation

Get-AzStackHCIVMAttestation shows a list of guests added to IMDS Attestation on a node.

Syntax

Default (Default)

Get-AzStackHCIVMAttestation
    [-Local]
    [<CommonParameters>]

Description

Get-AzStackHCIVMAttestation shows a list of guests added to IMDS Attestation on a node.

Examples

Example 1:

Get-AzStackHCIVMAttestation
Name        AttestationHost    Status
----        ---------------    ------
183hcinode1 HCINODE2        Connected
bhat2       HCINODE2        Connected
ppnt3n1     HCINODE2        Connected
ppt3n0      HCINODE2        Connected
ppt5pn0     HCINODE2        Connected
ppt6pn0     HCINODE2        Connected
ppt7pn0     HCINODE2        Connected

Get all guests with IMDS Attestation on cluster.

Example 2:

Get-AzStackHCIVMAttestation -Local
Name        AttestationHost    Status
----        ---------------    ------
183hcinode1 HCINODE2        Connected
bhat2       HCINODE2        Connected
ppnt3n1     HCINODE2        Connected
ppt3n0      HCINODE2        Connected
ppt5pn0     HCINODE2        Connected
ppt6pn0     HCINODE2        Connected
ppt7pn0     HCINODE2        Connected

Gets guests with Attestation from the node executing the cmdlet.

Parameters

-Local

Only retrieve guests with Attestation from the node executing the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

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

Outputs

PSObject