Don’t copy and paste the same code over and over again. Instead, create a PowerShell function and save yourself time.
The Not function in Microsoft Excel is a built-in Logical function, and its purpose is to reverse the logic of its argument. It ensures that one value is not equal to another. When given TRUE, NOT ...