4 Star 28 Fork 1

scruel / win10-init-all

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
test.ps1 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
scruel 提交于 2017-11-29 15:34 . Fix renamed file missing
# Script Execution must be enabled
# set-executionpolicy remotesigned
# use "Update-Help cmdlet" command to update help files in Powershell
$PSScriptRootPath = (Get-Item -Path $PSScriptRoot).FullName
# import util functions
Import-Module -DisableNameChecking $PSScriptRoot\modules\utils.psm1
# Ask for elevated permissions if required
RequireAdmin -Path $PSCommandPath -Args $args -WorkingDirectory $PSScriptRoot
# Load all tweak functions
Import-Module -DisableNameChecking $PSScriptRoot\modules\install_apps_tweaks.psm1
Import-Module -DisableNameChecking $PSScriptRootPath\modules\system_apps_tweaks.psm1
Import-Module -DisableNameChecking $PSScriptRootPath\modules\system_tweaks.psm1
Import-Module -DisableNameChecking $PSScriptRootPath\modules\network_tweaks.psm1
Import-Module -DisableNameChecking $PSScriptRootPath\modules\ui_tweaks.psm1 # Personal Part
# Invoke-Expression $_"UninstallUeslessBloat"
# Pin-App "照片" -unpin
DisableKeyboardRemoteAdd
# Is-AppInstalled -MatchAttr "DisplayName" -Regex "^Realtek Card Reader$"
# Install-App -FilePath "K:\Program\commonUse\drivers\nvdia_372.54_Win10_64_International\setup.exe" -MatchAttr "DisplayName" -Regex "^NVIDIxA 图形驱动程序" -Permission
WaitForKey
PowerShell
1
https://gitee.com/scruel/win10-init-all.git
git@gitee.com:scruel/win10-init-all.git
scruel
win10-init-all
win10-init-all
master

搜索帮助