Skip to main content

Get-HardwarePlatform

SYNOPSISโ€‹

Retrieves information about the hardware platform (physical or virtual)

SYNTAXโ€‹

Get-HardwarePlatform [[-ContinueOnError] <Boolean>] [<CommonParameters>]

DESCRIPTIONโ€‹

Retrieves information about the hardware platform (physical or virtual)

EXAMPLESโ€‹

EXAMPLE 1โ€‹

Get-HardwarePlatform

PARAMETERSโ€‹

-ContinueOnErrorโ€‹

Continue if an error is encountered. Default is: $true.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: True
Accept pipeline input: False
Accept wildcard characters: False

CommonParametersโ€‹

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTSโ€‹

Noneโ€‹

You cannot pipe objects to this function.โ€‹

OUTPUTSโ€‹

System.Stringโ€‹

Returns the hardware platform (physical or virtual)โ€‹

NOTESโ€‹

https://psappdeploytoolkit.com