How to Use Exclamation Mark in PowerShell If Statements?
In one of the previous tutorials, I explained how to use the if-else statement in PowerShell. Now, I will show you how to use exclamation mark in PowerShell If Statements. An exclamation mark (!) serve as a logical negation operator; we can use it in PowerShell if statements. Exclamation Mark in PowerShell If Statements If … Read more