Structure
This chapter presents the structure of DMK.
DMK Directory structure
Name
Description
Prompt customization
weblogic@:\u01\app\weblogic\local\dmk\ [wlsdomain]# directory where my scripts are stored
$psdir="D:\app\weblogic\local\dmk\bin\dmk.ps1"
# load all 'autoload' scripts
Get-Item "${psdir}" | %{.$_}
function prompt {
# Print the current WebLogic domain selected:
Write-Host ("[") -nonewline -foregroundcolor DarkGray
Write-Host ( $ENV:WEBLOGIC_DOMAIN) -nonewline -foregroundcolor White
Write-Host ("][") -nonewline -foregroundcolor DarkGray
# Print the working directory:
Write-Host ($PWD) -nonewline -foregroundcolor Gray
Write-Host ("]") -nonewline -foregroundcolor DarkGray
}
Write-Host "Custom PowerShell Environment Loaded"Last updated