In Powershell I need to pass an input to a method of type System.Collections.Generic.IDictionary[string, system.object].
Could someone please help me with a sample code on how IDictionary[string,system.object] could be declared and value is set to it.
Something like:
$dict = New-Object 'system.collections.generic.dictionary[[string],[object]]