How to fix the Veeam PowerShell Error

Posted On 2014-12-11 by dwirch
Tags: Veeam HyperV Powershell Windows Windows Server 2012
Views: 5888

During the installation of Veeam Backup and Replication (VBR), you may run into a puzzling error, "Failed to invoke PowerShell query SCVMM components are not installed." Luckily, an easy fix.

While setting up VBR, the first thing that you have to do is attach to your virtualization infrastructure. In my case, this is Hyper-V. We use System Center Virtual Machine Manager (SCVMM) to manage our clusters, so as normal, I attempted to add the SCVMM server to Veeam. At first, things seemed normal, and I was presented with this status message:

Resolving Hyper-V Heirarchy

No big deal, right? After a few moments, I was presented with this puzzling error:

Failed to invoke the PowerShell query SCVMM components are not installed.

This was puzzling to me in that I was attaching to the SCVMM server, and I know the PowerShell components are installed there; I use them, on that server, all the time. So I RDP over to the SCVMM server to verify, and sure enough, they are installed and functional.

Then I got to thinking, maybe Veeam needs the components installed locally? Sure, why not. So back to the Veeam server, and I install the SCVMM console on it.

Install SCVMM console on Veeam server

And that is all there is too it.  I was able to step through the Veeam Backup & Replication installation process with no further issues.  I suppose that you could just install the PowerShell snapin for SCVMM, but why not put the whole console there as well? Think of it as an alternat admin point if your main SCVMM box goes down.  If you're like me, you're replicating your Veeam server to the disaster recover site as well, so if your primary goes down, you can fire up the replica and have both tools ready to go.

About the Author

has posted a total of 192 articles.

Comments On This Post

No comments on this post yet!

Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.

Your IP address is:

Before you can post, you need to prove you are human. If you log in, this test goes away.

Code Links