Skip to content

Commit

Permalink
Create How to create a Static User Collection
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaidja committed Jul 13, 2017
1 parent 63ec805 commit c6d57a9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions How to create a Static User Collection
@@ -0,0 +1,9 @@
$Arguments = @{
Name = "New User Collection";
Comment = "Made by PowerShell";
OwnedByThisSite = $True;
LimitToCollectionID = "SMS00002";
CollectionType = 1
}

Set-WmiInstance -Namespace 'Root\SMS\Site_PS1' -Class SMS_Collection -Arguments $Arguments

0 comments on commit c6d57a9

Please sign in to comment.