Passing argument list to populate the Node variable in the PSRemoting session has limitations, as complex configuration data can not be passed. See below that passing nested arrays or hashes fails if we continue this way:
@{
AllNodes = @(
@{
NodeName='*';
DomainFQDN='dexter.lab';
Networks = @( # nested array of hashes this can not be passed using application arguments
@{
Name = 'ConvergedNetwork1'
VlanID = 101
},
@{
Name = 'ConvergedNetwork2'
VlanID = 102
}
)
},
@{
NodeName="Node1";
ServiceName = 'bits';
Type='Compute';
},
@{
NodeName='Node2';
ServiceName = 'winrm';
Type='Storage';
}
)
}
Passing argument list to populate the Node variable in the PSRemoting session has limitations, as complex configuration data can not be passed. See below that passing nested arrays or hashes fails if we continue this way: