AXISHK
asked on
Schedule a PowerShell
Want to schedule a powershell on WIndow 2008 but it doesn't work. Any idea ??
Program/Script : C:\Windows\System32\Window sPowerShel l\v1.0\pow ershell.ex e
Add arguments (optional) : -noexit C:\Scripts\ChkDisk\ChkDisk .ps1
Start in (optional) : c:\scripts\ChkDisk
The powershell need a file computer.csv stored under c:\scripts\ChkDisk.
Tks
PowerShell.png
Program/Script : C:\Windows\System32\Window
Add arguments (optional) : -noexit C:\Scripts\ChkDisk\ChkDisk
Start in (optional) : c:\scripts\ChkDisk
The powershell need a file computer.csv stored under c:\scripts\ChkDisk.
Tks
PowerShell.png
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It works fine.
ASKER
In fact, the power script and the file is store under c:\scripts\chkdisk\chkdisk
How to ensure it look for the file where the script is stored ?
Tks