function New-WebTierWebApplications { <# .SYNOPSIS This function creates directories for some ORB web applications #> [CmdletBinding()] param() $basePath = (Get-OrbPath) $webApplications = @( @{ Name = "ORBFX"; Path = (Join-Path $basePath "ORBFX"); }, @{ Name = "CUFX"; Path = (Join-Path $basePath "CUFX"); }, @{ Name = "TextBanking"; Path = (Join-Path $basePath "TextBanking"); } ) foreach ($webApp in $webApplications) { ## Until we get these applications converted to the new installer pattern, we need to ensure the folders exist if (!(Test-Path $webApp.Path)) { New-Item -ItemType Directory -Path $webApp.Path | Out-Null } #Install-WebApplication -WebAppName $webApp.Name -SourcePath $webApp.Path -IsClient -NeedsShared Write-Host "Skipping app install of $($webApp.Name)" } } Set-Alias -name Create-WebTierWebApplications -value New-WebTierWebApplications