< Back

Get-OracleHosts

Thu Jan 16, 2020 8:30 am

NAME Get-OracleHosts



SYNOPSIS

Query an Oracle database to get the names of all its hosts





SYNTAX

Get-OracleHosts [-TargetDB] <String[]> [[-DBUser] <String>] [-PasswordPrompt] [-Table] [-ErrorLog]

[[-ErrorLogFile] <String>] [[-Parallelism] <Int32>] [<CommonParameters>]





DESCRIPTION

This function returns host names for a target oracle database





PARAMETERS

-TargetDB <String[]>

This can be a list of databases



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-DBUser <String>

Username if required



Required? false

Position? 2

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



-Table [<SwitchParameter>]

Swtich to get output as table instead of lists



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? 3

Default value "$env:TEMP\\OracleUtils_Errors_$PID.log"

Accept pipeline input? false

Accept wildcard characters? false



-Parallelism <Int32>

Parallelism Degree



Required? false

Position? 4

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 --------------------------



Get-OracleHosts -TargetDB <DB NAME>[-ErrorLog]















RELATED LINKS





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Get-OracleDBInfo; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : ora-info



remarks : Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only

partial help.

-- To download and install Help files for the module that includes this cmdlet, use

Update-Help.

alertSet :

description :

examples :

Synopsis :

Get-OracleDBInfo [-TargetDB] <string[]> [-DBUser <string>] [-PasswordPrompt]

[<CommonParameters>]



ModuleName : JS.OracleDatabase

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Get-OracleDBInfo

Category : Function

Component :

Role :

Functionality :