Forum Discussion
Mitesh_378646
Nimbostratus
Thanks so much for the info. Do you know how to use it ? Do I just need to use that single powellshell script "Set-iRule.ps1" or something else. ?
JRahm
Dec 13, 2018Admin
The usage information for the module is in the readme on Github. You need to establish your credentials, and then instantiate the BIG-IP.
$secpasswd = ConvertTo-SecureString "PlainTextPassword" -AsPlainText -Force
$mycreds = New-Object System.Management.Automation.PSCredential "username", $secpasswd
New-F5Session -LTMName "192.168.1.245" -LTMCredentials $mycreds
This of course assumes you are using basic auth instead of tokens.