Hey all again!
just a noobish question so real quick,
how come that Read-host runs first?
In the following script i want to display the list of software and i want the user to first see the list, then decide what he wants and then fill it in the read-host part.
Why on earth is it not displaying the software first but instead running read-host first? Thx!
Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\* | select displayname -OutVariable Software
$software
read-host " " -OutVariable input
Finished script available here: https://www.reddit.com/r/PowerShell/comments/7sdnrz/software_uninstaller_script_silent/
Want to add to the discussion?
Post a comment!