cmd下运行PowerShell命令

PowerShell -Command "& {Get-EventLog -LogName security}"

原文地址:https://www.cnblogs.com/dreamer-fish/p/4187262.html