PowerShell - Variables and Data Types
Given this code:
What will happen when this runs?
$data = @{ 'a' = '1'; 'b' = 'two'; 'c' = '3' }
$result = @{}
foreach ($key in $data.Keys) {
$result[$key] = [int]$data[$key]
}
Write-Output $resultWhat will happen when this runs?
