ps1文件怎么运行?(ps1文件用什么软件运行)
时间:2022-04-19 18:47:16
ps1文件是什么?ps1后缀文件就是powershell写的脚本文件,一般保存为xxx.ps1的文件名,那么ps1文件要如何运行呢?下面小编带来的就是win10用powershell执行ps1文件的教程,感兴趣的用户可以看看。
win10怎么用powershell执行ps1文件
1、win+r打开运行;
![ps1文件怎么运行?(ps1文件用什么软件运行)](https://img.aspxhome.com/file/2023/30/a267102_0.jpg)
2、输入:$PSVersionTable查看powershell版本;
![ps1文件怎么运行?(ps1文件用什么软件运行)](https://img.aspxhome.com/file/2023/30/a267102_1.jpg)
3、进入ps1文件目录:PS C:\Users\admin> cd E:\DevEnviroments\skype-docs-master\Skype\WebSDK\build
执行ps1文件:PS E:\DevEnviroments\skype-docs-master\Skype\WebSDK\build》 。\Build-Samples.ps1
![ps1文件怎么运行?(ps1文件用什么软件运行)](https://img.aspxhome.com/file/2023/30/a267102_2.jpg)
4、开启权限:set-executionpolicy remotesigned;
![ps1文件怎么运行?(ps1文件用什么软件运行)](https://img.aspxhome.com/file/2023/30/a267102_3.jpg)
5、结果提示要以管理员身份运行,进入:C:\Windows\System32\WindowsPowerShell\v1.0
![ps1文件怎么运行?(ps1文件用什么软件运行)](https://img.aspxhome.com/file/2023/30/a267102_4.jpg)
6、右键选择以管理员身份运行,进入后执行set-executionpolicy remotesigned;
![ps1文件怎么运行?(ps1文件用什么软件运行)](https://img.aspxhome.com/file/2023/30/a267102_5.jpg)
7、此时再执行ps1文件成功。
![ps1文件怎么运行?(ps1文件用什么软件运行)](https://img.aspxhome.com/file/2023/30/a267102_6.jpg)
标签:ps1文件,ps1文件怎么运行,ps1文件用什么软件运行
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
升级iPadOS13.4后,蓝牙键盘无法使用怎么办?
2022-07-21 19:49:04
![](https://img.aspxhome.com/file/2023/2/a195352_0s.png)
mac截图怎么设置为高清图片? mac中QQ截屏设置未高清图片的技巧
2022-06-10 02:21:58
![](https://img.aspxhome.com/file/2023/7/a214407_0s.jpg)
打印表格时内容显示不完整怎么办?四种方法解决WPS不完整问题
2023-02-19 11:08:50
![](https://img.aspxhome.com/file/2023/3/a165643_0s.jpg)
excel怎样使用格式刷
2023-08-18 20:11:26
如何在桌面版Chrome浏览器中启用实时字幕?
2023-06-05 00:53:03
![](https://img.aspxhome.com/file/2023/9/a207879_0s.png)
wps2019标尺在哪? wps2019调出标尺的教程
2023-12-08 06:13:50
![](https://img.aspxhome.com/file/2023/2/a167262_0s.png)
excel表格if函数嵌套的使用教程
2023-02-03 23:44:07
Win10手机版怎么样?Windows10手机版系统真机运行图赏
2022-06-15 01:54:14
![](https://img.aspxhome.com/file/2023/29/a252093_0s.jpg)
wps文字怎么去掉背景色
2022-04-28 07:11:48
Win10如何实现登录系统时自动更新升级病毒库?
2022-09-27 02:40:37
![](https://img.aspxhome.com/file/2023/26/a224721_0s.jpg)
excel图表根据选择高亮显示图表系列数据点
2023-11-27 01:18:30
![](https://img.aspxhome.com/file/2023/1/a142591_0s.gif)
iOS 14.5正式版什么时候到?iOS 14.5正式版会有什么新政?
2023-12-08 18:27:11
![](https://img.aspxhome.com/file/2023/6/46026_0s.png)
如何在Mac上快速签署 PDF
2022-01-29 06:31:13
![](https://img.aspxhome.com/file/2023/8/a214458_0s.jpg)
Win7电脑删除便签的时候没有确认提示怎么办?
2022-06-15 21:12:45
![](https://img.aspxhome.com/file/2023/27/a229676_0s.jpg)
Excel怎样将表格保存为PDF格式
2022-08-21 06:23:59
Win10启动模式legacy和uefi选哪个好?
2022-01-28 03:44:15
![](https://img.aspxhome.com/file/2023/26/a220597_0s.png)
Mac上方便好用的倒计时软件:Red Hot
2023-08-03 14:59:25
![](https://img.aspxhome.com/file/2023/2/a205222_0s.jpeg)
Excel中删除非打印字符的CLEAN函数使用教程
2022-12-27 00:06:48
每次打开word都要安装配置的解决方法(通用)
2023-01-10 18:45:26
![](https://img.aspxhome.com/file/2023/0/29130_0s.jpg)
Win7还原任务栏默认设置的方法
2022-05-21 11:26:05
![](https://img.aspxhome.com/file/2023/27/a233098_0s.jpg)