Having Trouble with the ‘new-adgroup’ Command in PowerShell

0
10
Asked By TechWhiz23 On

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

Answered By GadgetGuru88 On

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.

Answered By CodeNinja7 On

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.

TechWhiz23 -

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

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.