GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - 1RedOne/DSC_OneClick-DomainController: A simpler approach to a one-click Domain Controller

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
postImg
postImg
 
 
xActiveDirectory
xActiveDirectory
 
 
xComputerManagement
xComputerManagement
 
 
xDhcpServer
xDhcpServer
 
 
xNetworking
xNetworking
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
Foxdeploy_FOX.png
Foxdeploy_FOX.png
 
 
OneClickDC.ps1
OneClickDC.ps1
 
 
readme.md
readme.md
 
 

Repository files navigation

IntroToDsc

This post is part of the Learning PowerShell DSC Series, here on FoxDeploy. Click the banner to return to the series jump page!


I've been pointing people here for a while now, and noticed that my instructions were not 100% accurate, plus I was sending people all over the web to download the needed files to build a Domain Controller using DSC. So, in this post, I'll provide much simpler instructions to deploying a one-click domain controller.

  • First and foremost, download a .zip of the full repo here
  • Now, make sure you have a Windows Server machine ready, running WMF 5.0. If you need it, download it here
  • Next, extract this to your new Domain Controller to be, under C:\temp.
  • Copy all of the x$ModuleName folders into $env:ProgramFiles\WindowsPowerShell\Modules on your VM
  • From an Administrative PowerShell prompt, run: dir -recurse -path $env:ProgramFiles\WindowsPowerShell\Modules | Unblock-File to unblock all files downloaded

Now, simply launch OneClickDSC.ps1 in PowerShell, and click the Play button (or hit F5), to launch the GUI

IntroToDsc

Now, type in the password of the first domain admin to be created.

IntroToDsc

First step for application, is to change the computer's name. This requires a reboot. So...reboot.

IntroToDsc

On restart, we can run the following commands to watch the rest of the DSC Application #Pause the last application Stop-DSCConfiguration -Force #Resume so we can watch it Start-DscConfiguration -ComputerName localhost -Wait -Force -Verbose -UseExisting

Now, if you diverged from using my copy of the DSC resources, you may run into an error, specifically w/ the computername module, around specifying a name for a Computer, without specifying a domain name. This is an open issue in GitHub right now, so hopefully the problem will be resolved soon, but for now, the copy you'll get w/ this blog post has the proposed fix to the issue.

And...we're done when we see this screen!

IntroToDsc

So, I hope this clears up the questions people were asking about how to use this 'OneClick Domain Controller'.

My next plan is to add SQL support and the prerequisites for SCCM. And then we'll work up to a one-click ConfigMgr install!

About

A simpler approach to a one-click Domain Controller

Resources

Readme
Activity

Stars

7 stars

Watchers

2 watching

Forks

3 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.