This script is not designed to bring a system to 100% compliance, rather it should be used as a stepping stone to complete most, if not all, the configuration changes that can be scripted.
Minus system documentation, this collection should bring you up to about 95% compliance on all the STIGS/SRGs applied.
If manually downloaded, the script must be launched from the directory containing all the other files from the GitHub Repository
All of the parameters in the "secure-standalone.ps1" script are optional, with a default value of $true. This means that if no value is specified for a parameter when the script is run, it will be treated as if it were set to $true.
The script takes the following parameters, all of which are optional and default to $true if not specified:
cleargpos: (Boolean) Clear GPOs not being used
installupdates: (Boolean) Install updates and reboot if necessary
adobe: (Boolean) STIG Adobe Reader
firefox: (Boolean) STIG Firefox
chrome: (Boolean) STIG Chrome
IE11: (Boolean) STIG Internet Explorer 11
edge: (Boolean) STIG Edge
dotnet: (Boolean) STIG .NET Framework
office: (Boolean) STIG Office
onedrive: (Boolean) STIG OneDrive
java: (Boolean) STIG Java
windows: (Boolean) STIG Windows
defender: (Boolean) STIG Windows Defender
firewall: (Boolean) STIG Windows Firewall
mitigations: (Boolean) STIG Mitigations
nessusPID: (Boolean) Resolve Unquoted Strings in Path
An example of how to run the script with all default parameters would be:
.\secure-standalone.ps1
If you want to specify a different value for one or more of the parameters, you can include them in the command along with their desired value. For example, if you wanted to run the script and set the $firefox parameter to $false, the command would be:
.\secure-standalone.ps1 -firefox $false
You can also specify multiple parameters in the command like this: