Monad
Leverbaar
Foreword ix Preface xiii Introducing MSH 1(21) Get MSH 2(1) Get to Know Verb-Noun Syntax and Cmdlets 3(4) Access the Registry Like a Filesystem 7(5) Create a Pipeline to Pass Information 12(4) Display Data 16(5) What's Next? 21(1) Customizing MSH 22(18) Load and Save Scripts 22(4) Save Keystrokes with Aliases 26(4) Work with the Command Line 30(4) Make Yourself at Home 34(2) Find Out What a Command Will Do Before Running It 36(3) What's Next? 39(1) Scripting MSH 40(36) The .NET Framework 40(2) Work with Structured Objects 42(6) Store Information in Variables 48(7) Control Script Flow with Comparisons 55(6) Do Repetitive Work with Loops 61(5) Capture Reusable Behavior in a Function 66(5) Transform Objects as They Pass Through the Pipeline 71(4) What's Next? 75(1) Managing MSH Scope and State 76(25) Control Access to Variables and Functions 76(5) Work with Special Characters 81(5) Use Wildcards to Define a Set of Items 86(2) Take String Comparison Beyond -eq, -lt, and -gt 88(6) When Things Go Wrong 94(6) What's Next? 100(1) Adding to the MSH Toolkit 101(18) Extend the Toolkit with Generic Cmdlets 101(4) Work with Text Files 105(1) Work with Structured File Formats 106(4) How Variables Relate to the .NET Framework 110(4) Calling Methods of the .NET Class Library 114(2) Using new-object with COM Objects 116(2) What's Next? 118(1) Working with Operating System Components 119(19) Monitoring the Event Log 119(5) Auditing System Services 124(4) Get System Information from WMI 128(4) Manage Filesystem Permissions 132(5) What's Next? 137(1) Putting MSH to Work 138(17) Invoke Commands with & 138(3) Parse Text-Based Application Output 141(3) Fill In the Blanks: Take Input from the Console 144(1) Untangle GOTO-Based Batch Files 145(3) Recap: Replacing Common Batch File Syntax 148(1) Renaming Multiple Files at Once 149(1) Match and Replace Content in a Text File 150(1) List Recently Changed Files 150(1) Counting Types of Files 150(1) Find Out Which Command Is Being Run 150(1) Downloading Content from the Web 151(1) Shorthand for Frequently Used Data 151(1) Returning System Uptime 152(1) Simple UI Automation 152(1) Colorize the Output of get-childitem 153(1) What's Left? 153(2) A. Syntax and Grammar 155(10) B. Standard Cmdlets, Functions, and Aliases 165(10) Index 175
Ingenaaid | 206 pagina's | Engels
1e druk | Verschenen in 2006
Rubriek: