Forum Discussion
Martin_B__246_r
Oct 24, 2013Nimbostratus
Few cmdlets are working with iControl
Hello,
Im new to this. This is what ive done.
1) Installed .msi file
2) Executed setupSnapIn.ps1
3) Added pssnapin
4) Initialize-F5.iControl -HostName name -Username username -Password password
...
Oct 25, 2013
Hmm, I'm wondering what is null in that line. how about this
$ic = Get-F5.iControl;
if ( $null -eq $ic ) { Write-Host "interfaces is null; }
$sysInfo = $ic.SystemSystemInformation;
if ( $null -eq $SysInfo ) { Write-Host "SystemInfo interface is null; }
$systemInformation = $sysInfo.get_system_information();
if ( $null -eq $systemInformation ) { Write-Host "system information is null;" }
-Joe
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects