PowerShell script exchange
Post Reply
matteu
Veeam Legend
Posts: 725
Liked: 118 times
Joined: May 11, 2018 8:42 am
Contact:

[Feature request] Best practice powershell command

Post by matteu »

Hello,

It should be good if we can get the best practice result with powershell command for audit purposes and automation.

Thanks
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: [Feature request] Best practice powershell command

Post by oleg.feoktistov » 1 person likes this post

Hi @matteu,

Noted your feature request, thanks. Meanwhile, as an unsupported workaround you can try this DBManager method:

Code: Select all

[Veeam.Backup.DBManager.CDBManager]::Instance.BestPractices.GetAll()
Please note that it only pulls current statuses and doesn't start an analysis itself.

Best regards,
Oleg
matteu
Veeam Legend
Posts: 725
Liked: 118 times
Joined: May 11, 2018 8:42 am
Contact:

Re: [Feature request] Best practice powershell command

Post by matteu »

Hello and thanks for your answer.

What do you mean exactly by : "doesn't start an analysis itseld" ?

It just get the result for the last time the best practice analyser was launch ?

Is BPA executed automatically on schedulled or just need to be launched manually to be updated ?

Thanks
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: [Feature request] Best practice powershell command

Post by oleg.feoktistov » 1 person likes this post

It just get the result for the last time the best practice analyser was launch ?
Exactly.
Is BPA executed automatically on schedulled or just need to be launched manually to be updated ?
Currently it can only be launched manually.

Thanks!
matteu
Veeam Legend
Posts: 725
Liked: 118 times
Joined: May 11, 2018 8:42 am
Contact:

Re: [Feature request] Best practice powershell command

Post by matteu » 1 person likes this post

Thank you for your answer
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests