Public/Coding/New-EdenServiceSubscription.ps1
function New-EdenServiceSubscription { <# .SYNOPSIS Creating new subscription. .DESCRIPTION Runs the './Eden/Coding/New-ServiceSubscription.ps1' script. #> [CmdletBinding()] param( # The name of the new component to create. [Alias("n")] [Parameter(Mandatory=$True)] [String] $Name, # (Optional) The name of the service the component is being added to. [Alias("svn")] [String] $ServiceName, # (Optional) The name of the solution the component is being added to. [Alias("sln")] [String] $SolutionName, # 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-EdenCommandCodeFlow ` -LocalCommandPath "Coding/New-ServiceSubscription" ` -Name $Name ` -Servicename $ServiceName ` -SolutionName $SolutionName ` -SettingsName $SettingsName ` -CommandGroup "Coding" ` -Message "Creating new subscription." ` -AdditionalArguments $AdditionalArguments } New-Alias ` -Name e-cscsub ` -Value New-EdenServiceSubscription ` -Force |