mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2025-05-09 13:52:02 -04:00
Detect Powershell 1.0 on Server 2008 and ask to install Powershell 2.0
This commit is contained in:
parent
817bfe84de
commit
d47a750bad
6 changed files with 24 additions and 50 deletions
|
@ -145,15 +145,15 @@ echo Upgrade to Windows Vista SP1 or SP2.
|
|||
goto dk_done
|
||||
)
|
||||
|
||||
if not exist %ps% (
|
||||
if %winbuild% LSS 7600 if not exist "%SysPath%\WindowsPowerShell\v1.0\Modules" (
|
||||
%nceline%
|
||||
if not exist %ps% (
|
||||
echo PowerShell is not installed in your system.
|
||||
if %winbuild% LSS 7600 (
|
||||
echo Install PowerShell using the following URL.
|
||||
)
|
||||
echo Install PowerShell 2.0 using the following URL.
|
||||
echo:
|
||||
echo https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
||||
if %_unattended%==0 start https://www.catalog.update.microsoft.com/Search.aspx?q=KB968930
|
||||
)
|
||||
goto dk_done
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue