Description: List of bad code samples with solutions for Windows PowerShell
PowerShell Bad Code #1: Replacing values in hashtable not working
PowerShell Bad Code #2: Sorting filenames not working
PowerShell Bad Code #3: Operator “or” in switch statement
PowerShell Bad Code #4: Search files with multiple extensions
PowerShell Bad Code #5: Search files with square brackets not working
PowerShell Bad Code #6: The parameter ErrorVariable is not working
PowerShell Bad Code #7: The operator -contains is not working