Don Jones sums up the differences between Windows PowerShell and the multi-platform PowerShell quite neatly in this article.Īnyway, I’ve chosen to use the Homebrew method mainly because Homebrew is a handy way to install, upgrade and uninstall packages on macOS and I’ve already been using it for several other things, including the Azure CLI and Git Credential Manager. thankfully, testing a specific TCP port has now been rolled into Test-Connection in the multi-platform PowerShell). NET Framework… so you can’t guarantee that every commandlet will work the same way or even be present relative to Windows PowerShell (as I found out when I went to find Test-NetConnection. NET Core rather than the Windows-oriented. Slight digression: the multi-platform PowerShell may look mostly the same but is quite different under the hood relative to Windows PowerShell in that for one, it’s had all the Windows-specific stuff stripped out (so no WMI calls, for example) and for two, it’s a cross-platform shell and therefore relies on the cross-platform. NET 7 and includes several build and packaging fixes and improvements. This version has been upgraded to run on build 7.0.306 of. As of today, the latest stable release of PowerShell for macOS is 7.3. I’m starting with a simple one: installing and updating PowerShell on macOS using Homebrew. I’ll update the runbook as time goes on and versions update. Sure, you can find the instructions on (although I found my saved link had shifted to a new URI…) but I like to add some context around it. So here’s my version of a runbook for getting something done. In addition, with the web being what it is with docs shifting, updating and sometimes disappearing entirely, I make a *lot* of notes. I got into the habit from having to build labs to learn things, break them, blow them away and then rebuild them from scratch 12 times a week. So, what’s one thing I do to shortcut things? By writing a runbook. So therefore, smart shortcuts are needed. And if you’re like me, with varying interests and IT Pro needs that must be satisfied, it’s quite difficult to delve into something for several undisturbed hours simply because you’re guaranteed to be disturbed sooner or later. as I mentioned in my first post, there’s never enough time to get the things done. OK, so I’ll be up front about this (not because I lie the rest of the time).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |