Set-R1JdbcDriverLibrary

SYNOPSIS

Sets the libraries a JDBC driver depends on.

SYNTAX

Set-R1JdbcDriverLibrary [-name] <String> [-libraries] <Object[]> [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Replaces the library references of the named driver file with the collection supplied.

EXAMPLES

Example 1

Set-R1JdbcDriverLibrary -name 'csvjdbc-1.0.41.jar' -libraries @()

Records that the driver depends on no other libraries, as the control panel does after an upload.

PARAMETERS

-name

The name of the file.

Type: String
Parameter Sets: (All)
Aliases:

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

-libraries

The complete collection of library references.

Type: Object[]
Parameter Sets: (All)
Aliases:

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

-WhatIf

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

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

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

OUTPUTS

System.Void

NOTES

The collection supplied replaces the one configured, so an entry left out is removed. Retrieve the current collection first and pass back the whole of it to add to it.

Get-R1JdbcDriverLibrary