-
Mitigate commodity malware attacks with Windows Firewall rules
Using built-in Windows Firewall rules to prevent common malware and ransomware attacks by blocking network access for script hosts and command interpreters while still allowing internal network communication. -
Correct Horse Battery Staple for PowerShell, AKA Random Memorable Password Generator
Creating a PowerShell function to generate memorable passwords based on the XKCD 'correcthorsebatterystaple' concept - a simple approach to generating random but memorable passwords using common words. -
String Concatenation in PowerShell
Learn more efficient ways to concatenate strings in PowerShell using expanding strings and the format operator instead of the traditional concatenation method. -
Reading the Windows DHCP Server logs with PowerShell
A PowerShell function to read and parse Windows DHCP server logs for troubleshooting IP assignment issues across various VLANs. -
PowerShell: Finding folders that don't match a pattern
A PowerShell technique to identify folders that don't follow a specific naming convention, including how to track down who created them. -
Delete old log files with PowerShell
A PowerShell script to automatically find and delete log files older than a specified age, helping maintain disk space and system performance. -
PowerShell Fun: Most common given names in Active Directory
How to use PowerShell to find and display the most common given names in your Active Directory environment. -
Parsing Group Policy's gpsvc.log with PowerShell
A PowerShell function to parse Group Policy's gpsvc.log file, making it easier to troubleshoot Group Policy issues by extracting process ID, thread ID, timestamp, and message details. -
Use PowerShell to remove home directories for users who no longer exist in AD
A PowerShell script to identify and move home directories for users who no longer exist in Active Directory, helping to clean up file shares during server migrations. -
Copy Active Directory Group Membership with PowerShell
A quick PowerShell snippet to copy group memberships from one user or computer account to another in Active Directory.
subscribe via RSS