Muutke küpsiste eelistusi

Troubleshooting Windows Server with PowerShell 1st ed. [Pehme köide]

  • Formaat: Paperback / softback, 121 pages, kõrgus x laius: 235x155 mm, kaal: 454 g, 57 Illustrations, color; XXIV, 121 p. 57 illus. in color., 1 Paperback / softback
  • Ilmumisaeg: 30-Apr-2016
  • Kirjastus: APress
  • ISBN-10: 1484218507
  • ISBN-13: 9781484218501
Teised raamatud teemal:
  • Pehme köide
  • Hind: 53,33 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Tavahind: 62,74 €
  • Säästad 15%
  • Raamatu kohalejõudmiseks kirjastusest kulub orienteeruvalt 2-4 nädalat
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Tellimisaeg 2-4 nädalat
  • Lisa soovinimekirja
  • Formaat: Paperback / softback, 121 pages, kõrgus x laius: 235x155 mm, kaal: 454 g, 57 Illustrations, color; XXIV, 121 p. 57 illus. in color., 1 Paperback / softback
  • Ilmumisaeg: 30-Apr-2016
  • Kirjastus: APress
  • ISBN-10: 1484218507
  • ISBN-13: 9781484218501
Teised raamatud teemal:

This book shows you how to use PowerShell to quickly pinpoint, diagnose, and solve problems with your Windows Server environment, reducing the need for external tools, and ensuring you stay up-to-date with PowerShell as it quickly becomes one of the most useful tools in an administrator’s toolkit.

Authors Derek Schauland and Donald Jacobs take you through a range of examples, showing you how to gather information from different computer sources. Whether you are logged into the server locally or just wanting to check the status of a server from your local computer, the right PowerShell cmdlets can give you a lot of information quickly, and allow you to troubleshoot your servers from the command line with little interaction with the server's desktop.

In this book, you'll learn how PowerShell can help you:

  • Understand PowerShell versus the GUI
  • Gather information from Windows event logs
  • Gather information from your server, including memory, hardware configurations, and disk space available
  • Find out what applications are installed on a server
  • Find out which Windows updates have been installed on your computer
  • Check the processes running on your computer and gather information about them, or start and stop them from the command line
  • Quickly check if services are running, and stop or start them as needed

Who This Book Is For

Windows Administrators, IT Professionals and support personnel needing ways to quickly find and troubleshoot issues in their environment using the included tools. Those entering IT or wishing to develop their PowerShell skil
ls will also benefit from this book.

