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 11: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.

Thread locked

Messages in this Thread

95,257 Postings in 12,014 Threads, 350 registered users, 113 users online (0 registered, 113 guests)
Index | Admin contact |   Forum Time: Jan 20, 2021 - 10:34 am UTC  |  Hits:36,922,242  (11,069 Today )
RSS Feed