我正在用c#编写一个Powershell-cmdlet,它的行为应该是这样的:
if(RequirementsDoNotMeet) { ExitCmdletAndReturnToPowershellCommandline() }
怎样才能让这种"Cmdlet.Exit“工作呢?
piccus
发布于 2016-10-09 19:51:59
尝试使用简单的指令
return
https://stackoverflow.com/questions/39942056
相似问题