- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Something completely different, did you already try replacing the Write-Host in the original code with a Write-Output?
Start-Transcript -Path "C:\temp\test.log" -Append -Force
import-module VMware.PowerCli -force
Write-Output "Hallo World!"
Stop-Transcript
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference