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

Several cmdlet missing

Post by matteu »

Hello,

Could it be possible to know the official or non official powershell cmdlet for my needs :

-Enable/Disable MFA and enable/disable auto logoff

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

Re: Several cmdlet missing

Post by oleg.feoktistov »

Hi,

We don't have official cmdlets for both of the settings yet.

Workaround for controlling the logoff option:

Code: Select all

[Veeam.Backup.DBManager.CDBManager]::Instance.Options.UpdateAutomaticallyTerminateSession($false)
Workaround for controlling the MFA causes buggy behaviour without proper handling on Powershell/.NET side, so I won't be sharing it.

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

Re: Several cmdlet missing

Post by matteu »

Thanks for your answer.

For MFA, do you know if cmdlet will be available on next veeam update ?

I "need" it to remediate lot's of security best practices automatically.
Thanks
oleg.feoktistov
Veeam Software
Posts: 2010
Liked: 670 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Several cmdlet missing

Post by oleg.feoktistov »

Not in the nearest update, unfortunately.
matteu
Veeam Legend
Posts: 822
Liked: 128 times
Joined: May 11, 2018 8:42 am
Contact:

Re: Several cmdlet missing

Post by matteu »

Just if everyone need to set the timeout value, it's possible with this line and the value in min at the end (30 in this example) :

[Veeam.Backup.DBManager.CDBManager]::Instance.Options.UpdateAutomaticallyTerminateSessionTimeoutMinutes(30)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest