Home Orchestrator

Powershell versions - SM2016 & Run .Net Script

Sean_TerrySean_Terry Customer Advanced IT Monkey ✭✭✭
I have a runbook that worked fine in 2012 and now in the new 2016 environment it doesn't. The powershell doesn't pick up the members of the associated AD group.

I can see that the Powershell versions of the runbook server has changed from 4 to 5.1 (and that .Net Script runs 2.0). 

As I'm learning most of this still I'm looking to find out if there is a simple solution? I've read about RSAT for windows10 but I am unsure if this will help with the powershell below?

$members = Powershell {Import-Module ActiveDirectory
$members = (Get-ADGroupMember -Identity "\`d.T.~Ed/{BECBDA81-A014-4F3B-A7C1-18749B01CFE1}.Common Name\`d.T.~Ed/" -Recursive)
return $members}


  • Brian_WiestBrian_Wiest Customer Super IT Monkey ✭✭✭✭✭
    What do you get if you run the PS manually on the SCORCH box?

  • Sean_TerrySean_Terry Customer Advanced IT Monkey ✭✭✭
    It's ok now. Just ran: Add-WindowsFeature RSAT-AD-PowerShell

    Got the runbook going now using: Get-ADGroupMember
Sign In or Register to comment.