This PowerShell script performs security checks on a Windows system, checking for Windows Defender status, firewall status, user account control (UAC) settings, automatic updates, BitLocker status, guest account status, network sharing, PowerShell execution policy, Secure Boot, SMBv1, RDP, Local Administrator Password Solution (LAPS), and audit policy. The script generates a report with the results and outputs it to a text file. This tool can be used to quickly check the security posture of a Windows system and identify any potential issues that need to be addressed. Use at your own risk.
Created by Joe Shenouda (www.shenouda.nl)
- Save the script as a PowerShell file (e.g. check.ps1).
- Open PowerShell as an administrator.
- Navigate to the directory where the script is saved.
- Run the script using the command
PowerShell.exe -ExecutionPolicy Bypass -File "C:\path\to\check.ps1"
. - Follow the prompts.
If you would like to support this project, you can make a donation through PayPal:
Don't forget to give this repo a ✨ STAR!
This script is provided as-is and without warranty. Use at your own risk. The author is not responsible for any damages or losses caused by the use of this script.