InterviewSolution
Saved Bookmarks
| 1. |
What is the benefit of the hashtable in PowerShell? |
|
Answer» A hash table is also called the dictionary. It is a COLLECTION that LETS you ACCUMULATE data in a “key-value” pair association. The “key” and “value” can be of any data and length. To DISPLAY a hash table you will have to make USE of @ followed by curly braces. The syntax of a hash table is as follows: PowerShellCopy@{ <name> = <value>; [<name> = <value> ] ...} |
|