Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 713 Bytes

File metadata and controls

41 lines (26 loc) · 713 Bytes
external help file Elizium.Loopz-help.xml
Module Name Elizium.Loopz
online version https://eliziumnet.github.io/Loopz/
schema 2.0.0

Get-PlatformName

SYNOPSIS

Get the name of the operating system.

SYNTAX

Get-PlatformName

DESCRIPTION

There are multiple ways to get the OS type in PowerShell but they are convoluted and can return an unfriendly name such as 'Win32NT'. This command simply returns 'windows', 'linux' or 'mac', simples! This function is typically used alongside Invoke-ByPlatform and Resolve-ByPlatform.

PARAMETERS

INPUTS

None

OUTPUTS

System.Object

NOTES

RELATED LINKS

Elizium.Loopz