Powershell Performance Recommendations

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Message
Author
atfon
Posts: 178
Joined: 06 Oct 2017 07:33

Re: Powershell Performance Recommendations

#16 Post by atfon » 03 Sep 2021 08:27

I have a very large batch script. I used powershell commands in a number of areas to gather information I did not think was available using wmic or other commands directly without the use of powershell. I actually very much did welcome your input and you pointed in me in some directions I hadn't considered. I've now used the wmic /NameSpace:\\root\StandardCimv2 path MSFT_NetAdapter command very successfully to replace 6 powershell commands which I had previously used. So, I thank you for that. I will continue to see if there are any other areas where I can replace the use of powershell commands.

Post Reply