PowerShell is terribly slow compared to basically anything, but the slow bit here is probably the I/O. Each Add-Content call is a opening appending and flushing to the file, in the inner loop. The fact that…
My 2 cents having gotten about 10 bugs in Microsoft products (mostly Windows and Office, some server, some client, some kernel mode, some user mode): You basically have to pay for Premier Support or find a way to get in…
Writing a robust, idiomatic PowerShell function of any complexity is deceptively challenging, and the background required to do it correctly is almost all unique to PowerShell. PS is a weird amalgamation of C#, Bash,…
PowerShell is terribly slow compared to basically anything, but the slow bit here is probably the I/O. Each Add-Content call is a opening appending and flushing to the file, in the inner loop. The fact that…
My 2 cents having gotten about 10 bugs in Microsoft products (mostly Windows and Office, some server, some client, some kernel mode, some user mode): You basically have to pay for Premier Support or find a way to get in…
Writing a robust, idiomatic PowerShell function of any complexity is deceptively challenging, and the background required to do it correctly is almost all unique to PowerShell. PS is a weird amalgamation of C#, Bash,…