TechNet
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

Converting the Dictionary Object's RemoveAll Method


Windows PowerShell


Definition: Remove all key/item pairs.

RemoveAll


You can remove everything - all key/item pairs - from a hash table by calling the Clear method on the hash table.


$food.Clear()


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

Show:
© 2016 Microsoft