When i start ISE as admin i run this code:
$Domain = “contoso.com”
Get-ADGroup -Identity “Contoso-Windows” -server $Domain
It does not give any results.
When i start ISE normally and run:
$Domain = “contoso.com”
Get-ADGroup -Identity “Contoso-Windows” -server $Domain
It gives me back the group name and its properties.
Any one else with this problem? Or with a fix?