这个VBScript的等价物是什么:
set oShell = CreateObject("WScript.Shell")
set oApp = WScript.CreateObject("Shell.Application")
set oFile = CreateObject("Scripting.FileSystemObject")
Windows Powershell中的?
我是PS的新手!
我不是在寻找转换我只是在寻求帮助!
谢谢,
答案 0 :(得分:1)
$oShell = New-Object -ComObject WScript.Shell
$oApp = New-Object -ComObject Shell.Application
$oFile = New-Object -ComObject Scripting.FileSystemObject