[Powershell-Basics] – Looping through hash table

Hi, This post will show how to loop through a hash table in PowerShell. Let’s say for example we have a hashTable object in PowerShell as shown below: $SampleTable = @{} # Syntax for creating hashtable –> @{} $SampleTable.”Name” = “Amogh” $SampleTable.”City” = “Hyderabad” $SampleTable.”Country” = “India” For looping through the hashtable, we can use […]