Kill excel process using powershell only
4 次查看(过去 30 天)
显示 更早的评论
hi,
To kill excel process, i tried using the following command
!powershell -inputformat none Stop-Process -Name "Excel"
but it gives me this error msg
The command prompt has been disabled by your administrator.
Press any key to continue . . .
The command prompt is disabled by the admin only powershell is working for me. the command works fine in powershell . but when running through Matab, it seems that the execution starts from command prompt first instead of powershell
-inputformat none Stop-Process -Name "Excel"
Please suggest any solution
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!