$ModulePath="$($env:windir)\system32\WindowsPowerShell\v1.0\Modules\" Get-ChildItem $PSScriptRoot -Directory | ForEach-Object{ Copy-Item -Recurse -Force $_.FullName $ModulePath }