Skip to content

Get-EasitGOImportClientConfiguration

SYNOPSIS

Get a ImportClient configuration from Easit GO.

SYNTAX

1
2
3
Get-EasitGOImportClientConfiguration [-Url] <String> [-Apikey] <String> [-Identifier] <String>
 [[-InvokeWebRequestParameters] <Hashtable>] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

With Get-EasitGOImportClientConfiguration you can get a configuration used by ImportClient.jar for retrieving object from external sources such as Active Directory or CSV-files.

EXAMPLES

EXAMPLE 1

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
$getIccConfigurationFromEasitGO = @{
    Url = 'https://url.to.EasitGO'
    Apikey = 'myApiKey'
    Identifier = 'myImportClientConfiguration'
}
$configuration = Get-EasitGOImportClientConfiguration @getIccConfigurationFromEasitGO
$adUsers = @()
foreach ($query in $configuration.queries) {
    $adUsers += Get-AdUser -LDAPFilter $query.filter
}

PARAMETERS

-Apikey

Apikey used for authenticating to Easit GO.

1
2
3
4
5
6
7
8
9
Type: String
Parameter Sets: (All)
Aliases: api, key

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Identifier

Specifies the name of the configuration to get.

1
2
3
4
5
6
7
8
9
Type: String
Parameter Sets: (All)
Aliases: name

Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-InvokeWebRequestParameters

Set of additional parameters for Invoke-WebRequest. Base parameters sent to Invoke-WebRequest is 'Uri', 'ContentType', 'ErrorAction'.

1
2
3
4
5
6
7
8
9
Type: Hashtable
Parameter Sets: (All)
Aliases: iwrParams

Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-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
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Url

URL to Easit GO.

1
2
3
4
5
6
7
8
9
Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

1
2
3
4
5
6
7
8
9
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

1
2
3
4
5
6
7
8
9
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

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.

INPUTS

None - You cannot pipe objects to this function

OUTPUTS

PSCustomObject

NOTES