如果控制远程电脑注册DLL文件
powershell吧
全部回复
仅看楼主
level 9
yuchanbest 楼主
你好,
请问Powershell有可能控制远程主机进行DLL注册吗?
cmd命令如下:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\123.dll
/codebase
2013年07月15日 06点07分 1
level 9
yuchanbest 楼主
大家帮个忙
2013年07月16日 04点07分 2
level 1
$PWD= ConvertTo-SecureString "hf!@#`$123" -AsPlainText -Force;
$cred= New-Object System.Management.Automation.PSCredential("user",$PWD);
$test= New-PSSession -ComputerName $ip -Credential $cred;
Invoke-Command -Session $test -ScriptBlock {
cmd /c C:\Windows\Microsoft.NET\Framework\v4.0.30319\123.dll
/codebase
}
2013年07月24日 16点07分 3
1