PowerShell script exchange
Post Reply
hansbaars
Novice
Posts: 4
Liked: never
Joined: Apr 25, 2018 4:55 pm
Contact:

Stop Replication job through Powershell

Post by hansbaars »

Is there anyone who has suggestions how to stop a replication job in Veeam B&R when it is exceeding a certain time limit with powershell?
Since it is not possible to do this within VBR. Time Windows are not thes olution in my case.
Is that possible?

Any suggestions are greatly appreciated.

Best regards,
Hans
veremin
Product Manager
Posts: 20284
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Stop Replication job through Powershell

Post by veremin »

Before we dig deeper into it, can you tell me whether you're using Veeam ONE or not? I'm wondering because if you have Veeam ONE already deployed, the solution will be a bit simpler. Thanks.
hansbaars
Novice
Posts: 4
Liked: never
Joined: Apr 25, 2018 4:55 pm
Contact:

Re: Stop Replication job through Powershell

Post by hansbaars »

No, I'm using Veeam Backup & Replication 9.5
veremin
Product Manager
Posts: 20284
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Stop Replication job through Powershell

Post by veremin »

OK, then, take a look at this example; should be helpful. Thanks.
hansbaars
Novice
Posts: 4
Liked: never
Joined: Apr 25, 2018 4:55 pm
Contact:

Re: Stop Replication job through Powershell

Post by hansbaars »

Perfect v.Eremin! This helps.
Thanks very much
veremin
Product Manager
Posts: 20284
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Stop Replication job through Powershell

Post by veremin »

Should other help be needed, let us know. Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests