I need to write a code in powershell that will automatically show every information about USB flashdrive after it will be plugged into the PC. I cannot use any third party apps/programs.
Any help on what would i need to use or do would be appreciated.
Also im very new to powershell so correct me if something is hard to understand.
Welcome to the forum.
This forum is for scripting questions rather than script requests. We do not write customized and ready to use scripts or solutions on request.
We actually expect you to make an own attempt at the first place to get your task done or to solve your problem. If you have done so already please document here what exactly you have done and show your code. Then we probably might be able to help you step further.
Google is your friend