Skip to content

Instantly share code, notes, and snippets.

@lukemurraynz
Created July 18, 2021 06:34
Show Gist options
  • Select an option

  • Save lukemurraynz/40968df6a8abd455e252f9d045ba9290 to your computer and use it in GitHub Desktop.

Select an option

Save lukemurraynz/40968df6a8abd455e252f9d045ba9290 to your computer and use it in GitHub Desktop.
config.json
{
"Title": "Luke Web Automation",
"defaultcommandid": "overview",
"basepath": "C:\\WebJEA\\scripts",
"LogParameters": true,
"permittedgroups": [".\\Administrators", "luke.geek.nz\\WebJEAAdmins"],
"commands": [
{
"id": "overview",
"displayname": "Overview",
"synopsis": "Congratulations, WebJEA is now working! We've pre-loaded a demo script that will help you verify everything is working. <br/><i>Tip: You can use the synopsis property of default command to display any text you want. Including html.</i>",
"permittedgroups": [".\\Administrators"],
"script": "validate.ps1",
"onloadscript": "overview.ps1"
},
{
"id": "StartStopAzVM",
"displayname": "StartStop-AzVM",
"synopsis": "Starts or Stops Azure Based VMs",
"permittedgroups": [".\\Administrators", "luke.geek.nz\\WebJEAAdmins"],
"script": "Set-VM.ps1",
"onloadscript": "Get-VM.ps1"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment