Here is a simple way to run other PowerShell scripts from within a PowerShell script.
assumption: the other PowerShell scripts are in the same directory.
note: you can also pass arguments!
assumption: the other PowerShell scripts are in the same directory.
note: you can also pass arguments!
Write-Host "Upgrading with default settings:"
.\Uninstall.ps -u -y
.\Install.ps -u -y
Comments
Post a Comment