Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- powershell "([ADSISEARCHER]"samaccountname=$($env:USERNAME)").Findone().Properties.memberof -replace '^CN=([^,]+).+$','$1'"
- RunProcess[$SystemShell,
- "StandardOutput",
- "powershell ([ADSISEARCHER]"samaccountname=$($env:USERNAME)").Findone().Properties.memberof"]
- RunProcess[$SystemShell,
- "StandardOutput",
- "whoami /groups"]
- RunProcess[{"whoami", "/groups"}, "StandardOutput"]
- RunProcess[{"powershell", "Get-Help"}, "StandardOutput"]
- RunProcess[$SystemShell, "StandardOutput", "powershell Get-Help"]
- ReadList["!powershell Get-Help", String]
- RunProcess[{"gpresult", "/r", "/scope:user"}, "StandardOutput"]
Add Comment
Please, Sign In to add comment