BeOfType

BeOfType can be used to ensure a value is of a specific .NET type. It is equivalent to the -is operator:

[IPAddress]"1.2.3.4" | Should -BeOfType [IPAddress] 
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset