Concept: A list of bad codes not working with solutions.


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

Leave a Reply

Your email address will not be published. Required fields are marked *