Home

List/delete packages in Nanoserver image file (VHD or VHDX)

jantrance ten hove
Occasional Visitor

I have a question about the new/edit-nanoserverimage PS command: there is no command to get a list of the packages you have installed with said above commands (you can get the list by going through the logs, but imo it would be better if there would be a command to get a list of installed packages in the created or edited nanoserver VHDX file).

 

Also: there is no way to delete a package from a created or edited nanoserver VHDX file (or i am missing some commands and haven't looked well enough, but a search on google and this site haven't helped me, and looking through all the commands here haven't helped me either).

 

The problem for the first question I have: is probably that you can't read out a VHD or VHDX file.

 

Please help me to figure out how to do this.

 

Thanks in advance.

 

Related Conversations
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies