Forum Discussion

Jeffrey_Silver1's avatar
Icon for Nimbostratus rankNimbostratus
Sep 25, 2018

iControl Add-Snapin fails after setup

Received a new workstation and had to reload the icontrol code. This is a windows 10 workstation. I was able to run the setupSnapin and can see the snapin registered, but I cannot seem to Add-PSSnapin iControlSnapin.


PLEASE point me in the right direction.....


PS C:\Program Files\F5 Networks\iControlSnapIn> add-pssnapin iControlSnapIn add-pssnapin : Cannot load Windows PowerShell snap-in iControlSnapIn because of the following error: Could not load file or assembly 'iControlSnapin.dll' or one of its dependencies. The system cannot find the path specified. At line:1 char:1 + add-pssnapin iControlSnapIn + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (iControlSnapIn:String) [Add-PSSnapin], PSSnapInException + FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.AddPSSnapinCommand


2 Replies

  • More information ...


    get-pssnapin -registered


    Name : iControlSnapIn PSVersion : 5.1 Description : iControl Snap-in for F5 Device Management


    The snapin say it is there, but I am unable to remove it by name.


    Remove-PSSnapIn -Name iControlSnapIn Remove-PSSnapIn : No Windows PowerShell snap-ins matching the pattern 'iControlSnapIn' were found. Check the pattern and then try the command again. At line:1 char:1 + Remove-PSSnapIn -Name iControlSnapIn + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (iControlSnapIn:String) [Remove-PSSnapin], PSArgumentException + FullyQualifiedErrorId : NoPSSnapInsFound,Microsoft.PowerShell.Commands.RemovePSSnapinCommand