Forum Discussion
4 Replies
Sort By
- Jeffrey_Silver1NimbostratusAdd-PSSnapin : Could not load file or assembly 'iControl, Version=11.4.1.0, Culture=neutral, PublicKeyToken=275567876a54b5c7' or one of its dependencies. The system cannot find the file specified. At line:1 char:1 This is an error message that I get when trying to Add-PSSnapIn + Add-PSSnapin iControlSnapin + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Add-PSSnapin], FileNotFoundException + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.AddPSSnapinCommand
- cjuniorNacreousHi, did you solved this problem? https://devcentral.f5.com/d/microsoft-powershell-with-icontrol
- squip_86995Nimbostratus
Once the Snapin is registered with Add-Pssnapin / you should be able to run Get-F5.iControlCommands to list all Powershell iControll commandlets.
- Dor_206641Nimbostratus
I had the same issue. in order to solve this issue I re open the powershell x86. than I go direct to the folder for me it was: C:\Program Files (x86)\F5 Networks\iControlSnapIn And than I tried to install it again with the command:
./setupSnapIn.ps1
output: Registering iControlSnapin.dll on platform '' Microsoft (R) .NET Framework Installation utility Version 2.0.50727.5483 Copyright (c) Microsoft Corporation. All rights reserved.
Registering iControlSnapin.dll on platform '64' Microsoft (R) .NET Framework Installation utility Version 2.0.50727.5483
than try on powershell 32bit to add the snapin:
add-PSSnapIn iControlSnapIn
good luck