< Back
Test-OracleEnv
Post
NAME Test-OracleEnv
SYNOPSIS
Checks that the ORACLE_HOME is set. Returns $true if it is or $false otherwise.
SYNTAX
Test-OracleEnv [<CommonParameters>]
DESCRIPTION
This function returns $true if the ORACLE_HOME variable is set or $false otherwise
PARAMETERS
<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
System.Boolean
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>if (Test-OracleEnv) {
<Some commands>
}
RELATED LINKS
SYNOPSIS
Checks that the ORACLE_HOME is set. Returns $true if it is or $false otherwise.
SYNTAX
Test-OracleEnv [<CommonParameters>]
DESCRIPTION
This function returns $true if the ORACLE_HOME variable is set or $false otherwise
PARAMETERS
<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
System.Boolean
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>if (Test-OracleEnv) {
<Some commands>
}
RELATED LINKS