User guide and description
Utility Installer ForMultipleVMs - A simple PowerShell Script to automate the utility installations on domain joined Virtual Machines.
Located at github.com/koder101/Utility_Installer_ForMultipleVMs
- This utilities can be Installed/UnInstalled silently without user intervention to click the UI.
See
Important Note
for more details.
- This script is quite generic to support many type of utility installations.
- The same script can also be used to UnInstall the utilities based on config value in the input file.
- The scipt uses two ways to trigger the Installation :
Invoke-Command
PsExec64.exe
of PSTools available here
- Clone the project to your local.
- Open and configure the
UtilityLists.csv
file.
SourceFolder
: The Source machine folder path where individual utility folder will be present. This will contain the utility executable and the corresponding Installer batch file.TargetFolder
: The Target machine folder path where each utility folder will be copied.InstallerBat
: The name of the Installer batch file of each utility.TargetMachineName
: The domain joined target Machine name.IsInstall
: The boolean parameter which determines the install or uninstall of the utility. 1 = Install; 0 = UnInstall.
- Prepare the individual utility's Installer batch file with Install and UnInstall commands as included in the sample.
- Set the above prepared input file path and the any output file path.
- Run the Script.
- Preparing the individual utility's silent Installer bat is a separate task.
- Since different utilities can have their own commands for silent Install or UnInstall, hence it should be identified in advance, though it's a one time activity.
- For installation of products like MS-Office or SharePoint designer, use their XML config files to configure the silent installation.
- Some utility's silent installation works well with
Invoke-Command
and some withPSTools
. Most of the utilities can be installed viaInvoke-Command
, if not, then use thePSTools
. For this, the change is required in the PowerShell script.
Contributions are welcome!
- Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
- Fork the repository to start making your changes to the master branch (or branch off of it).
- I recommend to prepare a test which shows that the bug was fixed or that the feature works as expected.
- Send a pull request and bug the maintainer until it gets merged and published. 😃
Have some questions? Found a bug? Create new issue.
This tool is released under the MIT license. See LICENSE for details.