Quantcast
Channel: Backup – Windows and Windows Server forum
Viewing all articles
Browse latest Browse all 3323

Add-pssnapin

$
0
0

I am trying to run a powershell script to backup my Server and Windows backup server  has been installed.  I do not know how to register the snap-ins so the backup can run from powershell.

the get-pssnapin command produces this:

Name        : Microsoft.PowerShell.Core
PSVersion   : 4.0
Description : This Windows PowerShell snap-in contains cmdlets used to manage components of Windows PowerShell.

The get-pssnapin -registered produces nothing. 

add-pssnapin : No snap-ins have been registered for Windows PowerShell version 4.
At line:1 char:1
+ add-pssnapin windows.serverbackup
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (windows.serverbackup:String) [Add-PSSnapin], PSArgumentException
    + FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.AddPSSnapinCommand

Any ideas on what to do?


Viewing all articles
Browse latest Browse all 3323

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>