I’m creating a GUI to allow technicians to manage some computers and I ran into something where I have no idea how to do.
I have a list of tools available to the tech (PSExec, Remote Desktop, Computer Management)
I wish to add the option to start a PS session but I am unable to have it on screen.
I create the session from a textbox input with this:
$session = new-pssession -computerName $PCName.text
Next step, I want to display the session as a command prompt window. I have no idea how to do that. All I tried has failed.
can someone help me with this?