无忧启动论坛

标题: 执行同名ps1 [打印本页]

作者: liu_zhenfeng    时间: 2022-2-21 17:51
标题: 执行同名ps1
  1. @echo off
  2. powershell.exe -ExecutionPolicy Bypass -NoLogo -Noninteractive -NoProfile -File %~n0.ps1
复制代码


批处理执行同名PowerShell脚本文件.zip (394 Bytes, 下载次数: 7)


来源:qquas  https://gist.github.com/JonasGroeger/10417237





欢迎光临 无忧启动论坛 (http://bbs.c3.wuyou.net/) Powered by Discuz! X3.3