PowerShell in Depth, 2/e (Paperback)
內容描述
SummaryPowerShell in Depth, Second Edition is the go-to reference for administrators working with Windows PowerShell. Every major technique, technology, and tactic is carefully explained and demonstrated, providing a hands-on guide to almost everything an admin would do in the shell. Written by three experienced authors and PowerShell MVPs, this is the PowerShell book you'll keep next to your monitor—not on your bookshelf! Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.About the BookA Windows admin using PowerShell every day may not have the time to search the net every time he or she hits a snag. Wouldn't it be great to have a team of seasoned PowerShell experts ready to answer even the toughest questions? That's what you get with this book. PowerShell in Depth, Second Edition is the go-to reference for administrators working with Windows PowerShell. Every major technique, technology, and tactic is carefully explained and demonstrated, providing a hands-on guide to almost everything an admin would do in the shell. Written by PowerShell MVPs Don Jones, Jeffrey Hicks, and Richard Siddaway, each valuable technique was developed and thoroughly tested, so you'll be able to consistently write production-quality, maintainable scripts while saving hours of time and effort. This book assumes you know the basics of PowerShell. What's InsideAutomating tasksPackaging and deploying scriptsIntroduction to Desired State ConfigurationPowerShell securityCovers PowerShell version 3 and laterAbout the AuthorsDon Jones, Jeffery Hicks, and Richard Siddaway are Microsoft MVPs, trainers, and administrators. Collectively, they've authored nearly three dozen books on PowerShell and Windows administration.Table of ContentsPART 1 POWERSHELL FUNDAMENTALSIntroductionPowerShell hostsUsing the PowerShell help systemThe basics of PowerShell syntaxWorking with PSSnapins and modulesOperatorsWorking with objectsThe PowerShell pipelineFormattingPART 2 POWERSHELL MANAGEMENTPowerShell RemotingBackground jobs and schedulingWorking with credentialsRegular expressionsWorking with HTML and XML dataPSDrives and PSProvidersVariables, arrays, hash tables, and script blocksPowerShell securityAdvanced PowerShell syntaxPART 3 POWERSHELL SCRIPTING AND AUTOMATIONPowerShell's scripting languageBasic scripts and functionsCreating objects for outputScopePowerShell workflowsAdvanced syntax for scripts and functionsScript modules and manifest modulesCustom formatting viewsCustom type extensionsData language and internationalizationWriting helpError handling techniquesDebugging tools and techniquesFunctions that work like cmdletsTips and tricks for creating reportsPART 4 ADVANCED POWERSHELLWorking with the Component Object Model (COM) Working with .NET Framework objectsAccessing databasesProxy functionsBuilding a GUIWMI and CIMWorking with the webDesired State Configuration