tdevropa-test

Windows PowerShell 2.0 Available
Log In or Register to download the BES file, and more.

0 Votes

Collections (part of 1 collection)

PowerShell

Description

Install Windows PowerShell version 2.0

Property Details

ID634
TitleWindows PowerShell 2.0 Available
DomainBESC
CategoryUpdate
Download Size35922892
Source[email protected]
Source ID<Unspecified>
Source Severity<Unspecified>
Source Release Date4/21/2011 12:00:00 AM
KeywordsPowerShell
Is TaskTrue
Added by on 10/24/2012 1:43:56 PM
Last Modified by on 10/24/2012 1:43:56 PM
Counters 3612 Views / 46 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 4 fixlets * Results in a true/false
Show indented relevance
(name of it = "WinXP" OR (name of it = "Win2003" AND NOT x64 of it) OR (name of it = "Win2003" AND x64 of it) OR (name of it = "WinVista" AND product type of it = nt workstation product type AND NOT x64 of it) OR (name of it = "WinVista" AND product type of it = nt workstation product type AND x64 of it) OR ((name of it = "Win2008" or (name of it = "WinVista" and product type of it != nt workstation product type)) AND NOT x64 of it) OR ((name of it = "Win2008" or (name of it = "WinVista" and product type of it != nt workstation product type)) AND x64 of it) OR name of it = "WinXPe") of operating system AND TRUE
Used in 4 fixlets * Results in a true/false
Show indented relevance
NOT ( exists key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1" whose (value "Install" of it as integer = 1) of registry ) OR ( (exists key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1" whose (value "Install" of it as integer = 1) of registry) AND (exists key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine" whose (value "PowerShellVersion" of it as string as version < "2.0") of registry) )

Actions

Action 1 (default)

Action Link Click here to deploy this software.
Script Type tdevropa-test Action Script
//Windows XP and XPe
if {((name of it = "WinXP") OR (name of it = "WinXPe")) of operating system AND TRUE}
download http://download.microsoft.com/download/E/C/E/ECE99583-2003-455D-B681-68DB610B44A4/WindowsXP-KB968930-x86-ENG.exe
continue if {(size of it = 6156064 AND sha1 of it = "540d661066953d76a6907b6ee0d1cd4531c1e1c6") of file "WindowsXP-KB968930-x86-ENG.exe" of folder "__Download"}
wait __Download\WindowsXP-KB968930-x86-ENG.exe /quiet /norestart
//Windows Vista x64
elseif {(name of it = "WinVista" AND product type of it = nt workstation product type AND x64 of it) of operating system AND TRUE}
download http://download.microsoft.com/download/3/C/8/3C8CF51E-1D9D-4DAA-AAEA-5C48D1CD055C/Windows6.0-KB968930-x64.msu
continue if {(size of it = 35922892 AND sha1 of it = "4de013d593181a2a04217ce3b0e7536ab56995aa") of file "Windows6.0-KB968930-x64.msu" of folder "__Download"}
wait __Download\Windows6.0-KB968930-x64.msu /quiet /norestart
//Windows Vista x86
elseif {((name of it = "WinVista" AND product type of it = nt workstation product type AND NOT x64 of it)) of operating system AND TRUE}
download http://download.microsoft.com/download/A/7/5/A75BC017-63CE-47D6-8FA4-AFB5C21BAC54/Windows6.0-KB968930-x86.msu
continue if {(size of it = 34059625 AND sha1 of it = "16fd2e93be2e7265821191119ddfc0cdaa6f4243") of file "Windows6.0-KB968930-x86.msu" of folder "__Download"}
wait __Download\Windows6.0-KB968930-x86.msu /quiet /norestart
//Windows Server 2003 x64
elseif {((name of it = "Win2003" AND x64 of it)) of operating system AND TRUE}
download http://download.microsoft.com/download/B/D/9/BD9BB1FF-6609-4B10-9334-6D0C58066AA7/WindowsServer2003-KB968930-x64-ENG.exe
continue if {(size of it = 10334496 AND sha1 of it = "8ba702aa016e4c5aed581814647f4d55635eff5c") of file "WindowsServer2003-KB968930-x64-ENG.exe" of folder "__Download"}
wait __Download\WindowsServer2003-KB968930-x64-ENG.exe /quiet /norestart
//Windows Server 2003 x86
elseif {((name of it = "Win2003" AND NOT x64 of it)) of operating system AND TRUE}
download http://download.microsoft.com/download/1/1/7/117FB25C-BB2D-41E1-B01E-0FEB0BC72C30/WindowsServer2003-KB968930-x86-ENG.exe
continue if {(size of it = 6300960 AND sha1 of it = "843dca5f32b47a3bc36cb4d7f3a92dfd2fcdddb3") of file "WindowsServer2003-KB968930-x86-ENG.exe" of folder "__Download"}
wait __Download\WindowsServer2003-KB968930-x86-ENG.exe /quiet /norestart
//Windows 2008 x64
elseif {(((name of it = "Win2008" or (name of it = "WinVista" and product type of it != nt workstation product type)) AND x64 of it)) of operating system AND TRUE}
download http://download.microsoft.com/download/2/8/6/28686477-3242-4E96-9009-30B16BED89AF/Windows6.0-KB968930-x64.msu
continue if {(size of it = 35922892 AND sha1 of it = "4de013d593181a2a04217ce3b0e7536ab56995aa") of file "Windows6.0-KB968930-x64.msu" of folder "__Download"}
wait __Download\Windows6.0-KB968930-x64.msu /quiet /norestart
//Windows 2008 x86
elseif {(((name of it = "Win2008" or (name of it = "WinVista" and product type of it != nt workstation product type)) AND NOT x64 of it)) of operating system AND TRUE}
download http://download.microsoft.com/download/F/9/E/F9EF6ACB-2BA8-4845-9C10-85FC4A69B207/Windows6.0-KB968930-x86.msu
continue if {(size of it = 34059625 AND sha1 of it = "16fd2e93be2e7265821191119ddfc0cdaa6f4243") of file "Windows6.0-KB968930-x86.msu" of folder "__Download"}
wait __Download\Windows6.0-KB968930-x86.msu /quiet /norestart
endif
//we want to be able to import modules... thus set to remotesigned if it is not set
parameter "curExecutionPolicy"="{if exists key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell" of (if exists x64 registry then x64 registry else registry) then if exists value "ExecutionPolicy" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell" of (if exists x64 registry then x64 registry else registry) then (value "ExecutionPolicy" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell" of (if exists x64 registry then x64 registry else registry) as string) else "" else ""}"
if {(parameter "curExecutionPolicy" = "") OR (parameter "curExecutionPolicy" = "Restricted")}
if {x64 of operating system}
regset64 "[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell]" "ExecutionPolicy"="RemoteSigned"
else
regset "[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell]" "ExecutionPolicy"="RemoteSigned"
endif
endif
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.

Action 2

Action Link Click here to learn more about PowerShell v2.0.
Script Type URL
http://support.microsoft.com/kb/968929
 


Comments

Log In or Register to leave comments!

Recommended Articles

dell bios flash utility ssis sharepoint list python 2.7 msi uninstall password for symantec endpoint protection windows server 2008 enterprise activation key microsoft help viewer 1.1 download download lync for mac 2011 adobe reader xi full installer microsoft expression encoder 4 screen capture codec adobe premiere pro cc release date how to check symantec endpoint protection version autoadminlogon windows 7 profilelist registry windows 7