Having Trouble with the 'new-adgroup' Command in PowerShell

March 1, 2026 2 answers
Asked by untied laces
I'm currently studying Information Technology and Networking in college and I'm running into a problem with a PowerShell command. I need to use the command 'new-adgroup -name "IT_Interns" -groupcategory security -groupscope global', but when I execute it, I get an error saying 'Unable to find a default server with Active Directory Web Services running.' My teacher asked me what specific PowerShell command I'm using, but I'm not sure how to explain it. Can anyone help clarify what's going wrong?

Answers

flight.delayed.
Have you checked if your Active Directory Web Services are running? If they aren't, you need to start them to use the 'new-adgroup' command effectively. This command requires a connection to AD services.

untied laces: I donโ€™t think the computer is AD joined; Iโ€™ve tried everything and Iโ€™m at my wits end.

Reply to this answer
glaze_Test
First, make sure the computer you're using is actually joined to the Active Directory. If it's not, that could be the main reason you're encountering this error.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions