J81.NSToolkit.Config/Public/ns-functions-config-utility.ps1

function Invoke-NSUpdateCallhome {
    <#
    .SYNOPSIS
        Update Utilities. config Object.
    .DESCRIPTION
        Configuration for callhome resource.
    .PARAMETER Mode
        CallHome mode of operation.
          
        Possible values = Default, CSP
    .PARAMETER Emailaddress
        Email address of the contact administrator.
    .PARAMETER Hbcustominterval
        Interval (in days) between CallHome heartbeats.
          
          
        Maximum value = 30
    .PARAMETER Proxymode
        Enables or disables the proxy mode. The proxy server can be set by either specifying the IP address of the server or the name of the service representing the proxy server.
          
        Possible values = YES, NO
    .PARAMETER Ipaddress
        IP address of the proxy server.
    .PARAMETER Proxyauthservice
        Name of the service that represents the proxy server.
    .PARAMETER Port
        HTTP port on the Proxy server. This is a mandatory parameter for both IP address and service name based configuration.
    .EXAMPLE
        PS C:\>Invoke-NSUpdateCallhome
        An example how to update callhome config Object(s).
    .NOTES
        File Name : Invoke-NSUpdateCallhome
        Version : v2311.2021
        Author : John Billekens
        Reference : https://developer-docs.netscaler.com/en-us/adc-nitro-api/current-release/configuration/utility/callhome/
        Requires : PowerShell v5.1 and up
                    NS 13.x and up.
                    NS 12 and lower may work, not guaranteed (best effort).
    .LINK
        https://blog.j81.nl
    #>

    [CmdletBinding(SupportsShouldProcess = $true, ConfirmImpact = "Low")]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingPlainTextForPassword', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingUserNameAndPasswordParams', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseBOMForUnicodeEncodedFile', '')]
    param(
        [Parameter(DontShow)]
        [Object]$NSSession = (Get-NSSession),

        [ValidateSet('Default', 'CSP')]
        [string]$Mode,

        [string]$Emailaddress,

        [double]$Hbcustominterval,

        [ValidateSet('YES', 'NO')]
        [string]$Proxymode,

        [ValidateScript({ $_.Length -gt 1 })]
        [string]$Ipaddress,

        [string]$Proxyauthservice,

        [ValidateRange(1, 65535)]
        [int]$Port 
    )
    begin {
        Write-Verbose "Invoke-NSUpdateCallhome: Starting"
    }
    process {
        try {
            $payload = @{ }
            if ( $PSBoundParameters.ContainsKey('mode') ) { $payload.Add('mode', $mode) }
            if ( $PSBoundParameters.ContainsKey('emailaddress') ) { $payload.Add('emailaddress', $emailaddress) }
            if ( $PSBoundParameters.ContainsKey('hbcustominterval') ) { $payload.Add('hbcustominterval', $hbcustominterval) }
            if ( $PSBoundParameters.ContainsKey('proxymode') ) { $payload.Add('proxymode', $proxymode) }
            if ( $PSBoundParameters.ContainsKey('ipaddress') ) { $payload.Add('ipaddress', $ipaddress) }
            if ( $PSBoundParameters.ContainsKey('proxyauthservice') ) { $payload.Add('proxyauthservice', $proxyauthservice) }
            if ( $PSBoundParameters.ContainsKey('port') ) { $payload.Add('port', $port) }
            if ( $PSCmdlet.ShouldProcess("callhome", "Update Utilities. config Object") ) {
                $result = Invoke-NSNitroApi -NSSession $NSSession -Method PUT -NitroPath nitro/v1/config -Type callhome -Payload $payload -GetWarning
                #HTTP Status Code on Success: 200 OK
                #HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error
                Write-Output $result
            }
        } catch {
            Write-Verbose "ERROR: $($_.Exception.Message)"
            throw $_
        }
    }
    end {
        Write-Verbose "Invoke-NSUpdateCallhome: Finished"
    }
}

function Invoke-NSUnsetCallhome {
    <#
    .SYNOPSIS
        Unset Utilities. config Object.
    .DESCRIPTION
        Configuration for callhome resource.
    .PARAMETER Mode
        CallHome mode of operation.
          
        Possible values = Default, CSP
    .PARAMETER Emailaddress
        Email address of the contact administrator.
    .PARAMETER Hbcustominterval
        Interval (in days) between CallHome heartbeats.
          
          
        Maximum value = 30
    .PARAMETER Proxymode
        Enables or disables the proxy mode. The proxy server can be set by either specifying the IP address of the server or the name of the service representing the proxy server.
          
        Possible values = YES, NO
    .PARAMETER Ipaddress
        IP address of the proxy server.
    .PARAMETER Proxyauthservice
        Name of the service that represents the proxy server.
    .PARAMETER Port
        HTTP port on the Proxy server. This is a mandatory parameter for both IP address and service name based configuration.
    .EXAMPLE
        PS C:\>Invoke-NSUnsetCallhome
        An example how to unset callhome config Object(s).
    .NOTES
        File Name : Invoke-NSUnsetCallhome
        Version : v2311.2021
        Author : John Billekens
        Reference : https://developer-docs.netscaler.com/en-us/adc-nitro-api/current-release/configuration/utility/callhome
        Requires : PowerShell v5.1 and up
                    NS 13.x and up.
                    NS 12 and lower may work, not guaranteed (best effort).
    .LINK
        https://blog.j81.nl
    #>

    [CmdletBinding(SupportsShouldProcess = $true, ConfirmImpact = "Low")]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingPlainTextForPassword', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingUserNameAndPasswordParams', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseBOMForUnicodeEncodedFile', '')]
    param(
        [Parameter(DontShow)]
        [Object]$NSSession = (Get-NSSession),

        [Boolean]$mode,

        [Boolean]$emailaddress,

        [Boolean]$hbcustominterval,

        [Boolean]$proxymode,

        [Boolean]$ipaddress,

        [Boolean]$proxyauthservice,

        [Boolean]$port 
    )
    begin {
        Write-Verbose "Invoke-NSUnsetCallhome: Starting"
    }
    process {
        try {
            $payload = @{ }
            if ( $PSBoundParameters.ContainsKey('mode') ) { $payload.Add('mode', $mode) }
            if ( $PSBoundParameters.ContainsKey('emailaddress') ) { $payload.Add('emailaddress', $emailaddress) }
            if ( $PSBoundParameters.ContainsKey('hbcustominterval') ) { $payload.Add('hbcustominterval', $hbcustominterval) }
            if ( $PSBoundParameters.ContainsKey('proxymode') ) { $payload.Add('proxymode', $proxymode) }
            if ( $PSBoundParameters.ContainsKey('ipaddress') ) { $payload.Add('ipaddress', $ipaddress) }
            if ( $PSBoundParameters.ContainsKey('proxyauthservice') ) { $payload.Add('proxyauthservice', $proxyauthservice) }
            if ( $PSBoundParameters.ContainsKey('port') ) { $payload.Add('port', $port) }
            if ( $PSCmdlet.ShouldProcess("callhome", "Unset Utilities. config Object") ) {
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method POST -Type callhome -NitroPath nitro/v1/config -Action unset -Payload $payload -GetWarning
                #HTTP Status Code on Success: 200 OK
                #HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error
                Write-Output $response
            }
        } catch {
            Write-Verbose "ERROR: $($_.Exception.Message)"
            throw $_
        }
    }
    end {
        Write-Verbose "Invoke-NSUnsetCallhome: Finished"
    }
}

function Invoke-NSGetCallhome {
    <#
    .SYNOPSIS
        Get Utilities. config object(s).
    .DESCRIPTION
        Configuration for callhome resource.
    .PARAMETER Nodeid
        Unique number that identifies the cluster node.
          
        Maximum value = 31
    .PARAMETER GetAll
        Retrieve all callhome object(s).
    .PARAMETER Count
        If specified, the count of the callhome object(s) will be returned.
    .PARAMETER Filter
        Specify a filter.
        -Filter @{ 'name'='<value>' }
    .PARAMETER ViewSummary
        When specified, only a summary of information is returned.
    .EXAMPLE
        PS C:\>Invoke-NSGetCallhome
        Get data.
    .EXAMPLE
        PS C:\>Invoke-NSGetCallhome -GetAll
        Get all callhome data.
    .EXAMPLE
        PS C:\>Invoke-NSGetCallhome -name <string>
        Get callhome object by specifying for example the name.
    .EXAMPLE
        PS C:\>Invoke-NSGetCallhome -Filter @{ 'name'='<value>' }
        Get callhome data with a filter.
    .NOTES
        File Name : Invoke-NSGetCallhome
        Version : v2311.2021
        Author : John Billekens
        Reference : https://developer-docs.netscaler.com/en-us/adc-nitro-api/current-release/configuration/utility/callhome/
        Requires : PowerShell v5.1 and up
                    NS 13.x and up.
                    NS 12 and lower may work, not guaranteed (best effort).
    .LINK
        https://blog.j81.nl
    #>

    [CmdletBinding(DefaultParameterSetName = "GetAll")]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingPlainTextForPassword', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingUserNameAndPasswordParams', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseBOMForUnicodeEncodedFile', '')]
    param(
        [Parameter(DontShow)]
        [Object]$NSSession = (Get-NSSession),

        [Parameter(ParameterSetName = 'GetByArgument')]
        [double]$Nodeid,
            
        [hashtable]$Filter = @{ },

        [Parameter(ParameterSetName = 'GetAll')]
        [Switch]$GetAll
    )
    begin {
        Write-Verbose "Invoke-NSGetCallhome: Beginning"
    }
    process {
        try {
            if ( $PsCmdlet.ParameterSetName -eq 'GetAll' ) {
                $query = @{ }
                Write-Verbose "Retrieving all callhome objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type callhome -NitroPath nitro/v1/config -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'Count' ) {
                if ( $PSBoundParameters.ContainsKey('Count') ) { $query = @{ 'count' = 'yes' } }
                Write-Verbose "Retrieving total count for callhome objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type callhome -NitroPath nitro/v1/config -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByArgument' ) {
                Write-Verbose "Retrieving callhome objects by arguments"
                $arguments = @{ } 
                if ( $PSBoundParameters.ContainsKey('nodeid') ) { $arguments.Add('nodeid', $nodeid) }
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type callhome -NitroPath nitro/v1/config -Arguments $arguments -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByResource' ) {
                Write-Verbose "Retrieving callhome configuration for property ''"

            } else {
                Write-Verbose "Retrieving callhome configuration objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type callhome -NitroPath nitro/v1/config -Summary:$ViewSummary -Query $query -Filter $Filter -GetWarning
            }
        } catch {
            Write-Verbose "ERROR: $($_.Exception.Message)"
            $response = $null
        }
        Write-Output $response
    }
    end {
        Write-Verbose "Invoke-NSGetCallhome: Ended"
    }
}

