From 2381d32a5a162748017dc09ca6f8cd01b873c18c Mon Sep 17 00:00:00 2001 From: "Haug, Christoph" Date: Mon, 14 Feb 2022 09:36:16 +0100 Subject: [PATCH] Add Install-PowershellModules --- Install-PowershellModules.ps1 | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Install-PowershellModules.ps1 diff --git a/Install-PowershellModules.ps1 b/Install-PowershellModules.ps1 new file mode 100644 index 0000000..80aba7f --- /dev/null +++ b/Install-PowershellModules.ps1 @@ -0,0 +1,4 @@ +$ModulePath="$($env:windir)\system32\WindowsPowerShell\v1.0\Modules\" +Get-ChildItem $PSScriptRoot -Directory | ForEach-Object{ + Copy-Item -Recurse -Force $_.FullName $ModulePath +} \ No newline at end of file