Forum Discussion
dan_03_140075
Nimbostratus
Apr 03, 2014Passing credential to New-Object iControl.Interfaces
Hello, big fan of powershell and icontrol. The F5 DevCentral has been awesome to get up and running. I have been using
$cred = (get-credential)
Initialize-F5.iControl -HostName $g_bigip -credentials...
dan_03_140075
Nimbostratus
Apr 22, 2014Its possible to run an icontrol command on the wrong bigip. Think its pretty easy to forget which bigip you are connected to. I have developed a menu driven script that actually helps to mitigate this to a large degree and there are other methods (change ps prompt to reflect bigip name?), but I would like to use the menu system and once a actions/tasks is completed, disconnect. Go back to menu selections and re-init as need be. At the mo my script does this and its only if you break out of it, that you have an "unknown" open init to a bigip still...
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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