function Invoke-NSInstall {
    <#
    .SYNOPSIS
        Install Utilities. config Object.
    .DESCRIPTION
        Configuration for 0 resource.
    .PARAMETER Url
        Url for the build file. Must be in the following formats:
        http://[user]:[password]@host/path/to/file
        https://[user]:[password]@host/path/to/file
        sftp://[user]:[password]@host/path/to/file
        scp://[user]:[password]@host/path/to/file
        ftp://[user]:[password]@host/path/to/file
        file://path/to/file.
    .PARAMETER Y
        Do not prompt for yes/no before rebooting.
    .PARAMETER L
        Use this flag to enable callhome.
    .PARAMETER A
        Use this flag to enable Citrix ADM Service Connect. This feature helps you discover your Citrix ADC instances effortlessly on Citrix ADM service and get insights and curated machine learning based recommendations for applications and Citrix ADC infrastructure. This feature lets the Citrix ADC instance automatically send system, usage and telemetry data to Citrix ADM service. View here [https://docs.citrix.com/en-us/citrix-adc/13/data-governance.html] to learn more about this feature. Use of this feature is subject to the Citrix End User ServiceAgreement. View here [https://www.citrix.com/buy/licensing/agreements.html].
    .PARAMETER Enhancedupgrade
        Use this flag for upgrading from/to enhancement mode.
    .PARAMETER Resizeswapvar
        Use this flag to change swap size on ONLY 64bit nCore/MCNS/VMPE systems NON-VPX systems.
    .PARAMETER Async
        Use this flag to return the install id when the nitro api request is sent.
        The id can be used later to track the installation progress via show ns job &lt;id&gt; command.
        For the cli request of install the flag is by default set as false as the installation progress details can be tracked via cli.
    .EXAMPLE
        PS C:\>Invoke-NSInstall -url <string>
        An example how to install install config Object(s).
    .NOTES
        File Name : Invoke-NSInstall
        Version : v2311.2021
        Author : John Billekens
        Reference : https://developer-docs.netscaler.com/en-us/adc-nitro-api/current-release/configuration/utility/install/
        Requires : PowerShell v5.1 and up
                    NS 13.x and up.
                    NS 12 and lower may work, not guaranteed (best effort).
    .LINK
        https://blog.j81.nl
    #>

    [CmdletBinding(SupportsShouldProcess = $true, ConfirmImpact = "Low")]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingPlainTextForPassword', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingUserNameAndPasswordParams', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseBOMForUnicodeEncodedFile', '')]
    param(
        [Parameter(DontShow)]
        [Object]$NSSession = (Get-NSSession),

        [Parameter(Mandatory)]
        [string]$Url,

        [boolean]$Y,

        [boolean]$L,

        [boolean]$A,

        [boolean]$Enhancedupgrade,

        [boolean]$Resizeswapvar,

        [boolean]$Async 

    )
    begin {
        Write-Verbose "Invoke-NSInstall: Starting"
    }
    process {
        try {
            $payload = @{ url = $url }
            if ( $PSBoundParameters.ContainsKey('y') ) { $payload.Add('y', $y) }
            if ( $PSBoundParameters.ContainsKey('l') ) { $payload.Add('l', $l) }
            if ( $PSBoundParameters.ContainsKey('a') ) { $payload.Add('a', $a) }
            if ( $PSBoundParameters.ContainsKey('enhancedupgrade') ) { $payload.Add('enhancedupgrade', $enhancedupgrade) }
            if ( $PSBoundParameters.ContainsKey('resizeswapvar') ) { $payload.Add('resizeswapvar', $resizeswapvar) }
            if ( $PSBoundParameters.ContainsKey('async') ) { $payload.Add('async', $async) }
            if ( $PSCmdlet.ShouldProcess($Name, "Install Utilities. config Object") ) {
                $result = Invoke-NSNitroApi -NSSession $NSSession -Method POST -NitroPath nitro/v1/config -Type install -Payload $payload -GetWarning
                #HTTP Status Code on Success: 200 OK
                #HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error
                Write-Output $result
            }
        } catch {
            Write-Verbose "ERROR: $($_.Exception.Message)"
            throw $_
        }
    }
    end {
        Write-Verbose "Invoke-NSInstall: Finished"
    }
}

function Invoke-NSGetRaid {
    <#
    .SYNOPSIS
        Get Utilities. config object(s).
    .DESCRIPTION
        Configuration for raid support resource.
    .PARAMETER GetAll
        Retrieve all raid object(s).
    .PARAMETER Count
        If specified, the count of the raid object(s) will be returned.
    .PARAMETER Filter
        Specify a filter.
        -Filter @{ 'name'='<value>' }
    .PARAMETER ViewSummary
        When specified, only a summary of information is returned.
    .EXAMPLE
        PS C:\>Invoke-NSGetRaid
        Get data.
    .EXAMPLE
        PS C:\>Invoke-NSGetRaid -GetAll
        Get all raid data.
    .EXAMPLE
        PS C:\>Invoke-NSGetRaid -name <string>
        Get raid object by specifying for example the name.
    .EXAMPLE
        PS C:\>Invoke-NSGetRaid -Filter @{ 'name'='<value>' }
        Get raid data with a filter.
    .NOTES
        File Name : Invoke-NSGetRaid
        Version : v2311.2021
        Author : John Billekens
        Reference : https://developer-docs.netscaler.com/en-us/adc-nitro-api/current-release/configuration/utility/raid/
        Requires : PowerShell v5.1 and up
                    NS 13.x and up.
                    NS 12 and lower may work, not guaranteed (best effort).
    .LINK
        https://blog.j81.nl
    #>

    [CmdletBinding(DefaultParameterSetName = "GetAll")]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingPlainTextForPassword', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingUserNameAndPasswordParams', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseBOMForUnicodeEncodedFile', '')]
    param(
        [Parameter(DontShow)]
        [Object]$NSSession = (Get-NSSession),
            
        [hashtable]$Filter = @{ },

        [Parameter(ParameterSetName = 'GetAll')]
        [Switch]$GetAll
    )
    begin {
        Write-Verbose "Invoke-NSGetRaid: Beginning"
    }
    process {
        try {
            if ( $PsCmdlet.ParameterSetName -eq 'GetAll' ) {
                $query = @{ }
                Write-Verbose "Retrieving all raid objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type raid -NitroPath nitro/v1/config -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'Count' ) {
                if ( $PSBoundParameters.ContainsKey('Count') ) { $query = @{ 'count' = 'yes' } }
                Write-Verbose "Retrieving total count for raid objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type raid -NitroPath nitro/v1/config -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByArgument' ) {
                Write-Verbose "Retrieving raid objects by arguments"
                $arguments = @{ } 
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type raid -NitroPath nitro/v1/config -Arguments $arguments -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByResource' ) {
                Write-Verbose "Retrieving raid configuration for property ''"

            } else {
                Write-Verbose "Retrieving raid configuration objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type raid -NitroPath nitro/v1/config -Summary:$ViewSummary -Query $query -Filter $Filter -GetWarning
            }
        } catch {
            Write-Verbose "ERROR: $($_.Exception.Message)"
            $response = $null
        }
        Write-Output $response
    }
    end {
        Write-Verbose "Invoke-NSGetRaid: Ended"
    }
}

function Invoke-NSGetTechsupport {
    <#
    .SYNOPSIS
        Get Utilities. config object(s).
    .DESCRIPTION
        Configuration for tech support resource.
    .PARAMETER Scope
        Use this option to gather data on the present node, all cluster nodes, or for the specified partitions. The CLUSTER scope generates smaller abbreviated archives for all nodes. The PARTITION scope collects the admin partition in addition to those specified. The partitionName option is only required for the PARTITION scope.
          
        Possible values = NODE, CLUSTER, PARTITION
    .PARAMETER Partitionname
        Name of the partition.
    .PARAMETER Upload
        Securely upload the collector archive to Citrix Technical Support using SSL. MyCitrix credentials will be required. If used with the -file option, no new collector archive is generated. Instead, the specified archive is uploaded. Note that the upload operation time depends on the size of the archive file, and the connection bandwidth.
    .PARAMETER Proxy
        Specifies the proxy server to be used when uploading a collector archive. Use this parameter if the Citrix ADC does not have direct internet connectivity. The basic format of the proxy string is: "proxy_IP:&lt;proxy_port&gt;" (without quotes). If the proxy requires authentication the format is: "username:password@proxy_IP:&lt;proxy_port&gt;".
    .PARAMETER Casenumber
        Specifies the associated case or service request number if it has already been opened with Citrix Technical Support.
    .PARAMETER File
        Specifies the name (with full path) of the collector archive file to be uploaded. If this is specified, no new collector archive is generated.
    .PARAMETER Description
        Provides a text description for the the upload, and can be used for logging purposes.
    .PARAMETER Authtoken
        Specifies the Authentication Token, which is used to login to Citrix upload server. Please copy/paste the URL https://cis.citrix.com/auth/api/create_identity_v2/?expiration=3600 in a browser to complete the two factor authentication and generate it. The token is valid for 3600 seconds (1 hour).
    .PARAMETER Time
        Specifies the time in common log format, ie. DD/MMM/YYYY:HH:MM:SS, to be used for locating the newnslog file. With this option at most four newnslog log files are collected. First is the newnslog file, spanning the given time. Second is the one, created just prior to the first (if it exists). Third is the one, created just later than the first (if it exists). And the fourth is the latest newnslog directory. In case, the scope is cluster, then second and third type is skipped on all nodes.
    .PARAMETER Adss
        Option for collecting showtechsupport bundle on ADSS cluster/node.
    .PARAMETER Nodes
        Use this option to collect showtechsupport bundle only from the nodes given as a list to this option. If -file option is used, it will collect the files from the given nodes back to the cco and will upload the compressed folder containing the files from there.
          
        Maximum value = 255
    .PARAMETER GetAll
        Retrieve all techsupport object(s).
    .PARAMETER Count
        If specified, the count of the techsupport object(s) will be returned.
    .PARAMETER Filter
        Specify a filter.
        -Filter @{ 'name'='<value>' }
    .PARAMETER ViewSummary
        When specified, only a summary of information is returned.
    .EXAMPLE
        PS C:\>Invoke-NSGetTechsupport
        Get data.
    .EXAMPLE
        PS C:\>Invoke-NSGetTechsupport -GetAll
        Get all techsupport data.
    .EXAMPLE
        PS C:\>Invoke-NSGetTechsupport -name <string>
        Get techsupport object by specifying for example the name.
    .EXAMPLE
        PS C:\>Invoke-NSGetTechsupport -Filter @{ 'name'='<value>' }
        Get techsupport data with a filter.
    .NOTES
        File Name : Invoke-NSGetTechsupport
        Version : v2311.2021
        Author : John Billekens
        Reference : https://developer-docs.netscaler.com/en-us/adc-nitro-api/current-release/configuration/utility/techsupport/
        Requires : PowerShell v5.1 and up
                    NS 13.x and up.
                    NS 12 and lower may work, not guaranteed (best effort).
    .LINK
        https://blog.j81.nl
    #>

    [CmdletBinding(DefaultParameterSetName = "GetAll")]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingPlainTextForPassword', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingUserNameAndPasswordParams', '')]
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseBOMForUnicodeEncodedFile', '')]
    param(
        [Parameter(DontShow)]
        [Object]$NSSession = (Get-NSSession),

        [Parameter(ParameterSetName = 'GetByArgument')]
        [ValidateSet('NODE', 'CLUSTER', 'PARTITION')]
        [string]$Scope,

        [Parameter(ParameterSetName = 'GetByArgument')]
        [ValidateScript({ $_.Length -gt 1 })]
        [string]$Partitionname,

        [Parameter(ParameterSetName = 'GetByArgument')]
        [boolean]$Upload,

        [Parameter(ParameterSetName = 'GetByArgument')]
        [string]$Proxy,

        [Parameter(ParameterSetName = 'GetByArgument')]
        [string]$Casenumber,

        [Parameter(ParameterSetName = 'GetByArgument')]
        [string]$File,

        [Parameter(ParameterSetName = 'GetByArgument')]
        [string]$Description,

        [Parameter(ParameterSetName = 'GetByArgument')]
        [string]$Authtoken,

        [Parameter(ParameterSetName = 'GetByArgument')]
        [ValidateLength(20, 20)]
        [string]$Time,

        [Parameter(ParameterSetName = 'GetByArgument')]
        [boolean]$Adss,

        [Parameter(ParameterSetName = 'GetByArgument')]
        [double[]]$Nodes,
            
        [hashtable]$Filter = @{ },

        [Parameter(ParameterSetName = 'GetAll')]
        [Switch]$GetAll
    )
    begin {
        Write-Verbose "Invoke-NSGetTechsupport: Beginning"
    }
    process {
        try {
            if ( $PsCmdlet.ParameterSetName -eq 'GetAll' ) {
                $query = @{ }
                Write-Verbose "Retrieving all techsupport objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type techsupport -NitroPath nitro/v1/config -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'Count' ) {
                if ( $PSBoundParameters.ContainsKey('Count') ) { $query = @{ 'count' = 'yes' } }
                Write-Verbose "Retrieving total count for techsupport objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type techsupport -NitroPath nitro/v1/config -Query $query -Summary:$ViewSummary -Filter $Filter -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByArgument' ) {
                Write-Verbose "Retrieving techsupport objects by arguments"
                $arguments = @{ } 
                if ( $PSBoundParameters.ContainsKey('scope') ) { $arguments.Add('scope', $scope) } 
                if ( $PSBoundParameters.ContainsKey('partitionname') ) { $arguments.Add('partitionname', $partitionname) } 
                if ( $PSBoundParameters.ContainsKey('upload') ) { $arguments.Add('upload', $upload) } 
                if ( $PSBoundParameters.ContainsKey('proxy') ) { $arguments.Add('proxy', $proxy) } 
                if ( $PSBoundParameters.ContainsKey('casenumber') ) { $arguments.Add('casenumber', $casenumber) } 
                if ( $PSBoundParameters.ContainsKey('file') ) { $arguments.Add('file', $file) } 
                if ( $PSBoundParameters.ContainsKey('description') ) { $arguments.Add('description', $description) } 
                if ( $PSBoundParameters.ContainsKey('authtoken') ) { $arguments.Add('authtoken', $authtoken) } 
                if ( $PSBoundParameters.ContainsKey('time') ) { $arguments.Add('time', $time) } 
                if ( $PSBoundParameters.ContainsKey('adss') ) { $arguments.Add('adss', $adss) } 
                if ( $PSBoundParameters.ContainsKey('nodes') ) { $arguments.Add('nodes', $nodes) }
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type techsupport -NitroPath nitro/v1/config -Arguments $arguments -GetWarning
            } elseif ( $PsCmdlet.ParameterSetName -eq 'GetByResource' ) {
                Write-Verbose "Retrieving techsupport configuration for property ''"

            } else {
                Write-Verbose "Retrieving techsupport configuration objects"
                $response = Invoke-NSNitroApi -NSSession $NSSession -Method GET -Type techsupport -NitroPath nitro/v1/config -Summary:$ViewSummary -Query $query -Filter $Filter -GetWarning
            }
        } catch {
            Write-Verbose "ERROR: $($_.Exception.Message)"
            $response = $null
        }
        Write-Output $response
    }
    end {
        Write-Verbose "Invoke-NSGetTechsupport: Ended"
    }
}

