File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33# Load Configurations
44foreach ($file in (Get-ChildItem " $ModuleRoot \internal\configurations\*.ps1" - ErrorAction Ignore)) {
5- . Import-ModuleFile - Path $file.FullName
5+ . Import-ModuleFile - Path $file.FullName
66}
77
88# Load Tab Expansion
99foreach ($file in (Get-ChildItem " $ModuleRoot \internal\tepp\*.tepp.ps1" - ErrorAction Ignore)) {
10- . Import-ModuleFile - Path $file.FullName
10+ . Import-ModuleFile - Path $file.FullName
1111}
1212
1313# Load Tab Expansion Assignment
@@ -20,6 +20,13 @@ foreach ($file in (Get-ChildItem "$ModuleRoot\internal\tepp\*.tepp.ps1" -ErrorAc
2020$server = Get-PSFConfigValue psdatabaseclone.database.server
2121$database = Get-PSFConfigValue psdatabaseclone.database.name
2222
23- if (($server -eq $null ) -or ($database -eq $null )){
24- Write-PSFMessage - Message " The module is not yet configured. Please run Set-PdcConfiguration to make the neccesary changes" - Level Warning
23+ if (($server -eq $null ) -or ($database -eq $null )) {
24+ Write-PSFMessage - Message " The module is not yet configured. Please run Set-PdcConfiguration to make the neccesary changes" - Level Warning
2525}
26+
27+ $TypeAliasTable = @ {
28+ PSDCClone = " PSDatabaseClone.Parameter.Clone"
29+ PSDCImage = " PSDatabaseClone.Parameter.Image"
30+ }
31+
32+ Set-PSFTypeAlias - Mapping $TypeAliasTable
You can’t perform that action at this time.
0 commit comments