Get-ADTOperatingSystemInfo
SYNOPSIS
Gets information about the current computer's operating system.
SYNTAX
Get-ADTOperatingSystemInfo
DESCRIPTION
Gets information about the current computer's operating system, such as name, version, edition, and other information.
EXAMPLES
EXAMPLE 1
Get-ADTOperatingSystemInfo
Gets an PSADT.OperatingSystem.OSVersionInfo object containing the current computer's operating system information.
PARAMETERS
INPUTS
None
You cannot pipe objects to this function.
OUTPUTS
PSADT.OperatingSystem.OSVersionInfo
Returns an PSADT.OperatingSystem.OSVersionInfo object containing the current computer's operating system information.
NOTES
An active ADT session is NOT required to use this function.
Tags: psadt
Website: https://psappdeploytoolkit.com
Copyright: (C) 2025 PSAppDeployToolkit Team (Sean Lillis, Dan Cunningham, Muhammad Mashwani, Mitch Richters, Dan Gough).
License: https://opensource.org/license/lgpl-3-0
RELATED LINKS
https://psappdeploytoolkit.com/docs/reference/functions/Get-ADTOperatingSystemInfo