file version export module PowerShellScripts { 'use strict' ; export const Get_Error = "##Get_Error##:Get-Error.ps1\nParam([int]$wait)\nsleep $wait\nwrite-progress -Activity \"running\" -PercentComplete 50\nwrite-error \"=== Error Error Error === ($wait)\"\n" ; export const Get_Exception = "##Get_Exception##:Get-Exception.ps1\nParam([int]$wait)\nsleep $wait\nwrite-progress -Activity \"running\" -PercentComplete 50\nthrow \"=== Exception Exception Exception === ($wait)\"\n" ; export const Get_Process = "##Get_Process##:Get-Process.ps1\nget-process\n" ; export const Get_Service = "##Get_Service##:Get-Service.ps1\nParam([string]$name)\nget-service -Name $name\n" ; export const Get_WinRmState = "##Get_WinRmState##:Get-WinRmState.ps1\n1..30 | foreach {\nsleep 2\n$p = [math]::floor($_/30 * 100)\nwrite-progress -Activity \"running\" -PercentComplete $p\nget-service winrm\n}\n" ; }