diff --git a/Install.ps1 b/Install.ps1 index aa7582a..997ee18 100644 --- a/Install.ps1 +++ b/Install.ps1 @@ -28,7 +28,7 @@ Stop-Process -Name Spotify Stop-Process -Name SpotifyWebHelper if ($PSVersionTable.PSVersion.Major -ge 7) { - Import-Module Appx -UseWindowsPowerShell + Import-Module Appx -UseWindowsPowerShell -WarningAction:SilentlyContinue } # Check version Windows $win_os = (get-itemproperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ProductName).ProductName diff --git a/Install_rus.ps1 b/Install_rus.ps1 index 8d53cf3..0921005 100644 --- a/Install_rus.ps1 +++ b/Install_rus.ps1 @@ -28,7 +28,7 @@ Stop-Process -Name Spotify Stop-Process -Name SpotifyWebHelper if ($PSVersionTable.PSVersion.Major -ge 7) { - Import-Module Appx -UseWindowsPowerShell + Import-Module Appx -UseWindowsPowerShell -WarningAction:SilentlyContinue } # Проверка версии Windows $win_os = (get-itemproperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ProductName).ProductName