diff --git a/Assemblies/Scripts/General Purpose/Ad_Hoc_Powershell_WIN.json b/Assemblies/Scripts/General Purpose/Ad_Hoc_Powershell_WIN.json new file mode 100644 index 0000000..9be293c --- /dev/null +++ b/Assemblies/Scripts/General Purpose/Ad_Hoc_Powershell_WIN.json @@ -0,0 +1,25 @@ +{ + "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" +} \ No newline at end of file