PS> Get-Knowledge | Out-Blog
About Me
  • 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
  • Feb 24, 2015

    Copy the previous PowerShell command to the clipboard

    A quick PowerShell one-liner to copy the previous command to the clipboard for reuse in other windows
    powershellsystems-administration
    Read more
  • Jan 21, 2015

    PowerShell: Provide a listing and count of computers in an OU structure

    How to use PowerShell to quickly determine the number of computer accounts in Active Directory by location in your OU structure.
    powershellactive-directorysystems-administration
    Read more
  • Oct 8, 2014

    Apply GPO based on installed Server Feature (WMI Filtering)

    How to use WMI filtering to apply Group Policy Objects to servers based on installed features, improving GPO organization and targeting.
    active-directorygroup-policysystems-administrationwmi
    Read more
  • May 28, 2014

    Determine the Logged On User's AD Group Membership in PowerShell

    A simple PowerShell technique to retrieve and display the Active Directory groups a currently logged-on user belongs to, with practical examples and security considerations.
    powershellactive-directoryscriptingsystems-administrationsecurity
    Read more
« Previous Page 5 of 6 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.