Forum Discussion
error running add-pssnapin iControlSnapin
I need some help getting the powershell plugin to work. It was previously installed some months back but when i come to run it now i get errors.
My system specs are
XP sp3 x86
quad-core core2duo
4GB RAM
Am trying to run the command
add-pssnapin iControlSnapin
on my system but i keep getting this error message:
Add-PSSnapin : Cannot load Windows PowerShell snap-in iControlSnapIn because of the following error: The Windows PowerShell snap-in module C:\Program Files\F5 networks\iControlSnapIn\iControlSnapIn.dll does not have required Windows PowerShell snap-in strong name iControlSnapIn, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
At line:1 char:13
+ add-pssnapin <<<< iControlSnapIn
+ CategoryInfo : InvalidArgument: (iControlSnapIn:String) [Add-PSSnapin], PSSnapInException
+ FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.AddPSSnapinCommand
I have re-installed the icontrol snapin but the error keeps occuring. What am i doing wrong and what do i need to do to fix it
Cheers
Andrew
- Hi Andrew, I've just updated the installer to include the most recent iControl assembly (11.0.0). Once you run the installer, you'll need to re-run the setupSnapin.ps1 script to re-register the snapin's latest version in the powershell runtime configuration. Let me know if that doesn't work for you.
- mealies_60121NimbostratusHey Joe
EDIT - i used your remove-Snapin function in the script to remove it before re-running . .\SetupSnapin.ps1
Thanks
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com