Skip to content

Not an issue! #1

@sibeyzoran

Description

@sibeyzoran

Hey man not an issue but i didn't know how else to reach out to you!

I really enjoyed your video and found it very helpful in my own use case however I was wondering if you knew how to set the execution policy for the powershell instance? I tried:

_ps.AddCommand("Set-ExecutionPolicy").AddParameter("ExecutionPolicy", "Unrestricted").AddParameter("scope","LocalMachine").Invoke();

But am receiving "AuthorizationManager check failed." as an error still :( I'm also running the C# program as an Administrator

Any ideas? Or have you moved past this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions