Get-CMDeviceCollection

SYNOPSIS

Načte jednu nebo více kolekcí zařízení v hierarchii Configuration Manager.

SYNTAX

ByName (výchozí)

Get-CMDeviceCollection [-Name <String>] [<CommonParameters>]

ById

Get-CMDeviceCollection -Id <String> [<CommonParameters>]

ByDPGroupName

Get-CMDeviceCollection -DistributionPointGroupName <String> [<CommonParameters>]

ByDPGroupId

Get-CMDeviceCollection -DistributionPointGroupId <String> [<CommonParameters>]

ByDPGroup

Get-CMDeviceCollection -DistributionPointGroup <IResultObject> [<CommonParameters>]

DESCRIPTION

Rutina Get-CMDeviceCollection Načte kolekce, které obsahují počítače nebo mobilní zařízení. Další informace o kolekcích najdete v tématu Úvod do kolekcí v Configuration Manager.

Poznámka

Použijte například rutiny Configuration Manager z Configuration Manager jednotky webu PS XYZ:\> . Další informace najdete v tématu Začínáme.

EXAMPLES

Příklad 1: získání kolekce zařízení pomocí ID

PS XYZ:\> Get-CMDeviceCollection -CollectionId "9990000D"

Tento příkaz načte kolekci zařízení s ID 9990000D.

PARAMETERS

-DistributionPointGroup

Type: IResultObject
Parameter Sets: ByDPGroup
Aliases:

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

-DistributionPointGroupId

Type: String
Parameter Sets: ByDPGroupId
Aliases:

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

-DistributionPointGroupName

Type: String
Parameter Sets: ByDPGroupName
Aliases:

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

– ID

Type: String
Parameter Sets: ById
Aliases: CollectionId

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

-Name

Type: String
Parameter Sets: ByName
Aliases:

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

CommonParameters

Tato rutina podporuje společné parametry: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction a -WarningVariable. Další informace najdete v tématu about_CommonParameters.

INPUTS

Žádná

OUTPUTS

System.Object

POZNÁMKY

Seznámení s kolekcemi v Configuration Manager

New-CMDeviceCollection