Remove-VBRViProxy force remove?

PowerShell script exchange

Remove-VBRViProxy force remove?

Veeam Logoby nicbor » Mon Apr 04, 2016 4:41 pm

Maybe I'm missing something but I can't delete a Proxy server without manually having to answer a pop-up question whether I'm sure or not.
Is there any way of a forcing the Proxy server to be removed?
nicbor
Service Provider
 
Posts: 2
Liked: 1 time
Joined: Mon Nov 04, 2013 7:52 am
Location: Sweden
Full Name: Niclas Borgström

Re: Remove-VBRViProxy force remove?

Veeam Logoby v.Eremin » Tue Apr 05, 2016 9:01 am

Try to set $False value to -Confirm switch:

Code: Select all
$Proxy = Get-VBRViProxy -Name "Name of your proxy"
Remove-VBRViProxy -Proxy $Proxy -Confirm:$false


Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Remove-VBRViProxy force remove?

Veeam Logoby nicbor » Wed Apr 06, 2016 3:14 pm 1 person likes this post

Worked like a charm!

Thanks!
nicbor
Service Provider
 
Posts: 2
Liked: 1 time
Joined: Mon Nov 04, 2013 7:52 am
Location: Sweden
Full Name: Niclas Borgström

Re: Remove-VBRViProxy force remove?

Veeam Logoby v.Eremin » Wed Apr 06, 2016 4:07 pm

You're welcome. Should other help be needed, don't hesitate to let us know. Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 2 guests