Windows PowerShell 2.0 Available
1 Votes |
Versioning - This is the latest version.
1 | Windows PowerShell 2.0 Available | 1/30/2015 9:46:25 AM |
2 | Windows PowerShell 2.0 Available | 1/30/2015 9:49:06 AM |
Description
Install Windows PowerShell version 2.0
After the installation of PowerShell in Windows 2008 servers it will be required reboot the server.
Property Details
3966 | |
Production - Fully Tested and Ready for Production | |
Windows PowerShell 2.0 Available | |
BESC | |
Update | |
35922892 | |
rafansm@br.ibm.com | |
<Unspecified> | |
1/23/2015 12:00:00 AM | |
Install Windows PowerShell 2.0 Available | |
rafansm on 1/30/2015 9:49:06 AM | |
rafansm on 1/30/2015 9:49:06 AM | |
5782 Views / 13 Downloads | |
* Average over 1 rating. ** Log In or Register to add your rating. |
Relevance
Used in 4 fixlets | * Results in a true/false |
(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 |
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
BigFix Action Script
if {((name of it = "WinXP") OR (name of it = "WinXPe")) of operating system AND TRUE}Success Criteria
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
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"}
waithidden "{pathname of system folder & "\wusa.exe"}" "{pathname of client folder of current site & "\__Download\Windows6.0-KB968930-x64.msu"}" /quiet /norestart
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"}
waithidden "{pathname of system folder & "\wusa.exe"}" "{pathname of client folder of current site & "\__Download\Windows6.0-KB968930-x86.msu"}" /quiet /norestart
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"}
waithidden __Download\WindowsServer2003-KB968930-x64-ENG.exe /quiet /norestart
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"}
waithidden __Download\WindowsServer2003-KB968930-x86-ENG.exe /quiet /norestart
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"}
waithidden "{pathname of system folder & "\wusa.exe"}" "{pathname of client folder of current site & "\__Download\Windows6.0-KB968930-x64.msu"}" /quiet /norestart
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"}
waithidden "{pathname of system folder & "\wusa.exe"}" "{pathname of client folder of current site & "\__Download\Windows6.0-KB968930-x86.msu "}" /quiet /norestart
endif
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
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
Sharing
Social Media: |
Comments
|
|
New Fixlet to install Power Shell in Windows servers. Previously version http://bigfix.me/fixlet/details/634 was not working correctly in Windows 2008 servers. |