File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -1487,18 +1487,7 @@ Function Redo-LTService{
1487
1487
1488
1488
Write-Verbose " Starting: Install-LTService -Server $ ( $ServerList -join ' ,' ) $PasswordArg -LocationID $LocationID -Hide:`$ $ ( $Hide ) $RenameArg "
1489
1489
Try {
1490
- $InstallLTServiceParams = @ {
1491
- Server = $ServerList
1492
- ServerPassword = $ServerPassword
1493
- LocationID = $LocationID
1494
- Hide = $Hide
1495
- Rename = $Rename
1496
- Force = $true
1497
- }
1498
- if ($SkipDotNet ) {
1499
- $InstallLTServiceParams.SkipDotNet = $true
1500
- }
1501
- Install-LTService @InstallLTServiceParams
1490
+ Install-LTService - Server $ServerList - ServerPassword $ServerPassword - LocationID $LocationID - Hide:$Hide - Rename $Rename - SkipDotNet:$SkipDotNet - Force
1502
1491
}# End Try
1503
1492
1504
1493
Catch {
You can’t perform that action at this time.
0 commit comments