通过cmd运行的批处理文件代码plink.exe -ssh -t user@ipaddress -pw <psw> -m c:\path\to\textFile\commands.txtsudo -s #access the root logincommand-1 #issue a command in linux
我正在尝试构建一个检查密码是否包含字母、数字和特殊字符的脚本。这就是我到目前为止所知道的: Write-Output " No part of the username can be contained in the password"
do {$pdb=read-host " Must have 8 characters include at least 1 number & 1 special character i.