Add PowerShell modules setup and Clink config

This commit is contained in:
Riz Ashraf
2026-02-12 10:37:56 +00:00
parent a060beb628
commit fbc7be32a9
5 changed files with 355 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
Write-Host "Checking for required PowerShell modules..."
$modules = @(
"posh-git",
"Profiler",
"PSFzf",
"PSProfiler",
"PSScriptAnalyzer",
"Terminal-Icons",
"gsudoModule"
)
foreach ($mod in $modules) {
if (-not (Get-Module -ListAvailable -Name $mod)) {
Write-Host "Installing $mod..."
Install-Module $mod -Scope CurrentUser -Force -AllowClobber
} else {
Write-Host "$mod is already installed."
}
}