Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

Converting the Dictionary Object's Items Method

Windows PowerShell

Definition: Returns the absolute value of a number.


The equivalent of Items in a Dictionary object are Values in a hash table. So it makes sense that we’d use the Values method to retrieve all the values from a hash table:

$a = $food.Values

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft