Get-EasitGODatasource
SYNOPSIS
Get datasources from Easit GO.
SYNTAX
1 2 3 4 |
|
DESCRIPTION
With Get-EasitGODatasource you can get datasources for a specific module from Easit GO. If no ParentRawValue is provided the function returns the modules root datasources.
EXAMPLES
EXAMPLE 1
1 2 3 4 5 6 |
|
In this example we want to get all datasources in the root in the module with id 1001.
EXAMPLE 2
1 2 3 4 5 6 7 |
|
In this example we want to get all child datasources to the data source with databaseId (or rawValue) 5:1 in the module with id 1001.
EXAMPLE 3
1 2 3 4 5 6 7 8 |
|
In this example we want to get all child datasources to the data source with databaseId (or rawValue) 5:1 in the module with id 1001 and we want them returned as separate objects.
PARAMETERS
-Apikey
Apikey used for authenticating to Easit GO.
1 2 3 4 5 6 7 8 9 |
|
-ConvertToJsonParameters
Set of additional parameters for ConvertTo-Json. Base parameters sent to ConvertTo-Json is 'Depth = 4', 'EscapeHandling = 'EscapeNonAscii'', 'WarningAction = 'SilentlyContinue''.
1 2 3 4 5 6 7 8 9 |
|
-InvokeRestMethodParameters
Set of additional parameters for Invoke-RestMethod. Base parameters sent to Invoke-RestMethod is 'Uri','ContentType', 'Method', 'Body', 'Authentication' and 'Credential'.
1 2 3 4 5 6 7 8 9 |
|
-ModuleId
Specifies what module to get datasources from.
1 2 3 4 5 6 7 8 9 |
|
-ParentRawValue
Specifies what datasource to get child datasources from. If not specified, root level datasources will be returned.
1 2 3 4 5 6 7 8 9 |
|
-ProgressAction
Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider, such as the progress bars generated by the Write-Progress cmdlet. The Write-Progress cmdlet creates progress bars that show a command's status.
The ProgressAction parameter takes one of the ActionPreference enumeration values: SilentlyContinue, Stop, Continue, Inquire, Ignore, Suspend, or Break.
1 2 3 4 5 6 7 8 9 |
|
-ReturnAsSeparateObjects
Specifies if Get-EasitGOItem should return each item in the view as its own PSCustomObject.
1 2 3 4 5 6 7 8 9 |
|
-Url
URL to Easit GO.
1 2 3 4 5 6 7 8 9 |
|
-WriteBody
If specified the function will try to write the request body to a file in the current directory.
1 2 3 4 5 6 7 8 9 |
|
-Confirm
Prompts you for confirmation before running the cmdlet.
1 2 3 4 5 6 7 8 9 |
|
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
1 2 3 4 5 6 7 8 9 |
|
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.