[wpkg-users] In memory of WMIC...
Ulli Conrad
ulli.conrad at bio.uni-goettingen.de
Mon Feb 9 08:46:10 CET 2026
RTFM indeed helps :-) Learned a bit of PS and found out how to cope with
this.
Passing the ProviderName solved the nuget request, and using a ; instead
of a pipe to separate commands. Also wildcards possible. Here's an
example for uninstalling all JRE in one commandf:
powershell.exe -command "Set-Variable -name ProgressPreference -value
'SilentlyContinue';Get-Package -name '*Java 8*' -ProviderName msi |
Uninstall-Package"
Hope this helps
- Ulli -
More information about the wpkg-users
mailing list