Does anybody have experience with Powershell 2?
I am getting this error:
PS C:\Program Files (x86)\F5 Networks\iControlSnapIn> .\setupSnapIn.ps1
Registering iControlSnapIn...
Microsoft (R) .NET Framework Installation utility Version 2.0.50727.4927
Copyright (c) Microsoft Corporation. All rights reserved.
PS C:\Program Files (x86)\F5 Networks\iControlSnapIn> Add-PSSnapin -Name iControlSnapin
Add-PSSnapin : No snap-ins have been registered for Windows PowerShell version 2.
At line:1 char:13
+ Add-PSSnapin <<<< -Name iControlSnapin
+ CategoryInfo : InvalidArgument: (iControlSnapin:String) [Add-PSSnapin], PSArgumentException
+ FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.AddPSSnapinCommand
PS C:\Program Files (x86)\F5 Networks\iControlSnapIn> Get-ItemProperty
PS C:\Program Files (x86)\F5 Networks\iControlSnapIn> powershell -psconsolefile .\iControlSnapIn.psc1
WARNING: The following errors occurred when loading console C:\Program Files (x86)\F5
Networks\iControlSnapIn\iControlSnapIn.psc1:
Cannot load Windows PowerShell snap-in iControlSnapIn because of the following error: No snap-ins have been registered
for Windows PowerShell version 2.
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.