Public/Deploying/Invoke-EdenServiceStagingSwap.ps1
function Invoke-EdenServiceStagingSwap { <# .SYNOPSIS Swaping staging with production. .DESCRIPTION Swaping staging with production. by calling the local './Eden/Deploying/Invoke-ServiceStagingSwap.ps1' script. #> [CmdletBinding()] param( # The name of the local or global settins file to pass to the Eden script. [Alias("sn")] [String] $SettingsName, # The additional arguments to pass to the Eden script. [Alias("aa")] [HashTable] $AdditionalArguments ) Invoke-EdenCommandStandardFlow ` -LocalCommandPath "Deploying/Invoke-ServiceStagingSwap" ` -SettingsName $SettingsName ` -CommandGroup "Deploying" ` -Message "Swaping staging with production." ` -AdditionalArguments $AdditionalArguments } New-Alias ` -Name e-dpss ` -Value Invoke-EdenServiceStagingSwap ` -Force |