Creating a dictionary

A dictionary must declare a type for the key and value when it is created. A dictionary which uses a String for the key and IPAddress for the value may be created using either of the following examples:

$dictionary = New-Object System.Collections.Generic.Dictionary"[String,IPAddress]" 
$dictionary = New-Object "System.Collections.Generic.Dictionary[String,IPAddress]" 
..................Content has been hidden....................

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