Skip to content

Commit

Permalink
Create How to add a Package to Distribution Point Group
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaidja committed Jul 14, 2017
1 parent b2fbdb0 commit c0c6d06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions How to add a Package to Distribution Point Group
@@ -0,0 +1,4 @@
$PackageID = 'PR100005'
$DistributionPointGroup = 'New Distribution Group'
$DPGroupQuery = Get-WmiObject -Namespace "Root\SMS\Site_PS1" -Class 'SMS_DistributionPointGroup' -Filter "Name='$DistributionPointGroup'"
$DPGroupQuery.AddPackages($PackageID)

0 comments on commit c0c6d06

Please sign in to comment.