你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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