Skip to main content

Get-ComputerModel

SYNOPSIS

Gets computer models using the historical Keldor output shape.

SYNTAX

Get-ComputerModel [[-ComputerName] <String[]>] [<CommonParameters>]

DESCRIPTION

Deprecated compatibility wrapper for Get-KeldorHardwareInfo. The wrapper preserves historical property names while delegating all hardware discovery to the normalized command.

EXAMPLES

EXAMPLE 1

Get-ComputerModel

Gets the local model using the historical output shape.

PARAMETERS

-ComputerName

Specifies one or more computers. Omit this parameter for the local computer.

Type: String[]
Parameter Sets: (All)
Aliases: Host, Name, Computer, CN

Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
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

OUTPUTS

System.Management.Automation.PSCustomObject

NOTES

Use Get-KeldorHardwareInfo for new automation. DomainRole cannot be reconstructed reliably from the normalized hardware contract and is null. Removal is targeted for Keldor 1.0.0.

ALIASES

None.

PLATFORM APPLICABILITY

Windows only. The platform-aware loader does not export this command on Linux or macOS.

POWERSHELL COMPATIBILITY

See PowerShell compatibility for the supported runtime policy. PowerShell 7.6 LTS is preferred.

https://docs.keldor.dev/powershell/keldor/Get-ComputerModel