This chapter will show you how to configure and use remoting with PowerShell Core to securely connect to Windows and Linux systems on a large scale. We will also look at Just Enough Administration (JEA), a feature of Windows PowerShell that we can use with PowerShell Core, as well.
In this chapter, we will cover the following recipes:
- Enabling PowerShell remoting on Windows
- Enabling PowerShell remoting on Linux
- Configuring PowerShell remoting
- Securely connecting to remote endpoints
- Remotely retrieving data
- Remote script debugging
- Creating a JEA role
- Creating JEA session configuration
- Connecting to endpoints using different session configuration
- Using the Common Information Model (CIM)
- Using PowerShell Direct and PowerShell Core