Get-KeldorSystemInfo
SYNOPSIS
Gets normalized cross-platform system inventory.
SYNTAX
Local (Default)
Get-KeldorSystemInfo [<CommonParameters>]
ComputerName
Get-KeldorSystemInfo [-ComputerName] <String[]> [-Credential <PSCredential>]
[<CommonParameters>]
PSSession
Get-KeldorSystemInfo -PSSession <PSSession[]> [<CommonParameters>]
DESCRIPTION
Composes Keldor operating-system, Linux distribution, kernel, uptime, and hardware result builders from one shared snapshot per target. The result is suitable for inventory, reporting, CMDB, and automation workflows.
EXAMPLES
EXAMPLE 1
Get-KeldorSystemInfo
Gets a normalized inventory object for the local system.
EXAMPLE 2
'server01', 'server02' | Get-KeldorSystemInfo |
Select-Object ComputerName, Platform, OperatingSystem, Model, SerialNumber
Gets a concise inventory view from configured remoting targets.
EXAMPLE 3
Get-PSSession | Get-KeldorSystemInfo | Export-Csv -Path ./system-inventory.csv -NoTypeInformation
Reuses existing sessions and exports normalized inventory.
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 without reconnecting.
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. Credential contents are never returned.
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.SystemInfo
NOTES
Azure values remain null unless safe local metadata collection is added in a future compatible change. No cloud authentication or network metadata request occurs.
ALIASES
None.
PLATFORM APPLICABILITY
Windows, macOS, and Linux.
POWERSHELL COMPATIBILITY
See PowerShell compatibility for the supported runtime policy. PowerShell 7.6 LTS is preferred.
RELATED LINKS
https://docs.keldor.dev/powershell/keldor/Get-KeldorSystemInfo