GPO running AD Powershell Scripts on Win7 clients

Welcome Forums General PowerShell Q&A GPO running AD Powershell Scripts on Win7 clients

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

 
Keymaster
2 years, 5 months ago.

  • Author
    Posts
  • #38950

    Participant
    Points: 0
    Rank: Member

    I have a script that is trying to get-aduser but I keep getting the term is not recognized as a cmdlet. I understand why but how can I get around this. Can I import it from a server? Can I do Implicit Remoting to run the GPO? Can I use adsisearcher instead?

  • #38951

    Keymaster
    Points: 7
    Rank: Member

    You can implicitly remoting it IF the user running the script has authority to remote into the server containing the module. You could also just do an Invoke-Command under the same conditions. Or, install the RSAT, which contains the module.

The topic ‘GPO running AD Powershell Scripts on Win7 clients’ is closed to new replies.