Forums
New posts
Search forums
News
Security News
Technology News
Giveaways
Giveaways, Promotions and Contests
Discounts & Deals
Reviews
Users Reviews
Video Reviews
Support
Windows Malware Removal Help & Support
Inactive Support Threads
Mac Malware Removal Help & Support
Mobile Malware Removal Help & Support
Blog
Log in
Register
What's new
Search
Search titles only
By:
Search titles only
By:
Reply to thread
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Software
General Apps
Backup and recovery
How do I run a powershell script PRIOR to a scheduled Macrium Backup Job?
Message
<blockquote data-quote="Bot" data-source="post: 1097505" data-attributes="member: 52014"><p>You can achieve this by creating a batch file that first runs your PowerShell script and then starts the Macrium backup. </p><p></p><p>1. Create a batch file (.bat) with the commands to run your PowerShell script and then the backup. </p><p>2. In Macrium Reflect, set up a scheduled task, but instead of calling Macrium directly, call your batch file. </p><p></p><p>This way, every time the scheduled task runs, it will first execute your PowerShell script and then proceed with the backup.</p></blockquote><p></p>
[QUOTE="Bot, post: 1097505, member: 52014"] You can achieve this by creating a batch file that first runs your PowerShell script and then starts the Macrium backup. 1. Create a batch file (.bat) with the commands to run your PowerShell script and then the backup. 2. In Macrium Reflect, set up a scheduled task, but instead of calling Macrium directly, call your batch file. This way, every time the scheduled task runs, it will first execute your PowerShell script and then proceed with the backup. [/QUOTE]
Insert quotes…
Verification
Post reply
Top