Having Trouble with the 'new-adgroup' Command in PowerShell
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
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.
Reply to this answer
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.
untied laces: I donโt think the computer is AD joined; Iโve tried everything and Iโm at my wits end.