Open
Description
[Enter feedback here]
Hi,
"Specifies an array of names of distribution points" andtype is string.
I have tried all sort's of array's and is unable to make this work.
Example:
This works:
Get-CMDeploymentPackage -DeploymentPackageName "BIOS Update - Lenovo ThinkStation P340" -DistributionPointName "DP1"
This does not work:
Array's tried =
DP1,DP2
"DP1,DP2"
'DP1,DP2'
"'DP1,'DP2'"
$DPs = @("DP1,DP2")
Get-CMDeploymentPackage -DeploymentPackageName "BIOS Update - Lenovo ThinkStation P340" -DistributionPointName Array
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: ca35d348-c85d-05cd-b807-370ac1ef0a8d
- Version Independent ID: fd865dcd-6766-14ca-445f-72ffc3987904
- Content: Get-CMDeploymentPackage (ConfigurationManager) - Configuration Manager
- Content Source: sccm-ps/ConfigurationManager/Get-CMDeploymentPackage.md
- Product: configuration-manager
- Technology: configmgr-other
- GitHub Login: @aczechowski
- Microsoft Alias: aaroncz