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.
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Elektronisch E-Book |
Sprache: | English |
Veröffentlicht: |
Birmingham, UK :
Packt Publishing,
2014.
|
Schriftenreihe: | Professional expertise distilled.
|
Schlagworte: | |
Online-Zugang: | Volltext |
Zusammenfassung: | 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. |
Beschreibung: | Includes index. |
Beschreibung: | 1 online resource : color illustrations |
Bibliographie: | Includes bibliographical references and index. |
ISBN: | 9781782173588 1782173587 1782173579 9781782173571 |
Internformat
MARC
LEADER | 00000cam a2200000 i 4500 | ||
---|---|---|---|
001 | ZDB-4-EBA-ocn899291734 | ||
003 | OCoLC | ||
005 | 20241004212047.0 | ||
006 | m o d | ||
007 | cr unu|||||||| | ||
008 | 150107s2014 enka ob 001 0 eng d | ||
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 | ||
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 (OCoLC)899291734 |z (OCoLC)907300594 |z (OCoLC)961522808 |z (OCoLC)1259124907 | ||
037 | |a CL0500000521 |b Safari Books Online | ||
050 | 4 | |a QA76.73.W56 | |
072 | 7 | |a COM |x 051380 |2 bisacsh | |
082 | 7 | |a 005.13 |2 23 | |
049 | |a MAIN | ||
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. | ||
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) |0 http://id.loc.gov/authorities/subjects/sh2008003638 | |
650 | 6 | |a Windows PowerShell (Langage de programmation) | |
650 | 7 | |a COMPUTERS |x Programming |x Microsoft Programming. |2 bisacsh | |
650 | 7 | |a Windows PowerShell (Computer program language) |2 fast | |
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 | |l FWS01 |p ZDB-4-EBA |q FWS_PDA_EBA |u https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=918192 |3 Volltext |
938 | |a Askews and Holts Library Services |b ASKH |n AH27257961 | ||
938 | |a ebrary |b EBRY |n ebr10992754 | ||
938 | |a EBSCOhost |b EBSC |n 918192 | ||
938 | |a YBP Library Services |b YANK |n 12188111 | ||
994 | |a 92 |b GEBAY | ||
912 | |a ZDB-4-EBA | ||
049 | |a DE-863 |
Datensatz im Suchindex
DE-BY-FWS_katkey | ZDB-4-EBA-ocn899291734 |
---|---|
_version_ | 1816882298978566144 |
adam_text | |
any_adam_object | |
author | Shepard, Micheal |
author_facet | Shepard, Micheal |
author_role | aut |
author_sort | Shepard, Micheal |
author_variant | m s ms |
building | Verbundindex |
bvnumber | localFWS |
callnumber-first | Q - Science |
callnumber-label | QA76 |
callnumber-raw | QA76.73.W56 |
callnumber-search | QA76.73.W56 |
callnumber-sort | QA 276.73 W56 |
callnumber-subject | QA - Mathematics |
collection | ZDB-4-EBA |
contents | 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 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 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 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 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 |
ctrlnum | (OCoLC)899291734 |
dewey-full | 005.13 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.13 |
dewey-search | 005.13 |
dewey-sort | 15.13 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
format | Electronic eBook |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>06430cam a2200709 i 4500</leader><controlfield tag="001">ZDB-4-EBA-ocn899291734</controlfield><controlfield tag="003">OCoLC</controlfield><controlfield tag="005">20241004212047.0</controlfield><controlfield tag="006">m o d </controlfield><controlfield tag="007">cr unu||||||||</controlfield><controlfield tag="008">150107s2014 enka ob 001 0 eng d</controlfield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">UMI</subfield><subfield code="b">eng</subfield><subfield code="e">rda</subfield><subfield code="e">pn</subfield><subfield code="c">UMI</subfield><subfield code="d">E7B</subfield><subfield code="d">N$T</subfield><subfield code="d">OCLCF</subfield><subfield code="d">DEBBG</subfield><subfield code="d">YDXCP</subfield><subfield code="d">DEBSZ</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">OCLCA</subfield><subfield code="d">AZK</subfield><subfield code="d">AGLDB</subfield><subfield code="d">ICA</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">REB</subfield><subfield code="d">D6H</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">VTS</subfield><subfield code="d">CEF</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">NLE</subfield><subfield code="d">OCLCA</subfield><subfield code="d">UKMGB</subfield><subfield code="d">WYU</subfield><subfield code="d">STF</subfield><subfield code="d">UKAHL</subfield><subfield code="d">VT2</subfield><subfield code="d">RDF</subfield><subfield code="d">OCLCO</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">QGK</subfield><subfield code="d">OCLCO</subfield><subfield code="d">OCLCL</subfield></datafield><datafield tag="015" ind1=" " ind2=" "><subfield code="a">GBB747166</subfield><subfield code="2">bnb</subfield></datafield><datafield tag="016" ind1="7" ind2=" "><subfield code="a">018005579</subfield><subfield code="2">Uk</subfield></datafield><datafield tag="019" ind1=" " ind2=" "><subfield code="a">907300594</subfield><subfield code="a">961522808</subfield><subfield code="a">1259124907</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781782173588</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1782173587</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1782173579</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781782173571</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="z">9781782173571</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)899291734</subfield><subfield code="z">(OCoLC)907300594</subfield><subfield code="z">(OCoLC)961522808</subfield><subfield code="z">(OCoLC)1259124907</subfield></datafield><datafield tag="037" ind1=" " ind2=" "><subfield code="a">CL0500000521</subfield><subfield code="b">Safari Books Online</subfield></datafield><datafield tag="050" ind1=" " ind2="4"><subfield code="a">QA76.73.W56</subfield></datafield><datafield tag="072" ind1=" " ind2="7"><subfield code="a">COM</subfield><subfield code="x">051380</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="082" ind1="7" ind2=" "><subfield code="a">005.13</subfield><subfield code="2">23</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">MAIN</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Shepard, Micheal,</subfield><subfield code="e">author.</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">PowerShell troubleshooting guide :</subfield><subfield code="b">minimize debugging time and maximize troubleshooting efficiency by leveraging the unique features of the PowerShell language /</subfield><subfield code="c">Michael Shepard.</subfield></datafield><datafield tag="246" ind1="3" ind2=" "><subfield code="a">Minimize debugging time and maximize troubleshooting efficiency by leveraging the unique features of the PowerShell language</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Birmingham, UK :</subfield><subfield code="b">Packt Publishing,</subfield><subfield code="c">2014.</subfield></datafield><datafield tag="264" ind1=" " ind2="4"><subfield code="c">©2014</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">1 online resource :</subfield><subfield code="b">color illustrations</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="a">text</subfield><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="a">computer</subfield><subfield code="b">c</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="a">online resource</subfield><subfield code="b">cr</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="347" ind1=" " ind2=" "><subfield code="a">data file</subfield></datafield><datafield tag="490" ind1="1" ind2=" "><subfield code="a">Professional expertise distilled</subfield></datafield><datafield tag="500" ind1=" " ind2=" "><subfield code="a">Includes index.</subfield></datafield><datafield tag="588" ind1="0" ind2=" "><subfield code="a">Online resource; title from cover page (Safari, viewed December 17, 2014).</subfield></datafield><datafield tag="504" ind1=" " ind2=" "><subfield code="a">Includes bibliographical references and index.</subfield></datafield><datafield tag="505" ind1="0" ind2=" "><subfield code="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</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="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</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="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</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="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</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="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</subfield></datafield><datafield tag="520" ind1=" " ind2=" "><subfield code="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.</subfield></datafield><datafield tag="546" ind1=" " ind2=" "><subfield code="a">English.</subfield></datafield><datafield tag="630" ind1="0" ind2="0"><subfield code="a">Microsoft Windows (Computer file)</subfield></datafield><datafield tag="630" ind1="0" ind2="7"><subfield code="a">Microsoft Windows (Computer file)</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Windows PowerShell (Computer program language)</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh2008003638</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Windows PowerShell (Langage de programmation)</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">COMPUTERS</subfield><subfield code="x">Programming</subfield><subfield code="x">Microsoft Programming.</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Windows PowerShell (Computer program language)</subfield><subfield code="2">fast</subfield></datafield><datafield tag="758" ind1=" " ind2=" "><subfield code="i">has work:</subfield><subfield code="a">PowerShell troubleshooting guide (Text)</subfield><subfield code="1">https://id.oclc.org/worldcat/entity/E39PCXMBWCrvwYqV9FRWtrKgH3</subfield><subfield code="4">https://id.oclc.org/worldcat/ontology/hasWork</subfield></datafield><datafield tag="776" ind1="0" ind2="8"><subfield code="i">Print version:</subfield><subfield code="a">Shepard, Michael.</subfield><subfield code="t">PowerShell troubleshooting guide : minimize debugging time and maximize troubleshooting efficiency by leveraging the unique features of the PowerShell language.</subfield><subfield code="d">Birmingham, England : Packt Publishing, ©2014</subfield><subfield code="h">iv, 191 pages</subfield><subfield code="k">Professional Expertise Distilled</subfield><subfield code="z">9781782173571</subfield></datafield><datafield tag="830" ind1=" " ind2="0"><subfield code="a">Professional expertise distilled.</subfield></datafield><datafield tag="856" ind1="4" ind2="0"><subfield code="l">FWS01</subfield><subfield code="p">ZDB-4-EBA</subfield><subfield code="q">FWS_PDA_EBA</subfield><subfield code="u">https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=918192</subfield><subfield code="3">Volltext</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">Askews and Holts Library Services</subfield><subfield code="b">ASKH</subfield><subfield code="n">AH27257961</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">ebrary</subfield><subfield code="b">EBRY</subfield><subfield code="n">ebr10992754</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">EBSCOhost</subfield><subfield code="b">EBSC</subfield><subfield code="n">918192</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">YBP Library Services</subfield><subfield code="b">YANK</subfield><subfield code="n">12188111</subfield></datafield><datafield tag="994" ind1=" " ind2=" "><subfield code="a">92</subfield><subfield code="b">GEBAY</subfield></datafield><datafield tag="912" ind1=" " ind2=" "><subfield code="a">ZDB-4-EBA</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-863</subfield></datafield></record></collection> |
id | ZDB-4-EBA-ocn899291734 |
illustrated | Illustrated |
indexdate | 2024-11-27T13:26:24Z |
institution | BVB |
isbn | 9781782173588 1782173587 1782173579 9781782173571 |
language | English |
oclc_num | 899291734 |
open_access_boolean | |
owner | MAIN DE-863 DE-BY-FWS |
owner_facet | MAIN DE-863 DE-BY-FWS |
physical | 1 online resource : color illustrations |
psigel | ZDB-4-EBA |
publishDate | 2014 |
publishDateSearch | 2014 |
publishDateSort | 2014 |
publisher | Packt Publishing, |
record_format | marc |
series | Professional expertise distilled. |
series2 | Professional expertise distilled |
spelling | Shepard, Micheal, author. PowerShell troubleshooting guide : minimize debugging time and maximize troubleshooting efficiency by leveraging the unique features of the PowerShell language / Michael Shepard. Minimize debugging time and maximize troubleshooting efficiency by leveraging the unique features of the PowerShell language Birmingham, UK : Packt Publishing, 2014. ©2014 1 online resource : color illustrations text txt rdacontent computer c rdamedia online resource cr rdacarrier data file Professional expertise distilled Includes index. Online resource; title from cover page (Safari, viewed December 17, 2014). Includes bibliographical references and index. 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 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 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 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 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 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. English. Microsoft Windows (Computer file) Microsoft Windows (Computer file) fast Windows PowerShell (Computer program language) http://id.loc.gov/authorities/subjects/sh2008003638 Windows PowerShell (Langage de programmation) COMPUTERS Programming Microsoft Programming. bisacsh Windows PowerShell (Computer program language) fast has work: PowerShell troubleshooting guide (Text) https://id.oclc.org/worldcat/entity/E39PCXMBWCrvwYqV9FRWtrKgH3 https://id.oclc.org/worldcat/ontology/hasWork Print version: Shepard, Michael. PowerShell troubleshooting guide : minimize debugging time and maximize troubleshooting efficiency by leveraging the unique features of the PowerShell language. Birmingham, England : Packt Publishing, ©2014 iv, 191 pages Professional Expertise Distilled 9781782173571 Professional expertise distilled. FWS01 ZDB-4-EBA FWS_PDA_EBA https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=918192 Volltext |
spellingShingle | Shepard, Micheal PowerShell troubleshooting guide : minimize debugging time and maximize troubleshooting efficiency by leveraging the unique features of the PowerShell language / Professional expertise distilled. 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 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 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 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 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 Microsoft Windows (Computer file) Microsoft Windows (Computer file) fast Windows PowerShell (Computer program language) http://id.loc.gov/authorities/subjects/sh2008003638 Windows PowerShell (Langage de programmation) COMPUTERS Programming Microsoft Programming. bisacsh Windows PowerShell (Computer program language) fast |
subject_GND | http://id.loc.gov/authorities/subjects/sh2008003638 |
title | PowerShell troubleshooting guide : minimize debugging time and maximize troubleshooting efficiency by leveraging the unique features of the PowerShell language / |
title_alt | Minimize debugging time and maximize troubleshooting efficiency by leveraging the unique features of the PowerShell language |
title_auth | PowerShell troubleshooting guide : minimize debugging time and maximize troubleshooting efficiency by leveraging the unique features of the PowerShell language / |
title_exact_search | PowerShell troubleshooting guide : minimize debugging time and maximize troubleshooting efficiency by leveraging the unique features of the PowerShell language / |
title_full | PowerShell troubleshooting guide : minimize debugging time and maximize troubleshooting efficiency by leveraging the unique features of the PowerShell language / Michael Shepard. |
title_fullStr | PowerShell troubleshooting guide : minimize debugging time and maximize troubleshooting efficiency by leveraging the unique features of the PowerShell language / Michael Shepard. |
title_full_unstemmed | PowerShell troubleshooting guide : minimize debugging time and maximize troubleshooting efficiency by leveraging the unique features of the PowerShell language / Michael Shepard. |
title_short | PowerShell troubleshooting guide : |
title_sort | powershell troubleshooting guide minimize debugging time and maximize troubleshooting efficiency by leveraging the unique features of the powershell language |
title_sub | minimize debugging time and maximize troubleshooting efficiency by leveraging the unique features of the PowerShell language / |
topic | Microsoft Windows (Computer file) Microsoft Windows (Computer file) fast Windows PowerShell (Computer program language) http://id.loc.gov/authorities/subjects/sh2008003638 Windows PowerShell (Langage de programmation) COMPUTERS Programming Microsoft Programming. bisacsh Windows PowerShell (Computer program language) fast |
topic_facet | Microsoft Windows (Computer file) Windows PowerShell (Computer program language) Windows PowerShell (Langage de programmation) COMPUTERS Programming Microsoft Programming. |
url | https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=918192 |
work_keys_str_mv | AT shepardmicheal powershelltroubleshootingguideminimizedebuggingtimeandmaximizetroubleshootingefficiencybyleveragingtheuniquefeaturesofthepowershelllanguage AT shepardmicheal minimizedebuggingtimeandmaximizetroubleshootingefficiencybyleveragingtheuniquefeaturesofthepowershelllanguage |