Page 1 of 1

Write code that when executed in PowerShell, will satisfy the following requirements: Create a new PowerShell session to

Posted: Sun Jul 10, 2022 11:23 am
by answerhappygod
Write code that when executed in PowerShell, will satisfy thefollowing requirements: Create a new PowerShell session to a remotecomputer and store it as a variable so you can enter the sessionlater. Use the variable name $connection. Use the computer nameparameter in combination with your computer's hostname to simulateconnecting to a remote computer. Use only one line to solve theproblem.