PS> Get-Knowledge | Out-Blog
About Me
  • Oct 24, 2017

    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.
    powershellsecuritywindows-firewall
    Read more
  • May 18, 2016

    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.
    invoke-webrequestpasswordspowershellsystems-administration
    Read more
  • Nov 23, 2015

    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.
    powershellstring-formatting
    Read more
  • Aug 14, 2015

    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.
    dhcppowershellserver-2012-r2windows
    Read more
  • Aug 13, 2015

    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.
    powershellfile-managementregexpattern-matching
    Read more
  • Aug 12, 2015

    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.
    powershelllog-filesfile-managementcleanupsystem-administration
    Read more
  • Jun 23, 2015

    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.
    powershellactive-directoryfun
    Read more
  • Apr 29, 2015

    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.
    group-policypowershellregexselect-string
    Read more
  • Mar 17, 2015

    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.
    powershellactive-directorysystem-administrationfile-management
    Read more
  • Mar 11, 2015

    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.
    active-directorypowershellsystems-administration
    Read more
« Previous Page 5 of 7 Next »
Daniel Streefkerk
  • dstreefkerk
  • egosumdns
  • RSS

My collection of useful content that's worth sharing with the world. Windows Security, Cloud Security, PowerShell, AI, Model Context Protocol, and more.