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...
Apr 21, 2014
Been away from that code for a while now. I'll pull it up and give it a look for the specific calls to initialize. May I ask why you are attempting to do an de-init? All of the iControl calls are separate HTTP requests. All the init does is to store the credentials in the iControl.Interfaces object for future method calls. If you want to reuse the object, you can just call initialize again and give it a new set of credentials. Or, you could assign the object the value of $null. I'll check the code for the initialize and get back to you...
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