janikvonrotz
12/6/2013 - 7:37 AM

PowerShell: Custom PowerShell Object Array Hashtable and PSObject #PowerShell

PowerShell: Custom PowerShell Object Array Hashtable and PSObject #PowerShell


$Objects = @{
    Name = "Objekt1"
    Value = "value1","value2"
},
@{
    Name = "Objekt2"
    Value = "value1","value2"
    
} | %{New-Object PSObject -Property $_}



$Objects = @{
    Name = "Objekt3"
    Value = "value1","value2"
},
@{
    Name = "Objekt4"
    Value = "value1","value2"
}