File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88RootModule = ' PSRemoteOperations.psm1'
99
1010# Version number of this module.
11- ModuleVersion = ' 0.6.0 '
11+ ModuleVersion = ' 0.6.1 '
1212
1313# Supported PSEditions
1414CompatiblePSEditions = @ (" Desktop" )
Original file line number Diff line number Diff line change @@ -235,6 +235,8 @@ Function Invoke-PSRemoteOperation {
235235 ($Raw | Select-Object - skip 1 | Select-Object - SkipLast 1 ).Foreach ( {$resultData += " $_ `n " })
236236
237237 $resultData += " Completed = '$completed '`n "
238+ # replace any variables in the errormessage with escaped literals
239+ $errormsg = $errormsg.Replace (' $' , ' `$' )
238240 $resultData += " Error = $errormsg `n "
239241 $resultdata += " Date = '$ ( (Get-Date ).toUniversalTime()) UTC'`n "
240242
Original file line number Diff line number Diff line change 11# Change Log for PSRemoteOperations
22
3+ ## v0.6.1
4+
5+ + Fixed a bug with error messages when they include a variable name with the $ symbol.
6+
37## v0.6.0
48
59+ Added support for CMS protected files. (Issue #3 )
You can’t perform that action at this time.
0 commit comments