Open steviecoaster opened 6 years ago
-scriptblock {} - checks remote execution of powershell status on a server (execution policy, and remote execution settings) (prob a cmd regedit temp fix), allows remote execution, then reestablishes the original status to the server.
Idea credit: Reddit user /u/ElBoracho
Changing the name of this to Set-RemoteExecutionPolicy. Elevation doesn't reflect what the function will actually do.
Added here: bec3a95
This is a very beta implementation, no testing has been done yet.
-scriptblock {} - checks remote execution of powershell status on a server (execution policy, and remote execution settings) (prob a cmd regedit temp fix), allows remote execution, then reestablishes the original status to the server.
Idea credit: Reddit user /u/ElBoracho