Misc/Get-ContainerFromProduct.ps1
function Get-ContainerFromProduct { Param( [Parameter(Mandatory = $true)] [string]$Product ) switch ($Product) { "Allocations" { "allocationsbc" break } "Base" { "basebc" break } "CommissionManagement" { "commissionsbc" break } "CreditCard" { "creditcardbc" break } "CreditManagement" { "creditmgtbc" break } "NationalAccounts" { "natacctbc" break } "PayAssist" { "payassistbc" break } "Search" { "searchbc" break } } } |