Chapter 24

Creating Advanced Scripting Examples

In this chapter, you will learn to:

  • Script Registry Entries
  • Script Networking Solutions
    • Discover the NetSH Helper List
    • Get NetSH Help
    • Execute NetSH Commands
    • Understand the Basic NetSH Contexts
    • Use the Root Context Commands
  • Impersonate a User
  • Change the Environment
    • Change Logons, Ports, and Users
    • Enable or Disable Session Logons Directly
    • List COM Port Mappings
    • Modify the Install Mode
  • Map a Network Drive
  • Create a .CSV File

Chapters 22 and 23 provide you with some scripting basics and information sources you can use to learn more about scripting. This chapter takes things one step further. In this chapter, you find some advanced scripting techniques you can use to make your scripting ...

Get Windows® Command-Line Administration: Instant Reference now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.