Would you please try if the following command?
$test = get-proccess -name powershell | convertto-html
writestdout $test
This works for me in my environment. So I assume the issue is in Get-PSWSUSUpdateApproval.
Would you please try if the following command?
$test = get-proccess -name powershell | convertto-html
writestdout $test
This works for me in my environment. So I assume the issue is in Get-PSWSUSUpdateApproval.