Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DistributionPointName does not support array #263

Open
HermanGB opened this issue May 19, 2022 · 1 comment
Open

DistributionPointName does not support array #263

HermanGB opened this issue May 19, 2022 · 1 comment
Assignees
Labels
doc-bug out of date, unclear, confusing, or broken

Comments

@HermanGB
Copy link

[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.

@aczechowski aczechowski self-assigned this Jun 1, 2022
@aczechowski aczechowski added the doc-bug out of date, unclear, confusing, or broken label Jun 1, 2022
@aczechowski
Copy link
Member

Thanks @HermanGB for the feedback. I've unfortunately found various instances where a description refers to an "array" when the parameter clearly doesn't support it. In this case, as you noted, since the type is String and not String[] then it only supports a single DP. I'm making updates for the 2203 content so I'll make this change.

FYI, we rely on community support from members like you to assist. You can submit an edit to the article to contribute. For more information, see How to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-bug out of date, unclear, confusing, or broken
Projects
None yet
Development

No branches or pull requests

2 participants