Powershell使用嵌套哈希表实例 嵌套哈希表的2种写法例子
嵌套哈希表对于多维数组是一个更好选择。这种存储方式将更易于管理。请看: 代码如下: $person = @{} $person.Name = ‘Weltner’ $person.Id = 12 $person.Address = @{} $person.Address.Street = ‘Canyon Rim’ $person.Address.City = ‘Folsom’ $person.Address.Details = @{} $person.Address.Details.Story = 4 $person.Address.Details.ScenicView = $false 也可
用户评论