Forum Discussion

chill_15306's avatar
chill_15306
Icon for Nimbostratus rankNimbostratus
Mar 23, 2011

F5 PowerShell on 64 bit PCs

I wrote several F5 PowerShell scripts on a 32 bit PC. I tried to run them on a 64 bit PC and they would not run. The SnapIn would not load. Is it possible to run F5 PowerShell scripts on a 64 bit PC?

 

 

Carl

 

4 Replies

  • I developed the snapin on Win7-64 and have been using it exclusively on that system. Is the the snapin setup script that isn't working or will the system not recognize it? Run "Get-PSSnapin -Registered" and make sure that the iControl snapin is listed. If not, then the installUtil.exe needs to be run on it. There is a setupSnapin.ps1 script included in the distribution that does just that. There's also the script in the iControl wiki. Let me know more details on exactly what's going on and I'll see if I can get you all something to get it going.

     

     

    -Joe

     

  • Here is what I get when I try to load the setupSnapIn.ps1 script.

     

     

    Registering iControlSnapin.dll on platform ''

     

    Microsoft (R) .NET Framework Installation utility Version 2.0.50727.5420

     

    Copyright (c) Microsoft Corporation. All rights reserved.

     

     

    The installation failed, and the rollback has been performed.

     

    Registering iControlSnapin.dll on platform '64'

     

    Microsoft (R) .NET Framework Installation utility Version 2.0.50727.5420

     

    Copyright (c) Microsoft Corporation. All rights reserved.

     

     

    The installation failed, and the rollback has been performed.

     

     

    No SnapIns are registered.

     

     

    Thanks

     

    John
  • You might need to be running powershell as an administrator. The install updates the registry and that might be protected if you aren't an admin. Right click on PowerShell and select "Run as Administrator" and give it a shot. Hoepfully that will fix things.

     

     

    -Joe