Created
October 18, 2018 15:46
-
-
Save scottd3v/f25fddc1b767be6de8d27bbd05b6c694 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $UserGroups = @( | |
| "All Users", | |
| "Default Admin", | |
| "Developers", | |
| "Sales", | |
| "Accounting" | |
| ) | |
| $UserGroups | % { New-JCUserGroup -GroupName $_} | |
| $SystemGroups = @( | |
| "All Systems", | |
| "Mac Systems", | |
| "Linux Systems", | |
| "Windows Systems" | |
| ) | |
| $SystemGroups | % { New-JCSystemGroup -GroupName $_} | |
| $Commands = @( | |
| "https://git.io/jccg-Linux-ListAllUsers", | |
| "https://git.io/jccg-Linux-Pulljcagent.log", | |
| "https://git.io/jccg-Mac-GetLoggedInUsers", | |
| "https://git.io/jccg-Mac-ListAllUsers", | |
| "https://git.io/jccg-Mac-Pulljcagent.log", | |
| "https://git.io/jccg-mac-sendnotificationmessage", | |
| "https://git.io/fxUDb", | |
| "https://git.io/jccg-windows-64-bitcommand", | |
| "https://git.io/jccg-windows-64-bitmultilinecommand", | |
| "https://git.io/jccg-windows-appxremovalstartupscript", | |
| "https://git.io/jccg-Windows-GetJCagent.log", | |
| "https://git.io/jccg-windows-getosnameandversion", | |
| "https://git.io/jccg-Windows-ListAllUsers", | |
| "https://git.io/jccg-windows-sendnotificationmessage") | |
| $Commands = $Commands | % {Import-JCCommand -URL $_} | |
| Write-Host "`nCreated $($Commands.Count) commands" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment