Public/Get-bConnectInfo.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
# fetch bConncet info
Function Get-bConnectInfo() {
    <#
        .Synopsis
            Gets info from bConnect.
    #>


    If(!$script:_bConnectInfo) {
        $script:_bConnectInfo = Invoke-bConnectGet -Controller "info" -noVersion
    }

    return $script:_bConnectInfo
}