Skip to main content

Get-KeldorKernel

SYNOPSIS

Gets normalized kernel and runtime information.

SYNTAX

Local (Default)

Get-KeldorKernel [<CommonParameters>]

ComputerName

Get-KeldorKernel [-ComputerName] <String[]> [-Credential <PSCredential>]
[<CommonParameters>]

PSSession

Get-KeldorKernel -PSSession <PSSession[]> [<CommonParameters>]

DESCRIPTION

Returns kernel identity, architecture, host identity, boot identity, and process bitness for local or remote Windows, Linux, and macOS systems.

EXAMPLES

EXAMPLE 1

Get-KeldorKernel

Gets local kernel information.

EXAMPLE 2

'server01', 'server02' | Get-KeldorKernel | Export-Csv -Path ./kernels.csv -NoTypeInformation

Exports kernel information from configured remoting targets.

PARAMETERS

-ComputerName

Specifies computers reachable through configured PowerShell remoting. Keldor must be installed on each target.

Type: String[]
Parameter Sets: ComputerName
Aliases: HostName, DnsHostName

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-PSSession

Specifies existing PowerShell sessions to reuse.

Type: PSSession[]
Parameter Sets: PSSession
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Credential

Specifies a credential for ComputerName remoting.

Type: PSCredential
Parameter Sets: ComputerName
Aliases:

Required: False
Position: Named
Default value: None
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

System.String and System.Management.Automation.Runspaces.PSSession.

OUTPUTS

Keldor.Kernel

NOTES

Darwin may appear as KernelName on macOS; Platform remains normalized as macOS.

ALIASES

None.

PLATFORM APPLICABILITY

Windows, macOS, and Linux.

POWERSHELL COMPATIBILITY

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

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