[What (else) is new in v11 - IV] PowerShell

  • 19 January 2021
  • 2 comments
  • 694 views

Userlevel 7
Badge +5

One of my favorite new little thinks in v11: Veeam provides a PowerShell module instead of a PowerShell Snapin. Modules are the more modern way compared to Snapins. See here some details about the differences.

Here is the list of available Veeam modules in v11:

 

New in v11 are Veeam.Backup.PowerShell and Veeam.Teams.PowerShell. The first one replaces the PowerShell Snapin VeeamPSSnapin in v10.

 

At least in theory, scripts should perform as before. PowerShell should import the new module as soon as one of it's commands is started. Existing scripts will show an error when they try to add the missing Snapin to the session.

In the course of this, attention was also paid to the user experience. So there are now defined default fields shown in different commands. See here the output of get-vbrbackup for example

In v10 all data fields were shown. This was not very useful at first.

The range of functions also increases with v11. We see 213 more commands than in v10. Most of them are for operating features in v11.

Just 2 Cmdlets are gone (New-VBRRPONotificationOptions, Publish-VBRBackupDisksNFS).

Final note: I tried to import this new module in v10. But I failed to do so. 


2 comments

Userlevel 7
Badge +2

Thank you @vNote42 for sharing that, i don’t remember there is a modules for Oracle and SQL. I will check that, it could be useful for the DBA Team :sunglasses: . I saw already some use cases for CI/CD pipeline for exporting data or automate a restore with awx jobs on demand!

Userlevel 7
Badge +5

[Update]

When installing the VBR console to a Windows computer, new PowerShell module is copied to disk too! It works to import this module and connect to a v11 VBR server - remotely. What does not work is to connect to a v10 VBR server. That is a pity...

Comment