Files
Borealis-Github-Replica/Assemblies/Scripts/General Purpose/Ad_Hoc_Powershell_WIN.json

25 lines
926 B
JSON

{
"version": 1,
"name": "Ad-Hoc Powershell Command [WIN]",
"description": "Run an arbitrary powershell command (or series of commands) ad-hoc. Useful for a variety of tasks.",
"category": "script",
"type": "powershell",
"script": "IyBNb3ZlIGludG8gdGhlIGZvbGRlciBvZiB3aGVyZSB0aGlzIHNjcmlwdCBpcyBydW5uaW5nClNldC1Mb2NhdGlvbiAtUGF0aCAoU3BsaXQtUGF0aCAtUGFyZW50ICRQU0NvbW1hbmRQYXRoKQoKIyBSZXBvcnQgdGhlIGNvbW1hbmQgaXNzdWVkIHRvIHRoZSBTdGRPdXQKV3JpdGUtSG9zdCAiQ29tbWFuZCBFeGVjdXRlZDogJGVudjpjb21tYW5kIgoKIyBSdW4gdGhlIENvbW1hbmQKSW52b2tlLUV4cHJlc3Npb24gJGVudjpjb21tYW5kCg==",
"timeout_seconds": 3600,
"sites": {
"mode": "all",
"values": []
},
"variables": [
{
"name": "command",
"label": "Powershell Command",
"type": "string",
"default": "",
"required": true,
"description": "Command to invoke in Powershell"
}
],
"files": [],
"script_encoding": "base64"
}