Forum Discussion
Question about error duirng adding inControlSnapIn in PowerShell
I am new to Powershell and icontrol. I was setting up the Powershell to use icontrol. When I tried to add iControlSnapIn using the command Add-PSSnapIn iControlSnapIn. The following error was displaying. Does anyone have any idea how to fix it? Thank you.
PS> Add-PSSnapIn iControlSnapIn Add-PSSnapin : Cannot load Windows PowerShell snap-in iControlSnapIn because of the following error: The Windows PowerShell snap-in module C:\Program Files (x86)\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
1 Reply
- bowlingbe
Nimbostratus
I was beating my head against a wall trying to find how to correct this exact same issue after re-installing the icontrolsnapin on my machine. Running this in powershell fixed the issue and I was able to load the snapin via add-pssnapin icontrolsnapin.
c:\windows\Microsoft.Net\Framework64\v2.0.50727\installutil.exe iControlSnapin.dll /LogFile=
I found the fix in this thread. https://devcentral.f5.com/questions?pid=17081
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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