运行一条powershell命令成功的返回值可以输出到指定的文件中,但是报错信息却无法输入,怎么回事?
或者说还有没有其他办法再隐藏powershell窗口时如何得知命令执行结束,成功或者失败。
Get-WindowsDeveloperLicense | out-file -filepath c:/text.txt
运行一条powershell命令成功的返回值可以输出到指定的文件中,但是报错信息却无法输入,怎么回事?
或者说还有没有其他办法再隐藏powershell窗口时如何得知命令执行结束,成功或者失败。
Get-WindowsDeveloperLicense | out-file -filepath c:/text.txt