編輯

共用方式為


Get-CauDeviceInfoForFeatureUpdates

Gets device information for feature updates to use with CAU.

Syntax

Get-CauDeviceInfoForFeatureUpdates
   [[-ClusterName] <String>]
   [-Credential <PSCredential>]
   -PathToDirectory <String>
   [<CommonParameters>]

Description

The Get-CauDeviceInfoForFeatureUpdates cmdlet gets device information for feature updates to use with Cluster-Aware Updating (CAU).

Examples

Example 1: Get device information

$Parameters = @{
    ClusterName = 'CONTOSO-FC1'
    PathToDirectory = 'C:\temp\contoso-device-info'
}
Get-CauDeviceInfoForFeatureUpdates $Parameters

This example gets device information for CAU for the specified cluster. This example uses splatting to pass parameter values from the $Parameters variable to the command. Learn more about Splatting.

Parameters

-ClusterName

Specifies the name of the cluster fow which to get device information.

Type:String
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Credential

Specifies the administrative credentials for the target cluster.

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

-PathToDirectory

Specifies a directory.

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

Inputs

None

Outputs

String

Microsoft.ClusterAwareUpdating.ActivityIdMap