This commit is contained in:
2026-05-11 09:15:08 +02:00
parent 9bec2b9e42
commit 404ee3fec4
641 changed files with 416825 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#set the directory where you are programming
$dev_directory = "$PSScriptRoot\..\.."
#deletes the old modules, if they exist
if(Test-Path "C:\Program Files\WindowsPowerShell\Modules\ATAPAuditor") {
Remove-Item -Path "C:\Program Files\WindowsPowerShell\Modules\ATAPAuditor" -recurse
}
if(Test-Path "C:\Program Files\WindowsPowerShell\Modules\ATAPHtmlReport") {
Remove-Item -Path "C:\Program Files\WindowsPowerShell\Modules\ATAPHtmlReport" -recurse
}
#copys the new modules to the module path of powershell
Copy-Item ($dev_directory + "\ATAPAuditor") -Destination "C:\Program Files\WindowsPowerShell\Modules" -recurse
Copy-Item ($dev_directory + "\ATAPHtmlReport") -Destination "C:\Program Files\WindowsPowerShell\Modules" -recurse
#imports ATAPAuditor and ATAPHtmlReport
Import-Module ATAPAuditor -Force
Import-Module ATAPHtmlReport -Force