PackageDeployment Module Help

Package Deployment Module

Get-WindowsVersion Cmdlet

Version 3.1.0.0

Get-WindowsVersion

Synopsis

Windows version

Syntax

Get-WindowsVersion [[-UseComponents] <Int32>] [-ContinueOnError] [<CommonParameters>]

Description

Checks the Windows version the script is currently running on.

Parameters

-UseComponents <Int32>

#TODO#.

Required

False

Position

1

Default value

2

Accepts pipeline input

False

-ContinueOnError <SwitchParameter>

Continues the script despite an error occurring in the command in question.

Required

False

Position

Named

Accepts pipeline input

False

<CommonParameters>

For more information about common parameters, type "Get-Help about_CommonParameters".