Powershell versions - SM2016 & Run .Net Script
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
Answers
Got the runbook going now using: Get-ADGroupMember