Invoke-VPASQuery


Supported Environments:
SelfHosted
SharedServices
PCloudStandard


Synopsis:

QUERY DATABASE BUILT BY VpasModule


Description:

USE THIS FUNCTION TO QUERY THE DATABASE BUILT BY VpasModule


Syntax:

Invoke-VPASQuery [-query] <String> [[-NoSSL]] [<CommonParameters>]


Parameters:

-query <String>
SQL statement to be run against the database hosting outputs from VpasModule

Required: true
Position: 1
Default value:
Accept pipeline input: true (ByPropertyName)
Accept wildcard characters: false

-NoSSL [<SwitchParameter>]
If the environment is not set up for SSL, API calls will be made via HTTP not HTTPS (Not Recommended!)

Required: false
Position: 2
Default value: False
Accept pipeline input: true (ByPropertyName)
Accept wildcard characters: false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug
ErrorAction, ErrorVariable, WarningAction, WarningVariable
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216)


Examples:

$QueryOutput = Invoke-VPASQuery -query {QUERY VALUE}


Outputs:

$Query output if successful

$false if failed