cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
254
Views
0
Helpful
0
Replies

Issue to delete user via "invoke-sshcommand"

Hi all,

To delete an user, I have to enter the command 'conf t' but this one is not taken into account 

Bellow my script : 

import-module SSH-Sessions

new-sshsession X.X.X.X -username xxxx -password xxxxx

Invoke-Sshcommand X.X.X.X -command 'conf t | no username yyyy'

Can you help me please ?

Thanks.

0 Replies 0