PowerShell script exchange
Post Reply
peterD
Novice
Posts: 5
Liked: 1 time
Joined: Feb 16, 2023 6:44 pm
Contact:

VBR configure Linux server

Post by peterD »

I am using Veeam Backup & Replication in version 12 and through powershell configure a linux server with a private ssh key

the command I am using is

Code: Select all

Add-VBRLinux -Name "some_name" -Description "some_type_of_description" -Credentials "credentials from the command Get-VBRCredentials" -WarningAction SilentlyContinue -Confirm
what happens is that I am asked to accept the fingerprint from the communication with the linux server, what I want is to make a non-interactive session to configure the server so I have no way to accept the fingerprint

I want to know if there is some parameter that I am not sending and therefore have the question if I want to accept the fingerprint

Thanks,
Peter
Mildur
Product Manager
Posts: 9837
Liked: 2602 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: VBR configure Linux server

Post by Mildur »

Hi Peter

Please try -confirm:$False

Code: Select all

Add-VBRLinux -Name "some_name" -Description "some_type_of_description" -Credentials "credentials from the command Get-VBRCredentials" -WarningAction SilentlyContinue -Confirm:$False
Best,
Fabian
Product Management Analyst @ Veeam Software
Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests