GetComputerInfoCommand.Property Property


The Property parameter contains the names of properties to be retrieved. If this parameter is given, the cmdlet returns a PSCustomObject containing only the requested properties. Wild-card patterns may be provided

 property cli::array <System::String ^> ^ Property { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
 property Platform::Array <Platform::String ^> ^ Property { Platform::Array <Platform::String ^> ^ get(); void set(Platform::Array <Platform::String ^> ^ value); };
public string[] Property { get; set; }
member this.Property : string[] with get, set
Public Property Property As String()

Property Value



Any named properties that are not recognized are ignored. If no recognized properties are provided the cmdlet returns an empty PSCustomObject.

If a provided wild-card pattern contains only an asterisk ("*"), the cmdlet will operate as if the parameter were not given at all and will return a fully-populated ComputerInfo object.

Applies to