hi guys,can some one explain how exactly enter-pssession work ?
i think this type of remote connection work only for PS command not all command type.
i have install command line text editor “VIM” on my server 2022, but when i try to edit a text file i recived this error :
192.168.254.128]: PS C:\Users\Administrator\Documents> vim C:\programdata\ssh\sshd_config
vim : Vim: Warning: Output is not to a terminal
+ CategoryInfo : NotSpecified: (Vim: Warning: O...t to a terminal:String) , RemoteException
+ FullyQualifiedErrorId : NativeCommandError
Vim: Warning: Input is not from a terminal