I have batch files that check the registry and if exists uninstalls the app, and then reinstalls the new version, now in Win10 these do not work as its a batch file and it does not seem to run.
So how do i convert these to powershell, thought but now there would be some good examples but I cant seem to find any.
REG QUERY HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer
then uninstall
MsiExec.exe /qn /x{E8CD60E4-8D29-451A-A7FC-7D0D433831BC}
then install
msiexec /i /qn "\\server\software$\Toolbar \PPT\Debug\GlobalSetup.msi"
MCSE NT to 2012, MCITP:EA/SA, MCSA, MCDBA, MCTS, MCP+I, MCP
So how do i convert these to powershell, thought but now there would be some good examples but I cant seem to find any.
REG QUERY HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer
then uninstall
MsiExec.exe /qn /x{E8CD60E4-8D29-451A-A7FC-7D0D433831BC}
then install
msiexec /i /qn "\\server\software$\Toolbar \PPT\Debug\GlobalSetup.msi"
MCSE NT to 2012, MCITP:EA/SA, MCSA, MCDBA, MCTS, MCP+I, MCP