rmbolger / Posh-IBWAPI

PowerShell module for interacting with the Infoblox WAPI (REST API).
MIT License
54 stars 8 forks source link

Allow specifying an alternate profile on a per-command basis #49

Closed rmbolger closed 4 years ago

rmbolger commented 4 years ago

All of the existing commands have a set of common connection parameters WAPIHost, WAPIVersion, Credential, and SkipCertificateCheck that allow you to override each value on a per-command basis. But now that we have profiles, it would be nice to be able to specify an alternate profile instead of needing to override each value individually. Something like this:

Get-IBObject grid -ProfileName myprofile