Public/Get-bConnectSoftwareScanRuleCounts.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Function Get-bConnectSoftwareScanRuleCounts() {
    <#
        .Synopsis
            Get all software scan rule counts.
        .Outputs
            SoftwareScanRuleCount (see bConnect documentation for more details).
    #>


    $_connectVersion = Get-bConnectVersion
    If($_connectVersion -ge "1.0") {

        return Invoke-bConnectGet -Controller "SoftwareScanRuleCounts" -Version $_connectVersion -Data $_body
    } else {
        return $false
    }
}