Reply to Message

View discussion in a popup

Replying to:
mazdajai
Contributor
Contributor

No luck. Smiley Sad

I have attached an error.log that I send $error to.

catch

{

"$(Get-Date -uformat %H:%M:%S) :: $vcenter :: EXCEPTION" | Out-file -Encoding UTF8 -Append $outlog

$error | Out-file -Encoding UTF8 -Append $errlog

continue

}

Time :: host :: Runtime (seconds)

17:11:40 :: BADVC1:: EXCEPTION

17:18:50 :: GoodVC1:: EXCEPTION

Reply
0 Kudos