GetComputerInfoCommand.Property Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
public:
property cli::array <System::String ^> ^ Property { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public:
property Platform::Array <Platform::String ^> ^ Property { Platform::Array <Platform::String ^> ^ get(); void set(Platform::Array <Platform::String ^> ^ value); };
public string[] Property { get; set; }
[System.Management.Automation.Parameter(Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)]
public string[] Property { get; set; }
member this.Property : string[] with get, set
[<System.Management.Automation.Parameter(Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)>]
member this.Property : string[] with get, set
Public Property Property As String()
Property Value
- Attributes
Remarks
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.