Hello,
OS: Windows 2008 R2.
Powershell
Veeam 6 p3
I've create my first powershell backup script that will launch veeam backups and starts some backup exec jobs.
I've place the ps1 script in a batch file, and scheduled that .bat file with the windows scheduler.
Following this article:
http://blog.pointbeyond.com/2010/04/23/ ... scheduler/
But when i logged off and waiting for something happened.... There is nothing happened
Any idea why nothing of the script is running?
Thanks
Tristan.
-
- Veteran
- Posts: 270
- Liked: 15 times
- Joined: Jan 03, 2012 2:02 pm
- Full Name: Tristan Floor
- Contact:
-
- Veteran
- Posts: 270
- Liked: 15 times
- Joined: Jan 03, 2012 2:02 pm
- Full Name: Tristan Floor
- Contact:
Re: Running powershell script schedule while logged off
Problem fixed,
There must be a problem with the schedules task.
Recreating it and it is working perfect.
For the people who also need this, the article in my first post is great to use!
There must be a problem with the schedules task.
Recreating it and it is working perfect.
For the people who also need this, the article in my first post is great to use!
-
- Enthusiast
- Posts: 39
- Liked: never
- Joined: Dec 09, 2010 1:25 pm
- Full Name: Corey
- Contact:
Re: Running powershell script schedule while logged off
There is also a setting to run the script while the user is logged off. And there is also a checkbox to run with highest privledges - you might need this depending on what the script does.
-
- Veteran
- Posts: 270
- Liked: 15 times
- Joined: Jan 03, 2012 2:02 pm
- Full Name: Tristan Floor
- Contact:
Re: Running powershell script schedule while logged off
Correct. That is also what the howto described in my first postcrichardson wrote:There is also a setting to run the script while the user is logged off. And there is also a checkbox to run with highest privledges - you might need this depending on what the script does.
Who is online
Users browsing this forum: No registered users and 2 guests