Skip to content

Commit 6513770

Browse files
committed
Clean up, add some remarks
1 parent 2b2694f commit 6513770

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

new-domain.ps1

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,18 @@ Add-WindowsFeature AD-Domain-Services
2323

2424
Import-Module ADDSDeployment
2525

26+
#This will jsut show you what it looks like when executed, it will not actually run the command
2627
write-host "Install-ADDSForest" @domain
2728

28-
BrokenArrow1!!
29+
# Just unremark the below line to make it all work.
30+
#Install-ADDSForest @domain
2931

32+
#Really should not keep a password here
33+
# [password]
3034

35+
##After words
3136
Install-WindowsFeature rsat-remoteaccess rsat-adds
3237

33-
3438
Import-module servermanager ; Get-WindowsFeature | where-object {$_.Installed -eq $True} | format-list DisplayName
3539

3640

0 commit comments

Comments
 (0)