# SIG # Begin signature block
# MIIkmgYJKoZIhvcNAQcCoIIkizCCJIcCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAqjWb2TnffAsiF
# D2bvKNPjUGirXkKl4HttOKx2Hw5R3aCCHl4wggTzMIID26ADAgECAhAsJ03zZBC0
# i/247uUvWN5TMA0GCSqGSIb3DQEBCwUAMHwxCzAJBgNVBAYTAkdCMRswGQYDVQQI
# ExJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAOBgNVBAcTB1NhbGZvcmQxGDAWBgNVBAoT
# D1NlY3RpZ28gTGltaXRlZDEkMCIGA1UEAxMbU2VjdGlnbyBSU0EgQ29kZSBTaWdu
# aW5nIENBMB4XDTIxMDUwNTAwMDAwMFoXDTI0MDUwNDIzNTk1OVowWzELMAkGA1UE
# BhMCTkwxEjAQBgNVBAcMCVZlbGRob3ZlbjEbMBkGA1UECgwSSm9oYW5uZXMgQmls
# bGVrZW5zMRswGQYDVQQDDBJKb2hhbm5lcyBCaWxsZWtlbnMwggEiMA0GCSqGSIb3
# DQEBAQUAA4IBDwAwggEKAoIBAQCsfgRG81keOHalHfCUgxOa1Qy4VNOnGxB8SL8e
# rjP9SfcF13McP7F1HGka5Be495pTZ+duGbaQMNozwg/5Dg9IRJEeBabeSSJJCbZo
# SNpmUu7NNRRfidQxlPC81LxTVHxJ7In0MEfCVm7rWcri28MRCAuafqOfSE+hyb1Z
# /tKyCyQ5RUq3kjs/CF+VfMHsJn6ZT63YqewRkwHuc7UogTTZKjhPJ9prGLTer8UX
# UgvsGRbvhYZXIEuy+bmx/iJ1yRl1kX4nj6gUYzlhemOnlSDD66YOrkLDhXPMXLym
# AN7h0/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