編集

次の方法で共有


Get-AzStackHCIVMAttestation

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

Syntax

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.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

PSObject