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.

248 views      
 

Messages in this Thread

 
95,039 Postings in 11,980 Threads, 349 registered users, 37 users online (0 registered, 37 guests)
Index | Admin contact |   Forum Time: Jul 5, 2020 - 6:56 am EDT  |  Hits:31,946,630  (7,583 Today )
RSS Feed