Windows 2008 unable to execute c# powershell app. Returning access exception.

Posted by scope-creep on Stack Overflow See other posts from Stack Overflow or by scope-creep
Published on 2009-06-28T15:06:47Z Indexed on 2010/05/09 21:48 UTC
Read the original article Hit count: 145

Hi,

Does anybody know why I can't access the folder where my powershell scripts are in windows 2008 Ent. When I try to create a script with textpad it craps out. When I try and execute a c# powershell app, which is stored on another win 2003 drive, it craps out with an access exception as well. I've set powershell execution policy to unrestricted for both normal users and admin users with 'run as admin' on powershell, but it doesn't seem to make a difference. There must be a policy setting, doesn't allow scripts access to a directory, but where, and how to set it.

Any help would be appreciated.
scope_creep

© Stack Overflow or respective owner

Related posts about c#

Related posts about powershell-v2.0