#requires -Version 5.0
#requires -Modules Cloudpaging
Checks version of Cloudpaging Player installed on a given machine.
Checks version of Cloudpaging Player installed on a given machine. It also contains some error handling,
If the Cloudpaging PowerShell module it will notify that the command does not exist.
To return the version of the Cloudpaging Player, the Player must be installed on the machine and the PowerShell module and cmdlets must exist.
$ErrorActionPreference = 'stop'
Get-CloudpagingClient | Select-Object Version
Write-Error -InputObject "There was an error retrieving the Cloudpaging Player version"