-
Notifications
You must be signed in to change notification settings - Fork 10
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
Is it possible to create the binary once and install on multiple nodes? #2
Comments
Yes. Stop the service then copyou the .exe from the saved location to wherever you want.. Then on the new server, via cmd prompt, path to the directory where you saved the .exe. Finally, type "the_exe_name.exe /install" Note, this will install it using the same Name, Description, etc as the source. |
Would it make sense to separate the two functions then (creation and installation)? |
michaeltlombardi
added a commit
to michaeltlombardi/New-PSService
that referenced
this issue
Oct 27, 2016
+ Moves the needle towards matthewoestreich#1 by making the functionality available in module format. Project is _not_ ready for full release to the gallery without unit tests (see below). + Separates the creation and installation of the service binaries, closes matthewoestreich#2 + Replaces Create-NewService script with New-ScriptAsService, closes matthewoestreich#3 + Replaced or removed all write-host from the functions, closes matthewoestreich#5 + Does expand on (but doesn't close out) help and examples per matthewoestreich#6 + Does **not** include unit tests as requested in matthewoestreich#7 + Example script and comment-based help now indicates requirement for installation to have administrator rights, closes matthewoestreich#8 + Adds the option to sign the binary at creation, closes matthewoestreich#9 + Removes all instances of Clear-Host, fixes matthewoestreich#10 + Most private functions have been removed, with the arguable exception of Set-ScriptAsServiceCredential which we've made public. Closes matthewoestreich#11 Overall this update also includes an example file and documentation as well as a first run at a build script for CI at a later date.
michaeltlombardi
added a commit
to michaeltlombardi/New-PSService
that referenced
this issue
Oct 27, 2016
+ Moves the needle towards matthewoestreich#1 by making the functionality available in module format. Project is _not_ ready for full release to the gallery without unit tests (see below). + Separates the creation and installation of the service binaries, closes matthewoestreich#2 + Replaces Create-NewService script with New-ScriptAsService, closes matthewoestreich#3 + Replaced or removed all write-host from the functions, closes matthewoestreich#5 + Does expand on (but doesn't close out) help and examples per matthewoestreich#6 + Does **not** include unit tests as requested in matthewoestreich#7 + Example script and comment-based help now indicates requirement for installation to have administrator rights, closes matthewoestreich#8 + Adds the option to sign the binary at creation, closes matthewoestreich#9 + Removes all instances of Clear-Host, fixes matthewoestreich#10 + Most private functions have been removed, with the arguable exception of Set-ScriptAsServiceCredential which we've made public. Closes matthewoestreich#11 Overall this update also includes an example file and documentation as well as a first run at a build script for CI at a later date.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It'd be useful (for example, with a log archival service) to be able to write once and deploy many times with a versioned, hashed binary.
Is that currently possible? It might require a separate
New-PSService
andInstall-PSService
functionality.The text was updated successfully, but these errors were encountered: