Public/Coding/New-EdenServiceService.ps1
function New-EdenServiceService { <# .SYNOPSIS Creating new internal service. .DESCRIPTION Runs the './Eden/Coding/New-ServiceService.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-ServiceService" ` -Name $Name ` -Servicename $ServiceName ` -SolutionName $SolutionName ` -SettingsName $SettingsName ` -CommandGroup "Coding" ` -Message "Creating new internal service." ` -AdditionalArguments $AdditionalArguments } New-Alias ` -Name e-cscsvc ` -Value New-EdenServiceService ` -Force |