Skip to content

ConvertFrom-ReliqueJdbcCsvCsvDriver

SYNOPSIS

Converts a ImportClient configuration to a PSCustomObject.

SYNTAX

1
2
ConvertFrom-ReliqueJdbcCsvCsvDriver [-ImportClientConfiguration] <PSObject>
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

The ConvertFrom-ReliqueJdbcCsvCsvDriver function converts a ImportClient configuration to a more manageable PSCustomObject. The conversion means that, for example, any schemas or protocols are removed from the connection string. All parameters are added to the new object as separate properties.

EXAMPLES

EXAMPLE 1

1
ConvertFrom-ReliqueJdbcCsvCsvDriver -ImportClientConfiguration $ImportClientConfiguration

suppressHeaders : true separator : ; fileNameWithExtension : Textfilen.txt fileExtension : .txt charset : Windows-1252 fileName : Textfilen headerline : Fornamn;Efternamn;E-mail;Anvandarnamn path : D:\Easit\PSImportClient\Filer OriginalConnectionString : jdbc:relique:csv:./Filer?fileExtension=.txt&separator=;&charset=Windows-1252&suppressHeaders=true&headerline=Fornamn;Efternamn;E-mail;Anvandarnamn OriginalQuery : SELECT * FROM Textfilen WHERE "egenskap" \<> '' query : @{Select=; From=Textfilen; Where=}

PARAMETERS

-ImportClientConfiguration

ImportClient configuration to convert.

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

Required: True
Position: 1
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

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

PSCustomObject

OUTPUTS

PSCustomObject

NOTES