PowerShell troubleshooting guide : minimize debugging time and maximize troubleshooting efficiency by leveraging the unique features of the PowerShell language /
The techniques in this book apply to beginners who have just started to learn PowerShell, as well as advanced scripters who have a good grasp of the language.
Saved in:
Main Author: | |
---|---|
Format: | Electronic eBook |
Language: | English |
Published: |
Birmingham, UK :
Packt Publishing,
2014.
|
Series: | Professional expertise distilled.
|
Subjects: | |
Online Access: | CONNECT |
MARC
LEADER | 00000cam a2200000 i 4500 | ||
---|---|---|---|
001 | mig00005350905 | ||
006 | m o d | ||
007 | cr unu|||||||| | ||
008 | 150107s2014 enka ob 001 0 eng d | ||
005 | 20240618153817.8 | ||
015 | |a GBB747166 |2 bnb | ||
016 | 7 | |a 018005579 |2 Uk | |
019 | |a 907300594 |a 961522808 |a 1259124907 | ||
020 | |a 9781782173588 |q (electronic bk.) | ||
020 | |a 1782173587 |q (electronic bk.) | ||
020 | |a 1782173579 | ||
020 | |a 9781782173571 | ||
020 | |z 9781782173571 | ||
035 | |a 1WRLDSHRocn899291734 | ||
035 | |a (OCoLC)899291734 |z (OCoLC)907300594 |z (OCoLC)961522808 |z (OCoLC)1259124907 | ||
037 | |a CL0500000521 |b Safari Books Online | ||
040 | |a UMI |b eng |e rda |e pn |c UMI |d E7B |d N$T |d OCLCF |d DEBBG |d YDXCP |d DEBSZ |d OCLCQ |d OCLCO |d OCLCA |d AZK |d AGLDB |d ICA |d OCLCQ |d REB |d D6H |d OCLCQ |d VTS |d CEF |d OCLCQ |d OCLCO |d NLE |d OCLCA |d UKMGB |d WYU |d STF |d UKAHL |d VT2 |d RDF |d OCLCO |d OCLCQ |d QGK |d OCLCO |d OCLCL | ||
049 | |a TXMM | ||
050 | 4 | |a QA76.73.W56 | |
082 | 0 | 4 | |a 005.13 |2 23 |
100 | 1 | |a Shepard, Micheal, |e author. | |
245 | 1 | 0 | |a PowerShell troubleshooting guide : |b minimize debugging time and maximize troubleshooting efficiency by leveraging the unique features of the PowerShell language / |c Michael Shepard. |
246 | 3 | |a Minimize debugging time and maximize troubleshooting efficiency by leveraging the unique features of the PowerShell language | |
264 | 1 | |a Birmingham, UK : |b Packt Publishing, |c 2014. | |
264 | 4 | |c ©2014 | |
300 | |a 1 online resource : |b color illustrations | ||
336 | |a text |b txt |2 rdacontent | ||
337 | |a computer |b c |2 rdamedia | ||
338 | |a online resource |b cr |2 rdacarrier | ||
347 | |a data file | ||
490 | 1 | |a Professional expertise distilled | |
500 | |a Includes index. | ||
588 | 0 | |a Online resource; title from cover page (Safari, viewed December 17, 2014). | |
504 | |a Includes bibliographical references and index. | ||
505 | 0 | |a Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: PowerShell Primer; Introduction; Cmdlets; The big three cmdlets; Functions; Scripts; Pipelines; How pipelines change the game; What's the fuss about sorting?; Variables; Modules; Further reading; Summary; Chapter 2: PowerShell Peculiarities; PowerShell strings; String substitution; How string substitution goes wrong; Escaping in PowerShell strings; Function output; Pipeline processing; PowerShell error handling; The trap statement; try, catch, and finally statements | |
505 | 8 | |a Non-terminating errorsFurther reading; Summary; Chapter 3: PowerShell Practices; Filter left; Format right; Comment-based help; Using Write-* cmdlets; Write-Host; Output -- the correct way; What about the other Write-* cmdlets?; Which Write should I use?; Write-Verbose; Write-Debug; Write-Warning; Write-Error; Write-Progress; Further reading; Summary; Chapter 4: PowerShell Professionalism; Naming conventions; Cmdlet and function naming; Parameter naming; Module naming; Variable naming; Modularization; Breaking a process into subtasks; Helper functions; Single responsibility principle | |
505 | 8 | |a Don't repeat codeUnderstanding the process; Version control; Using version control with PowerShell; Unit testing; Rolling your own unit tests; Why is PowerShell testing difficult?; An introduction to Pester; Mocking with Pester; Further reading; Summary; Chapter 5: Proactive PowerShell; Error handling; Error-handling guidelines; Error-handling techniques; Investigating cmdlet error behavior; Catch and release; CmdletBinding(); Common parameter support; SupportsShouldProcess; Parameter name validation; Parameter value validation; Pipeline input; Pipelines and function execution | |
505 | 8 | |a Parameter type transformation#REQUIRES statements; Set-StrictMode and Set-PSDebug -strict; Further reading; Summary; Chapter 6: Preparing the Scripting Environment; Validating operating system properties; Workstation/server version; Operating system version; Putting it all together; Validating service status; Validating disk and memory availability; Validating network connectivity; Using telnet; Using Test-NetConnection; Writing Test-NetConnection in downstream versions; Testing UDP and ICMP connectivity; Validating connectivity prior to implementation ; Putting it all together | |
505 | 8 | |a Further readingSummary; Chapter 7: Reactive Practices -- Traditional Debugging; Reading error messages; The color problem; Changing console colors; Changing ISE colors; PowerShell profiles; Error message content; Using Set-PSDebug; Debugging in the console; Debugging in the ISE ; Event logs; Listing event logs; Reading event logs; Writing to event logs; The PSDiagnostics module; Using -confirm and -whatif; Reducing input set; Using Tee-Object to see intermediate results; Replacing the foreach loop with the foreach-object cmdlet; Further reading; Summary; Chapter 8: PowerShell Code Smells | |
520 | |a The techniques in this book apply to beginners who have just started to learn PowerShell, as well as advanced scripters who have a good grasp of the language. | ||
546 | |a English. | ||
500 | |a EBSCO eBook Academic Comprehensive Collection North America |5 TMurS | ||
630 | 0 | 0 | |a Microsoft Windows (Computer file) |
630 | 0 | 7 | |a Microsoft Windows (Computer file) |2 fast |
650 | 0 | |a Windows PowerShell (Computer program language) | |
730 | 0 | |a WORLDSHARE SUB RECORDS | |
758 | |i has work: |a PowerShell troubleshooting guide (Text) |1 https://id.oclc.org/worldcat/entity/E39PCXMBWCrvwYqV9FRWtrKgH3 |4 https://id.oclc.org/worldcat/ontology/hasWork | ||
776 | 0 | 8 | |i Print version: |a Shepard, Michael. |t PowerShell troubleshooting guide : minimize debugging time and maximize troubleshooting efficiency by leveraging the unique features of the PowerShell language. |d Birmingham, England : Packt Publishing, ©2014 |h iv, 191 pages |k Professional Expertise Distilled |z 9781782173571 |
830 | 0 | |a Professional expertise distilled. | |
856 | 4 | 0 | |u https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=918192&authtype=ip,sso&custid=s4672406 |z CONNECT |3 eBooks on EBSCOhost |t 0 |
907 | |a 4622606 |b 05-26-21 |c 06-30-20 | ||
949 | |a ho0 | ||
994 | |a 92 |b TXM | ||
998 | |a wi |d z | ||
999 | f | f | |s d494157b-e983-4909-9c00-1f8c1fa90cc4 |i aee27938-3f3b-4d9e-93b4-1c6f5d4a6aaf |t 0 |
952 | f | f | |a Middle Tennessee State University |b Main |c James E. Walker Library |d Electronic Resources |t 0 |e QA76.73.W56 |h Library of Congress classification |