<# FPS:Metadata:Pro-Locations:ACTIVE #>

 

<#

 

.DESCRIPTION

Metadata Baseline: Pro-Locations.ps1

 

In the past iterations of the methodology, locations were designed internally to the CmdLets and the Snippets. This turned out to be somewhat of an

issue in that the base locational variables could be altered changing the variables down the line as designed in the individual CmdLets. So to prevent

any future locational issues, all of the default values are first designed here (with the exception being manifest variables) and then called from the

various CmdLets and scripts.

   

.USAGE

Called by profile.ps1.

 

.EXAMPLE

 

. ($global:pro_CIBase.RuntimeMetadata+"\Pro-Locations.ps1")

 

.CC

 

[2025.03.18 JD] Updated LocalFoundationalOpsAdminSrc to reflect the correct location.

[2024.12.30 JD] Added KeePassConfigurationFile

[2024.11.16 JD] Added the local site name for use when checking for changed to the src directory

[2024.11.05 JD] Updates made to the locations for the Show shortcut

[2024.10.16 JD] Updates made to the locations of FoundationalOps

[2024.09.28 JD] Modules must be added to the $global:pro_Release before they can be recognized. Once recognized, new module creation should not

                occur mid family release.

 

.NOTES

 

#>

 

$global:pro_Locations = @(

    [PSCustomObject]@{ 

 

                        KeePass = $global:pro_CIBase.RuntimeCollections+"\KeePass"

                        KeePassConfigurationFile = 'C:\Program Files\KeePass Password Safe 2\KeePass.exe.config'

                        Servicenow = $global:pro_CIBase.RuntimeCollections+"\Servicenow"

                        WordPress = $global:pro_CIBase.RuntimeCollections+"\WordPress"

 

                        PublicHtmlSource = $global:pro_CI.Source+'\public_html';

 

                        FoundationalOpsAdminSource = $global:pro_CI.Source+'\Web\Admin';

                        FoundationalOpsAdminFramework = $global:pro_CIBase.RuntimeWeb+"\Admin\Framework";

                        FoundationalOpsAdminViews = $global:pro_CIBase.RuntimeWeb+"\Admin\Views";

                        FoundationalOpsAdminSrc = $global:pro_CIBase.RuntimeWeb+"\Admin\Views\pages\src\"+$global:pro_CI.Family+"-"+$global:pro_CI.Patch;

 

                        #C:\Users\jimdi\Local Sites\foundationalops\app\public\src\Aloha-P1

                        LocalFoundationalOpsAdminSrc = $global:pro_CI.SourceDrive.replace("OneDrive",("Local Sites\"+$global:pro_CI.LocalOpsSite+"\app\public\src\"+$global:pro_CI.Family+"-"+$global:pro_CI.Patch));

                       

                        CIsCore = $global:pro_CIBase.RuntimeCollections+"\CIs-Core"

                        CIsServer = $global:pro_CIBase.RuntimeCollections+"\CIs-Server"

                        CIsSolo = $global:pro_CIBase.RuntimeCollections+"\CIs-Solo"

                        Users = $global:pro_CIBase.RuntimeCollections+"\Users"

                       

                     }

)

 

# Load the Show variables for Pro_Locations

 

  $global:sProShowBuff += (ConvertTo-DotFill $global:ShowDotLen '$global:pro_Locations.KeePass')+$global:pro_Locations.KeePass+'|' 

  $global:sProShowBuff += (ConvertTo-DotFill $global:ShowDotLen '$global:pro_Locations.Servicenow')+$global:pro_Locations.Servicenow+'|'

  $global:sProShowBuff += (ConvertTo-DotFill $global:ShowDotLen '$global:pro_Locations.WordPress')+$global:pro_Locations.WordPress+'|'

  $global:sProShowBuff += (ConvertTo-DotFill $global:ShowDotLen '$global:pro_Locations.PublicHtmlSource')+$global:pro_Locations.PublicHtmlSource+'|'

  $global:sProShowBuff += (ConvertTo-DotFill $global:ShowDotLen '$global:pro_Locations.CIsCore')+$global:pro_Locations.CIsCore+'|'

  $global:sProShowBuff += (ConvertTo-DotFill $global:ShowDotLen '$global:pro_Locations.CIsServer')+$global:pro_Locations.CIsServer+'|'

  $global:sProShowBuff += (ConvertTo-DotFill $global:ShowDotLen '$global:pro_Locations.CIsSolo')+$global:pro_Locations.CIsSolo+'|'

  $global:sProShowBuff += (ConvertTo-DotFill $global:ShowDotLen '$global:pro_Locations.Users')+$global:pro_Locations.Users+'||'

 

  $global:sProShowBuff += (ConvertTo-DotFill $global:ShowDotLen '$global:pro_Locations.FoundationalOpsAdminSource')+$global:pro_Locations.FoundationalOpsAdminSource+'|'

  $global:sProShowBuff += (ConvertTo-DotFill $global:ShowDotLen '$global:pro_Locations.FoundationalOpsAdminFramework')+$global:pro_Locations.FoundationalOpsAdminFramework+'|'

  $global:sProShowBuff += (ConvertTo-DotFill $global:ShowDotLen '$global:pro_Locations.FoundationalOpsAdminViews')+$global:pro_Locations.FoundationalOpsAdminViews+'|'

  $global:sProShowBuff += (ConvertTo-DotFill $global:ShowDotLen '$global:pro_Locations.FoundationalOpsAdminSrc')+$global:pro_Locations.FoundationalOpsAdminSrc+'|'

  $global:sProShowBuff += (ConvertTo-DotFill $global:ShowDotLen '$global:pro_Locations.LocalFoundationalOpsAdminSrc')+$global:pro_Locations.LocalFoundationalOpsAdminSrc+'|'