PowerShell script exchange
Post Reply
MR43
Lurker
Posts: 1
Liked: never
Joined: Jun 21, 2016 10:26 am
Contact:

Change Repository's Gateway Server Settings

Post by MR43 »

Hi

I'm looking for a way to toggle the Gateway server settings on a repository using PowerShell.
Image

I want to be able to set it to and from 'Automatic selection'.

From my initial investigation I've found that the property 'HostId' when running Get-VBRBackupRepository seems to correspond with this GUI setting with '00000000-0000-0000-0000-000000000000' equating to 'Automatic selection'.

Could you suggest how I change this setting alone on existing repositories, to and from 'Automatic selection', presumably using Set-VBRBackupRepository?

Thanks
cody.ault
Veeam Software
Posts: 43
Liked: 9 times
Joined: Nov 04, 2010 2:53 pm
Full Name: Cody Ault
Contact:

Re: Change Repository's Gateway Server Settings

Post by cody.ault »

So, I recently went looking for this as well. It's as simple as just running the set-vbrbackuprepository command without -server. It reset it back to default
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests