Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Authors and their Chapters

Preface

Acknowledgments

About this Book

About Save the Children

1. PowerShell administration

Chapter 1. Diagnosing and troubleshooting PowerShell remoting

Diagnostics examples

A perfect remoting connection

Connection problem: Blocked port

Connection problem: No permissions

Connection problem: Untrusted host

Summary

About the author

Chapter 2. CIM sessions

WMI

CIM cmdlets

Using CIM sessions

CIM session options

Summary

About the author

Chapter 3. Collecting and analyzing performance counter data

Windows Performance Logs and Alerts

Enumerating the counter groups

Finding the right counters

Accessing the counters��� data

Controlling the sampling and the collection interval

Getting the data from remote computers

Using jobs for long-running tasks

Saving the performance data to a file

Saving the data to a binary file (BLG)

Saving the data to an Excel file (CSV)

Manipulating stored performance data from a file

Summary

About the author

Chapter 4. TCP port communications with PowerShell

Testing for an open port

Building a more robust port checker

Sending and receiving data

Sending data

Receiving data

LDAP port communications

Testing port 389 and receiving data with portqry.exe