PowerShel程序执行完后删除脚本自身的方法 2014年11月30日 作者:junjie 当脚本执行完成后,可以删除自身 #删除脚本自身 remove-item $MyInvocation.MyCommand.Path -force