Dela via


Get-CMPhase

SYNOPSIS

Använd den här cmdleten för att hämta en distributionsfasen för en specifik instans eller en fasad distribution.

SYNTAX

SearchByPhasedDeployment

Get-CMPhase [-Collection <IResultObject>] [-CollectionId <String>] [-CollectionName <String>] [-Id <String>]
 [-InputObject] <IResultObject> [-Name <String>] [-Order <Int32>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [<CommonParameters>]

SearchByPhasedDeploymentId

Get-CMPhase [-Collection <IResultObject>] [-CollectionId <String>] [-CollectionName <String>] [-Id <String>]
 [-Name <String>] [-Order <Int32>] [-PhasedDeploymentId] <String> [-DisableWildcardHandling]
 [-ForceWildcardHandling] [<CommonParameters>]

SearchByPhasedDeploymentName

Get-CMPhase [-Collection <IResultObject>] [-CollectionId <String>] [-CollectionName <String>] [-Id <String>]
 [-Name <String>] [-Order <Int32>] [-PhasedDeploymentName] <String> [-DisableWildcardHandling]
 [-ForceWildcardHandling] [<CommonParameters>]

DESCRIPTION

Från och med version 2002 använder du den här cmdleten för att hämta en distributionsfasen för en specifik instans eller en fasad distribution.

EXAMPLES

Exempel 1: Hämta fas efter ID

Det här exemplet hämtar fasen efter dess ID.

Get-CMPhase -Id "66DEDF86-D0CB-457D-88BE-47E3FAC92A47"

PARAMETERS

-Samling

Ange ett samlingsobjekt för fasen.

Type: IResultObject
Parameter Sets: (All)
Aliases:

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

-CollectionId

Ange en samling efter ID för fasen.

Type: String
Parameter Sets: (All)
Aliases:

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

-CollectionName

Ange en samling efter namn för fasen.

Type: String
Parameter Sets: (All)
Aliases:

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

-DisableWildcardHandling

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-ForceWildcardHandling

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Id

Ange ID för fasen.

Type: String
Parameter Sets: (All)
Aliases: PhaseId

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

-InputObject

Ange det fasfasade distributionsobjektet för fasen.

Type: IResultObject
Parameter Sets: SearchByPhasedDeployment
Aliases: PhasedDeployment

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Name

Ange namnet på den fasfasade distributionen.

Type: String
Parameter Sets: (All)
Aliases: PhaseName

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

-Order

Ange ett heltalsvärde för fasens ordning.

Type: Int32
Parameter Sets: (All)
Aliases: PhaseOrder

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

-PhasedDeploymentId

Ange ID för den fasfasade distributionen.

Type: String
Parameter Sets: SearchByPhasedDeploymentId
Aliases:

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

-PhasedDeploymentName

Ange namnet på den fasfasade distributionen.

Type: String
Parameter Sets: SearchByPhasedDeploymentName
Aliases:

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

CommonParameters

Denna cmdlet har stöd för parametrarna -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction och -WarningVariable. Mer information finns i about_CommonParameters.

INPUTS

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

OUTPUTS

Microsoft.ConfigurationManager.PhasedDeploymentModel.Phase

ANTECKNINGAR

Skapa fasdistributioner