Update PS Mod directory
This commit is contained in:
Родитель
13be6703b4
Коммит
cd3740a3ce
|
@ -9,7 +9,8 @@ function Remove-AzureCT {
|
|||
Write-Host "AzureCT tools directory removed" -ForegroundColor Green
|
||||
} # End If
|
||||
|
||||
$Destination = Join-Path -Path ([Environment]::GetFolderPath('MyDocuments')) -ChildPath 'WindowsPowerShell\Modules\AzureCT'
|
||||
# $Destination = Join-Path -Path ([Environment]::GetFolderPath('MyDocuments')) -ChildPath 'WindowsPowerShell\Modules\AzureCT'
|
||||
$Destination = 'C:\Program Files\WindowsPowerShell\Modules\AzureCT\'
|
||||
If (Test-Path $Destination) {
|
||||
Try {
|
||||
Remove-Item $Destination -Recurse
|
||||
|
|
|
@ -20,8 +20,8 @@ function Install-AzureCT {
|
|||
$FileName += 'Public/Install-LinkPerformance.ps1'
|
||||
$FileName += 'Public/Get-LinkPerformance.ps1'
|
||||
|
||||
|
||||
$Destination = Join-Path -Path ([Environment]::GetFolderPath('MyDocuments')) -ChildPath 'WindowsPowerShell\Modules\AzureCT\'
|
||||
#$Destination = Join-Path -Path ([Environment]::GetFolderPath('MyDocuments')) -ChildPath 'WindowsPowerShell\Modules\AzureCT\'
|
||||
$Destination = 'C:\Program Files\WindowsPowerShell\Modules\AzureCT\'
|
||||
New-Item -Path ($Destination) -ItemType Directory -Force | Out-Null
|
||||
New-Item -Path ($Destination + "Public") -ItemType Directory -Force | Out-Null
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче