Execution Policy

Welcome Forums General PowerShell Q&A Execution Policy

This topic contains 1 reply, has 2 voices, and was last updated by

2 years ago.

  • Author
  • #77266

    Topics: 4
    Replies: 6
    Points: 0
    Rank: Member

    Hello PS folks,

    Want to clarify few things regarding Execution Policy. We use jump host (OS Win2012 R2) to manage client prod servers. On this, we only install client tools to connect and manage. Same applies to other client servers as well.

    If I have to run .ps1 scripts

      Do I need to set execution policy to "RemoteSigned" all client servers + jump box?

    for functions

      Do I have to install module (eg: DBATools) all client servers + jump box?
  • #77268

    Topics: 0
    Replies: 669
    Points: 0
    Rank: Member

    Any machine on which you need to run a script needs to have execution policy set to RemoteSigned or other setting that allows scripts to run

    You'll need to install any modules you want to use on the jump off server. if those tools need to be local to a machine to work then you'll need them on the appropriate machine. Compare remoting to RDPing into the remote server. If the tools aren't there you can't use them.

The topic ‘Execution Policy’ is closed to new replies.