Run Powershell script as Scheduled task, that uses Excel COM object


what missing here..

 

i have  powershell script uses quest ad cmdlets computer information ad , populate excel spreadsheet data.

the script works fine, created batch file , started script there (which works fine well). populates excel spreadsheet, saves , closes file.

if run script scheduled task, can see logging supposedly gets computers ad, , runs through them. file never saved, have tried run scheduled task admin credentials.

what forgetting?

i running logged in user , works... :)


Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Edit Group Policy

Hyper-V VM not reaching OS 'Logon' screen

DNS question...