Our Score
Click to rate this post!
[Total: 0 Average: 0]
Server 2012 R2 Core Thoughts
- Auto configured IP address is preferred – Solved Duplicated IP PoshFix
- Enable Remote Administration – Done – sconfig OR
- Check Firewall– Get-NetFirewallProfile
- Set Firewall – Set-NetFirewallProfile –Name Domain –Enabled False
- Check Remote Desktop -Get-ItemProperty -Path “HKLM:\System\CurrentControlSet\Control\Terminal Server”
the one we’re interested is “fDenyTSConnections” – must be 0 - Set Remote Desktop – Set-ItemProperty –Path HKLM:\System\CurrentControlSet\Control\Terminal Server” -Name “fDenyTSConnections” –Value 0
- Set IP/DNS – sconfig OR
- Check – ipconfig /all OR Get-NetIPAddress
- Get Adapter index – Get-NetAdapter (ifIndex)
- Set – Set-IPAdd ress 1.1.1.1 –InterfaceIndex (ifIndex) –AddressFamily IPv4 –Type Unicast –PrefixLenght (prefixlenght)
- Set-DnsClientServerAddress –InerfaceIndex (ifIndex) –ServerAddresses 1.1.1.1,2.2.2.2 (separated by comma, if DC I would put it’s own IP address as first, existing DC as second and 127.0.0.1 as third)
- Proxy With Authentication – Working On it…….Seems impossible………but I did it, deserve an additional article
- Run Update-Help
- Firewall – Set Firewall – Set-NetFirewallProfile –Name Domain –Enabled False
- Install Additional DC to an existing forest – Optional Step, self-explaining script on the second page
- Updates Verification – Done Through PowerShell Modules (PSWindowsUpdates)
- Upgrade PowerShell to 5.1 –
- Copy-Item “ \\netshare\Software\Microsoft\Powershell v5.0\ Win8.1AndW2K12R2-KB3134758-x64.msu” C:\Temp
- run wusa Win8.1AndW2K12R2-KB3134758-x64.msu /quiet from C:\temp folder
- Install SCCM Client – Done through SCCM Console
#Install-WindowsFeature AD-Domain-Services -IncludeManagementTools `
Install-ADDSDomainController `
-CreateDnsDelegation:$false `
-DatabasePath “C:\Windows\NTDS” `
-DomainName “Domain.name” `
-InstallDns:$true `
-LogPath “C:\Windows\NTDS” `
-NoRebootOnCompletion:$false `
-SysvolPath “C:\Windows\SYSVOL” `
-NoGlobalCatalog:$false `
-SafeModeAdministratorPassword `
(ConvertTo-SecureString “SafeModeAdminPassword” -AsPlainText -Force) `
Our Score
Click to rate this post!
[Total: 0 Average: 0]
Leave a Reply