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?
2 Answers
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.
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.

I don’t think the computer is AD joined; I’ve tried everything and I’m at my wits end.