I\'m getting this exception while opening excel with PowerShell only while triggering from windows task scheduler.