Название: The Big Book of PowerShell Gotchas Автор: Don Jones, The DevOps Collective, Inc. Издательство: Leanpub Год: 2018-10-28 Язык: английский Формат: pdf (true), epub Размер: 13.5 MB
PowerShell is full of "gotchas" - little things that just get in your way and are hard to figure out on your own. This short book is intended to help you figure them out and avoid them.
One tricky thing is understanding that there are a certain number of commands that come with PowerShell, _while _most commands do not. Every new version of PowerShell includes at least a few new commands. For example, Start-Job appeared for the first time in PowerShell v2, while Invoke-AsWorkflow was introduced in PowerShell v3. What confuses people is that a new version of PowerShell also tends to correspond with a new version of the Windows operating system? and the OS itself comes with hundreds of commands. For example, you may have used Get-SmbShare for the first time in Windows Server 2012, which included PowerShell v3. But Get-SmbShare is part of the operating system, not part of PowerShell. That is, you won’t have Get-SmbShare on every system that has PowerShell v3 or later, because the command isn’t a “feature of PowerShell,” it’s a “feature of Windows.” So? where do you get commands?