編輯

共用方式為


Get-CauDeviceInfoForFeatureUpdates

Retrieves device information for feature updates from a specified directory.

Syntax

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

Description

The Get-CauDeviceInfoForFeatureUpdates cmdlet retrieves device information for feature updates from a specified directory.

Examples

Example 1

$parameters = @{
ClusterName = "CONTOSO-FC1"
PathToDirectory = "C:\Updates" 
PathToDeploymentCab = "C:\Deployment\FeatureUpdate.cab"
}
Get-CauDeviceInfoForFeatureUpdates $parameters

This command retrieves device information for feature updates from the C:\Updates directory for the cluster named CONTOSO-FC1. It also specifies the path to the deployment cab file that will be created for the update in C:\Deployment\FeatureUpdate.cab.

Parameters

-ClusterName

Specifies the name of the cluster on which to create the CAU clustered role. This parameter is only required when this cmdlet isn't run on a failover cluster node, or this cmdlet is used to reference a failover cluster different from where the cmdlet is run.

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

-PathToDeploymentCab

Specifies the path to the deployment cab file that will be created for the update.

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

-PathToDirectory

Specifies the path to the directory that contains the device information files. This parameter is required.

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

Inputs

None

Outputs

String

Microsoft.ClusterAwareUpdating.ActivityIdMap