Hello all
I have an issue when I run a script on a Server 2012 box with PowerShell v3.0. I have scripts that I developed in PSv2/2008R2 that run just fine when I call to my PS1 from a batch file that elevates my Execution Policy.
Either 2012 OR PSv3 is requiring that now, I run my script by doing a "RunAs administrator" to function properly. I know how to do that through the GUI (Right click the PS icon and selecting RunAs Administrator), but I really need to have that handled by either my batch file OR have PowerShell elevate itself in the script.
I have used my online research tools (google) and have really come up with nothing.
Can someone please help?