Import module guide needed

This post was originally published on this site

Hi Team,

 

How to import module as per described in the below link to get work with Get-CPUOvercommit & Get-MemoryOvercommit powercli command.

 

Please guide me

 

PowerCLI Module to Check CPU, Memory and Storage OverCommitment – VMware PowerCLI Blog

 

I getting error as per below:

 

Add-PSSnapin : No snap-ins have been registered for windows powershell version 5.

At C:Windowssystem32WindowsPowerShellv1.0ModulesvsphereOvercommit.psm1:47 char:13

+ Add-PSSnapin VMware.VimAutomation.Core }

+“““““““““““““““““““““““““““““`

+Category Info : InvalidArgument: (Vmware.vimautomation.core:string) [Add-PSSnapin], PSArgumentException

+FullyQualifiedErrorId: AddPSSnapInRead, Microsoft.Powershell.commandAddPSSnapinCommand

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.