Welcome › Forums › General PowerShell Q&A › Unable to Find a Default Server With Active Directory Web Services Running
This topic contains 2 replies, has 3 voices, and was last updated by
I am using window server 2016. I get this error every-time "Unable to Find a Default Server With Active Directory Web Services Running" when i run the the following command and other get-commands like Get-ADComputer, Get-ADgroupmember.
Get-ADUser -Filter * -Property * | Select-Object Name | Export-CSV D:\Users\file.csv -NoTypeInformation -Encoding UTF8
Any idea please how can i get rid of this error and execute my command.
Are you executing it in a DC ? make sure the ADWS service is running in the DC. if from a member server, make sure its joined to domain.
Try the following Steps:
Then try again.
You must be logged in to reply to this topic.