public void GetProperty( string path, CollectionFortunately there is a hint that the standard FileSystemProvider implements the IPropertyCmdletProvider interface. Looking at the disassembly of "C:\Program Files\Windows PowerShell\v1.0\System.Management.Automation.dll" (where FileSystemProvider lives), one can conclude that the above example should in fact be:providerSpecificPickList) { PSObject PShObject = new PSObject(); PSObject.AddNote(propertyName, propertyValue); WritePropertyObject(propertyValue, path); }
public void GetProperty( string path, CollectionI hope you find this information useful! Keywords: Windows, PowerShell, ProviderproviderSpecificPickList) { PSObject o = new PSObject(); o.Properties.Add(new PSNoteProperty(name, value)); WritePropertyObject(o, path); }