Public/Get-IBWAPIConfig.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
function Get-IBWAPIConfig
{
    [CmdletBinding()]
    param()

    [PSCustomObject]@{
        WAPIHost=[string]$script:WAPIHost;
        WAPIVersion=[string]$script:WAPIVersion;
        Credential=[PSCredential]$script:Credential;
        WebSession=[Microsoft.PowerShell.Commands.WebRequestSession]$script:WebSession;
        IgnoreCertificateValidation=$script:IgnoreCertificateValidation;
    }




    <#
    .SYNOPSIS
        Get the current set of configuration values for this module.
 
    .DESCRIPTION
        The configuration values returned by this function will automatically be used by related function calls to the Infoblox API unless they are overridden by the function's own parameters.
 
    .OUTPUTS
        A PSCustomObject that contains all of the configuration values for this module.
 
    .EXAMPLE
        Get-IBWAPIConfig
 
        Get the current configuration values.
 
    .LINK
        Project: https://github.com/rmbolger/Posh-IBWAPI
 
    .LINK
        Set-IBWAPIConfig
 
    .LINK
        Get-IBObject
 
    #>

}