【文件属性】:
文件名称:PowerShell:Ethan的超棒脚本存储库
文件大小:919KB
文件格式:ZIP
更新时间:2021-04-29 11:22:15
HTML
Ethan Miller的PowerShell实用程序
该存储库包括我用于PowerShell的各种脚本和模块。
基本设定
以管理员身份打开PowerShell,导航到scripts文件夹,然后:
# Clone PowerShell scripts
$ cd $ env: USERPROFILE ; mkdir Repos; cd Repos; mkdir PowerShell; cd PowerShell
$ git clone https: // github.com / ethanmiller1 / PowerShell.git
# Run basic setup scripts
$ .\BasicSetup.ps1
注意:从工作网络运行脚本时,您可能会遇到错误。 在家运行脚本。
手动安装Chocoletey
工作机的执行策略
要运行.ps1脚本,请选择“ File >“