Skip to main content

Get-SerialNumber

SYNOPSIS

Gets serial numbers using the historical Keldor output shape.

SYNTAX

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

DESCRIPTION

Deprecated compatibility wrapper for Get-KeldorHardwareInfo. The wrapper projects the normalized hardware result and contains no independent serial-number discovery.

EXAMPLES

EXAMPLE 1

Get-SerialNumber

Gets the local serial number 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. 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-SerialNumber