Skip to content

Latest commit

 

History

History
216 lines (165 loc) · 4.78 KB

Get-DPGroupContent.md

File metadata and controls

216 lines (165 loc) · 4.78 KB
external help file Module Name online version schema
PSCMContentMgmt-help.xml
PSCMContentMgmt
2.0.0

Get-DPGroupContent

SYNOPSIS

Get all content distributed to a given distribution point group.

SYNTAX

Get-DPGroupContent [-DistributionPointGroup] <String[]> [-Package] [-DriverPackage] [-DeploymentPackage]
 [-OperatingSystemImage] [-OperatingSystemInstaller] [-BootImage] [-Application] [[-SiteServer] <String>]
 [[-SiteCode] <String>] [<CommonParameters>]

DESCRIPTION

Get all content distributed to a given distribution point group.

By default this function returns all content object types that match the given distribution point group in the SMS_DPGroupContentInfo class on the site server.

You can filter the content objects by cumulatively using the available switches, e.g. using -Package -DriverPackage will return packages and driver packages.

Properties returned are: ObjectName, Description, ObjectType, ObjectID, SourceSize, DistributionPoint.

EXAMPLES

EXAMPLE 1

Get-DPGroupContent -DistributionPointGroup "Asia DPs" -Package -Application

Return all packages and applications found in the distribution point group "Asia DPs"

EXAMPLE 2

Get-DPGroup -Name "All DPs" | Get-DPGroupContent

Get all the content associated with the distribution point group "All DPs".

PARAMETERS

-DistributionPointGroup

Name of distribution point group you want to query.

Type: String[]
Parameter Sets: (All)
Aliases: Name

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Package

Filter on packages

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-DriverPackage

Filter on driver packages

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-DeploymentPackage

Filter on deployment packages

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-OperatingSystemImage

Filter on Operating System images

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-OperatingSystemInstaller

Filter on Operating System upgrade images

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-BootImage

Filter on boot images

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Application

Filter on applications

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-SiteServer

FQDN address of the site server (SMS Provider).

You only need to use this parameter once for any function of PSCMContentMgmt that also has a -SiteServer parameter. PSCMContentMgmt remembers the site server for subsequent commands, unless you specify the parameter again to change site server.

Type: String
Parameter Sets: (All)
Aliases:

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

-SiteCode

Site code of which the server specified by -SiteServer belongs to.

You only need to use this parameter once for any function of PSCMContentMgmt that also has a -SiteCode parameter. PSCMContentMgmt remembers the site code for subsequent commands, unless you specify the parameter again to change site code.

Type: String
Parameter Sets: (All)
Aliases:

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String[]

OUTPUTS

System.Management.Automation.PSObject

NOTES

RELATED LINKS