Powershell - Miscellaneous Operators Examples


Advertisements

The following scripts demonstrates the miscellaneous operators.

> $location = Get-Location
 
> $location -is 'System.Management.Automation.PathInfo'
 True
 
> $location -isNot 'System.Management.Automation.PathInfo'
 True
 
> $i = 1
 
> $i++
 
> $i
 2
powershell_operators.htm
Advertisements