Recent posts

Compare two users accounts

2011/01/28 | less than 1 minute read

# Add-PSSnapin Quest.ActiveRoles.ADManagement function Compare-ADUserGroups { #requires -pssnapin Quest.ActiveRoles.ADManagement param ( [string] $FirstU...

Protecting OU from accidental deletion

2011/01/24 | 1 minute read

Source When you create new Organizational Units in Active Directory Users And Computers (ADUC) in Server 2008 (or with RSAT on 2003 domains), ADUC gives you ...

Powershell - Get files or Folder list

2011/01/12 | less than 1 minute read

Directories: get-childitem . -recurse where{$_.PsIsContainer} Files: get-childitem . -recurse where{!$_.PsIsContai...

Powershell - Using String methods

2010/12/23 | less than 1 minute read

PowerShell uses .NET objects everywhere. .NET objects come with some useful built-in methods. However, for string manipulation you do not need to look for ex...