Edit

Share via


Get-CauDeviceInfoForFeatureUpdates

Retrieves device information for feature updates from a specified directory.

Syntax

Default (Default)

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.

Parameter properties

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

Parameter sets

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

-Credential

Specifies the administrative credentials for the target cluster.

Parameter properties

Type:PSCredential
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

-PathToDeploymentCab

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

Parameter properties

Type:String
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

-PathToDirectory

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

Parameter properties

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

Parameter sets

(All)
Position:Named
Mandatory:True
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.

Inputs

None

Outputs

String

Microsoft.ClusterAwareUpdating.ActivityIdMap