From the course: Advanced PowerShell: Automating Active Directory Administration
Unlock the full course today
Join today to access over 24,600 courses taught by industry experts.
Managing computers
From the course: Advanced PowerShell: Automating Active Directory Administration
Managing computers
- [Narrator] We can create a new computer in Active Directory and then join that computer to Active Directory from the client. Or, we can join a computer to Active Directory from the client itself, and then we'll auto-create the account in Active Directory. In this demo, I'm going to create the account in Active Directory, because this allows me to set up additional parameters prior to the computer joining the domain. And the first computer I'm going to add is going to be called Client02. So, I'm going to paste in the command, and it's a very simple cmdlet. It's just New-Computer-Name, followed by the name of that particular computer. I'm going to put that computer in quotes, so you see that lights up in blue, which is exactly what I want. So, even if you don't have any spaces in between characters, it's still a good idea to put them in quotes, so PowerShell and Active Directory understand what it is you're trying to…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.