ZTree.com  | ZEN  | About...  

 Index   Back

[Notice] MS implores you to stop using Cmd and switch to PowerShell   [Notice]

By: Peter Shute       
Date: May 31,2020 at 07:02
In Response to: [Notice] MS implores you to stop using Cmd and switch to PowerShell (Laurent Duchastel)

> Just saw that one. Made me smile and have a thought for you all.
> https://betanews.com/2020/05/27/move-from-cmd-to-powershell/

Why don't I? Because I'm not competent with it. Is there full documentation for it, or do I first have to learn how to use it's self documenting features?

I often use it to do stuff with Exchange and Office 365, and Veeam too. I always have to hunt for examples, and when they don't do exactly what I want, I often struggle to work it out. One day I'll sit down and learn it properly.

I liked this example from the comments on the article:
CMD: dir /od
PS: Get-ChildItem | Sort-Object -Property LastWriteTime

If I'm scheduling scripts to run regularly, there seem to be tricks required to make powershell scripts even run at all, to get around the security. I'm sure there are good reasons for that, but it's another thing to learn.


Messages in this Thread

95,102 Postings in 11,991 Threads, 350 registered users, 76 users online (0 registered, 76 guests)
Index | Admin contact |   Forum Time: Sep 26, 2020 - 9:05 pm EDT  |  Hits:34,282,080  (22,926 Today )
RSS Feed