Skip to content

Instantly share code, notes, and snippets.

@fenneh

fenneh/PSBypass.bat

Created May 28, 2012
Embed
What would you like to do?
Run a powershell script from UNC path
Powershell.exe -ExecutionPolicy Bypass -file \\my.domain.share\netlogon\Scripts\InstallPonies.ps1
@derekslenk

This comment has been minimized.

Copy link

@derekslenk derekslenk commented Jan 3, 2020

This doesn't actually work FWIW

@fenneh

This comment has been minimized.

Copy link
Owner Author

@fenneh fenneh commented Jan 28, 2020

This doesn't actually work FWIW

It's 8 years old - pretty sure it used to :) Not had to do it for a long time.

@derekslenk

This comment has been minimized.

Copy link

@derekslenk derekslenk commented Jan 29, 2020

I actually think it might more be AD GP than anything...it was a cluster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.