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.

1,101 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 47 users online (0 registered, 47 guests)
Index | Admin contact |   Forum Time: Mar 28, 2024 - 12:12 pm UTC  |  Hits:62,365,917  (18,314 Today )
RSS Feed