Skip to content

Instantly share code, notes, and snippets.

@scottd3v
Created October 18, 2018 15:46
Show Gist options
  • Select an option

  • Save scottd3v/f25fddc1b767be6de8d27bbd05b6c694 to your computer and use it in GitHub Desktop.

Select an option

Save scottd3v/f25fddc1b767be6de8d27bbd05b6c694 to your computer and use it in GitHub Desktop.
$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