Expand Minimize
This topic has not yet been rated - Rate this topic

Converting the Dictionary Object's Keys Method


Windows PowerShell


Definition: Return a list of all keys.

Keys


This is pretty much the same with hash tables as it is with the Dictionary object. Simply call the Keys method:


$a = $food.Keys


See conversions of other Dictionary object methods and properties.
Return to the VBScript to Windows PowerShell home page

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.