Skip to content

Add SkipDotNet to Redo-LTService #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

DrDrrae
Copy link
Contributor

@DrDrrae DrDrrae commented Feb 22, 2019

No description provided.

@@ -1480,7 +1487,18 @@ Function Redo-LTService{

Write-Verbose "Starting: Install-LTService -Server $($ServerList -join ',') $PasswordArg -LocationID $LocationID -Hide:`$$($Hide) $RenameArg"
Try{
Install-LTService -Server $ServerList -ServerPassword $ServerPassword -LocationID $LocationID -Hide:$Hide -Rename $Rename -Force
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know I'm nobody to talk about bloat, but I would prefer staying with the one-liner invocation, at 1/3 the length.
Please submit as a one-liner such as:
Install-LTService -Server $ServerList -ServerPassword $ServerPassword -LocationID $LocationID -Hide:$Hide -Rename $Rename -SkipDotNet:$SkipDotNet -Force

Match rest of code.
@DrDrrae
Copy link
Contributor Author

DrDrrae commented Feb 23, 2019

My love for splatting strikes again. :-p

@LabtechConsulting LabtechConsulting merged commit 0242aaa into LabtechConsulting:master Feb 26, 2019
LabtechConsulting pushed a commit that referenced this pull request Feb 27, 2019
Merging current base to master branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants