标签: powershell
要删除用户,我必须输入命令conf t,但不考虑此项
conf t
我的剧本:
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'
你能帮我吗?