About the Authors xiii
About the Technical Reviewer xv
Acknowledgments xvii
Introduction xix
Chapter 1 Getting Started 1(16)
Getting to Know PowerShell
2(1)
GUI Tools vs. PowerShell
3(1)
The Basics of PowerShell
4(2)
Working with Variables
4(1)
CMD Is Dead-Long Live PowerShell
5(1)
Why All the Drives?
5(1)
The Natural Progression of Tool Building
6(2)
PowerShell Is Not Going Away
7(1)
What Does this Do for PowerShell?
8(1)
Chapters in this Book
8(1)
Assumptions Used in this Book
9(2)
How to Let PowerShell Help You Learn More
11(4)
Summary
15(2)
More Reading
16(1)
Chapter 2 Managing the Windows Event Log 17(18)
What Can Windows Capture?
17(1)
Accessing the Event Log Information
18(5)
Get-EventLog
19(3)
Get-WinEvent
22(1)
Why Choose One cmdlet over Another?
22(1)
Getting Logs from Remote Computers
23(1)
Shaping the Gathered Information
24(3)
Comma-Separated Values
24(3)
Creating an HTML Report
27(1)
What Else Can Be Done with this Information?
27(5)
Formatting HTML for Readability
27(1)
HTML Formatting with a Function
28(4)
Can PowerShell Use the Event Log to Store Information?
32(1)
Summary
33(2)
Chapter 3 Gathering and Reporting Detailed Information from a Computer 35(18)
Gathering Disk Space
35(3)
Disks First
36(1)
Logical Disks
37(1)
Listing Shares
38(3)
NTFS Permissions
41(4)
Getting the ACLs
42(1)
Setting the ACLs
43(2)
Hardware
45(3)
Computer System Information
48(1)
Processor Information
49(2)
Troubleshooting
51(1)
The Difference Between WMI and CIM
51(1)
Remote Queries
51(1)
Next Steps
52(1)
Summary
52(1)
Chapter 4 Installed Applications 53(12)
Obtaining a List of Installed Applications
53(1)
Using the CIM Object
54(4)
Using the Registry Keys
58(4)
Arrays
60(2)
Next Steps
62(1)
Summary
63(2)
Chapter 5 Windows Update 65(10)
Get-HotFix
66(1)
Scenario
66(1)
Resolution
66(1)
Using WMI or CIM
67(4)
Details of Get-HotFix Results
67(1)
Checking When a Computer Was Rebooted
68(3)
Uninstalling a Hot Fix
71(1)
Improvements to this Function
71(1)
Pending Restarts
72(2)
Summary
74(1)
Chapter 6 Manage Running Processes on a Target System 75(14)
Working with Processes
75(3)
Filtering by Process ID or Name
78(10)
Sorting and Selecting Information Needed
79(2)
Working with Returned Data
81(1)
Delivering the Goods: A Quick Sidestep to Sending Email
82(1)
Collecting Information from a Remote Computer or Computers
82(1)
Other Ways to Improve the Script
83(1)
Starting and Stopping Processes
84(1)
When Start-Process and Stop-Process Are Useful
85(1)
Select First, Then Again, and Then Stop
86(1)
Using WMI or CIM to Work with Processes
86(1)
Using the CIM cmdlets
87(1)
Summary
88(1)
Chapter 7 Review and Manage Services with PowerShell 89(14)
Access to Services with PowerShell
89(1)
Gathering Service Information
90(11)
Actions on Services
90(5)
Enter WMI
95(6)
Summary
101(2)
Chapter 8 Continuing to Learn As PowerShell Evolves 103(14)
Building Modules
103(2)
Desired State Configuration
105(1)
What Is Desired State Configuration (DSC)?
106(1)
Auditing Only
106(1)
Applying Configurations: Make It So
106(1)
What Does a DSC Configuration Look Like?
107(1)
What Are Some Practical Applications of DSC?
107(1)
Starting or Stopping Services
107(1)
Installing Necessary Roles or Features
108(1)
Fixing Configuration Drift: Wrongly Installed Applications
108(1)
Ensuring That Files or Folders Exist
108(1)
Working with DSC to Ensure IIS Is Installed
108(1)
PowerShell Remoting
109(1)
How Do I Enable Remoting?
110(1)
A Remote PowerShell Session
110(1)
Using Scheduled Jobs in PowerShell
111(1)
Scheduled Jobs Options
111(1)
Scheduled Job Triggers
112(1)
Creating the Scheduled Job
113(1)
Job Verification
113(1)
Getting Scheduled Job Results
114(1)
More Learning and Additional Resources
115(1)
Summary
115(2)
Index 117
Derek Schauland has been working in the information technology industry for over 20 years. For almost as long, he has been authoring technical articles, whitepapers, and other resources to help others learn about new technologies and keep his skills improving. Derek is a multi-year recipient of Microsoft's MVP award and a co-founder of a technology training organization, Tech on Tap Training Series, which brings technological discussions across a wide breadth of technology to local professionals in Northeast Wisconsin. Donald Jacobs began his IT career back when Windows NT was the biggest and best new technology in the field. Since that time, he has earned a multitude of Microsoft certifications, including MCSE Server Infrastructure 2012, MCSA Office 365, MCITP Enterprise Administrator 2008, and MCTS for Windows 7. He has taught Microsofts Certified PowerShell and Windows Server courses as a Microsoft Certified Trainer. Currently, Donald supports clients and customers with Microsoft products, particularly PowerShell, Azure, Office 365, Active Directory, Exchange, and Windows Server. In his downtime, he enjoys spending time with his family, watching hockey, and playing Dungeons & Dragons.