From f403437816018f908e48f5808ac7fa1e5c276766 Mon Sep 17 00:00:00 2001 From: Edwin Lyon Date: Wed, 3 Aug 2022 13:27:00 -0700 Subject: [PATCH] Update 'README.md' --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bfb5281..186fac2 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,21 @@ # windows-server-hardening -Powershell scripts to harden Windows Server 2016 & 2019 \ No newline at end of file +Powershell scripts to harden Windows Server 2016 & 2019 + +Copy over and run the CIS Windows 2016 hardening Power Shell script. + +- Start a powershell session as administrator +- run the following commands in the location you copied the script to: +~~~ +[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 + +Install−PackageProvider −Name Nuget −Force + +install-module -Name PSDesiredStateConfiguration +install-module -Name AuditPolicyDsc +install-module -Name SecurityPolicyDsc +install-module -Name NetworkingDsc + +.\HT-WindowsServer2016.ps1 +Start-DscConfiguration -Path .\HT-WindowsServer2016 -Force -Verbose -Wait +~~~ \ No newline at end of file