< Back
Get-OracleDBVersion
Post
NAME Get-OracleDBVersion
SYNOPSIS
Query an Oracle database to get the database version
SYNTAX
Get-OracleDBVersion [-TargetDB] <String[]> [-DBUser <String>] [-PasswordPrompt] [-ErrorLog] [-ErrorLogFile
<String>] [-Parallelism <Int32>] [<CommonParameters>]
DESCRIPTION
This function returns the database version
PARAMETERS
-TargetDB <String[]>
Target Database
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-DBUser <String>
Username if required
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PasswordPrompt [<SwitchParameter>]
Flag to ask for a password
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-ErrorLog [<SwitchParameter>]
Switch to turn on the error logging
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-ErrorLogFile <String>
Required? false
Position? named
Default value "$env:TEMP\\OracleUtils_Errors_$PID.log"
Accept pipeline input? false
Accept wildcard characters? false
-Parallelism <Int32>
Parallelism Degree
Required? false
Position? named
Default value 1
Accept pipeline input? false
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).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-OracleDBVersion -TargetDB myorcl
RELATED LINKS
SYNOPSIS
Query an Oracle database to get the database version
SYNTAX
Get-OracleDBVersion [-TargetDB] <String[]> [-DBUser <String>] [-PasswordPrompt] [-ErrorLog] [-ErrorLogFile
<String>] [-Parallelism <Int32>] [<CommonParameters>]
DESCRIPTION
This function returns the database version
PARAMETERS
-TargetDB <String[]>
Target Database
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-DBUser <String>
Username if required
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PasswordPrompt [<SwitchParameter>]
Flag to ask for a password
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-ErrorLog [<SwitchParameter>]
Switch to turn on the error logging
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-ErrorLogFile <String>
Required? false
Position? named
Default value "$env:TEMP\\OracleUtils_Errors_$PID.log"
Accept pipeline input? false
Accept wildcard characters? false
-Parallelism <Int32>
Parallelism Degree
Required? false
Position? named
Default value 1
Accept pipeline input? false
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).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-OracleDBVersion -TargetDB myorcl
RELATED LINKS