Added Ad-Hoc Powershell Command Assembly

This commit is contained in:
2025-10-04 03:01:28 -06:00
parent 5cafd72942
commit 1e1cf3ed18

View File

@@ -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"
}