Forum Discussion
Snap-in installed but cmdlets not visible
Ok, let's start from the beginning.
First you need to run the setupSnapin.ps1 file in the "c:\program files (x86)\F5 Networks\iControlSnapin" installation directory. This will add the snapin to the registry. Maybe you missed this step...
PS C:\Program files (x86)\F5 Networks\iControlSnapin> .\setupSnapin.ps1 -force
Keep in mind that you will need run this as Administrator as it updatest the registry.
Then this command should then return the following:
PS> Get-PSSnapin -Registered iControlSnapin
Name : iControlSnapIn
PSVersion : 2.0
Description : iControl Snap-in for F5 Device Management
Then you'll need to add the snapin to your current runspace
PS> Add-PSSnapin iControlSnapin
Then running the Get-PSSnapin should return the snapin info:
PS> Get-PSSnapin iControlSnapin
Name : iControlSnapIn
PSVersion : 2.0
Description : iControl Snap-in for F5 Device Management
At this point, the snapin is loaded in the runspace and you should be able to get the exported cmdlets from the snapin:
PS> Get-Command -Module iControlSnapin
CommandType Name
----------- ----
Cmdlet Add-F5.LTMPoolMember
Cmdlet Add-F5.LTMVirtualServerRule
...
And the Initialize-F5.iControl cmdlet should be there too
PS> Get-Command -Module iControlSnapin Initialize-F5.iControl
CommandType Name
----------- ----
Cmdlet Initialize-F5.iControl
Could you run through those steps and see where things break down.
-Joe
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