external help file | Module Name | online version | schema |
---|---|---|---|
PSCMContentMgmt-help.xml |
PSCMContentMgmt |
2.0.0 |
Find distribution point(s) by name. If nothing is returned, no match was found. % wildcard accepted.
Get-DP [[-Name] <String[]>] [[-Exclude] <String[]>] [[-SiteServer] <String>] [[-SiteCode] <String>]
[<CommonParameters>]
Find distribution point(s) by name. If nothing is returned, no match was found. % wildcard accepted.
Get-DP
Return all disttribution points within the site.
Get-DP -Name "SERVERA%", "SERVERB%" -Exclude "%CMG%"
Return distribution points which have a ServerName property starting with SERVERA or SERVERB, but excluding any that match CMG anywhere in its name.
Get-DP | Get-DPDistributionStatus -DistributionFailed | Group-Object -Property Name
Return all distribution points, their associated failed distribution tasks and group the results by distribution point now for an overview.
Get-DP -Name "London%" | Get-DPContent
Return all content objects found on distribution points where their ServerName starts with "London".
Name of distribution point(s) you want to search for. This does not have to be an exact match of how it appears in Configuration Manager (usually FQDN), you can leverage the % wildcard character.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Name of distribution point(s) you want to exclude from the search. This does not have to be an exact match of how it appears in Configuration Manager (usually FQDN), you can leverage the % wildcard character.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
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: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
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: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.