Skip to main content

Get-UpTime

SYNOPSIS​

Gets uptime using the historical Keldor output shape.

SYNTAX​

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

DESCRIPTION​

Deprecated compatibility wrapper for Get-KeldorUptime. The wrapper contains no independent uptime discovery and projects normalized results into the historical properties.

EXAMPLES​

EXAMPLE 1​

Get-UpTime

Gets local uptime 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-KeldorUptime 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-UpTime