PowerShell: Automating Administrative Tasks
by Michael Shepard, Chendrayan Venkatesan, Sherif Talaat, Brenton J.W. Blawat
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access