Provisioning of Windows 2016 First AD Forest using PowerShell

Please refer to the following PowerShell Script that I used to setup my lab 1. Provisioning of First AD Forest #Install AD Domain Services install-windowsfeature AD-Domain-Services -IncludeManagementTools #Promote First AD Forest & Domain Import-Module ADDSDeployment $Password = “P@ssw0rd!@#$” | ConvertTo-SecureString -AsPlainText -Force Install-ADDSForest ` -CreateDnsDelegation:$false ` -DatabasePath “C:\Windows\NTDS” ` -DomainMode WinThreshold ` #Windows 2016 -DomainName …

Read moreProvisioning of Windows 2016 First AD Forest using PowerShell

PowerShell Remoting to Windows 2012R2

Please refer to the steps below on how to PowerShell Remoting to Windows 2012R2 Server Configuration on Windows 2012R2 Server 1. The WinRM service is running (By Default) 2. Enable PowerShell Remoting with Enable-PSRemoting -force Configuration on Windows 10 Machines (Non-Domain Joined) 1. Start WinRM Service Get-Service WinRM | Start-Service Allow Windows 10 to access …

Read morePowerShell Remoting to Windows 2012R2

Chocolatey in Windows 10

Finally, there is a Package Manager like apt-get install in ubuntu in Windows environment called Chocolatey Please refer to the following simple guide on how to use Chocolatey Install Chocolatey in Windows 10 Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1’)) Look for Package to install You can easily get the Applications that you want …

Read moreChocolatey in Windows 10