Summary

This chapter explained how to properly manage systems by utilizing sessions. The chapter started by explaining the prerequisites to enable the use of Windows Remote Management in your environment. This includes port numbers, security permissions, and services. The chapter also explained that you can use the quick configuration on systems, though it can be less secure than the manual configuration of WinRm.

The chapter then proceeded to explain how to create sessions through the use of the new-cimsession cmdlet. It also explained that you can create session options to change the connection parameters to remote systems with the new-cimsessionoption cmdlet. It explained that the most popular session options are Protocol, ProxyAuthentication ...

Get Mastering Windows PowerShell Scripting now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.