Page 1 of 1

Write code that when executed in PowerShell, will satisfy the following requirements: Assume that you previously created

Posted: Sun Jul 10, 2022 11:23 am
by answerhappygod
Write code that when executed in PowerShell, will satisfy thefollowing requirements:
Assume that you previously created a new PowerShell session to aremote computer and stored it as a variable so you could enter thesession later.
You used the variable name $session. Write a command that willenter the session that is already stored in the variable so thatyou can interact with the remote computer.
Use only one line to solve the problem.