tdevropa-test

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

0 Votes

Versioning - This is the latest version.

1Deploy - PowerShell - 2.0 - Windows6/17/2016 2:15:34 PM
2Deploy - PowerShell - 2.0 - Windows8/11/2016 12:55:50 PM
3Deploy - PowerShell - 2.0 - Windows10/3/2016 4:45:31 PM
4Deploy - PowerShell - 2.0 - Windows12/7/2016 1:59:56 AM

Description

Use this fixlet to install Microsoft Windows PowerShell.

Note: .NET Framework 2.0 SP1 is required as a prerequsite.

Note: You must accept the license for Windows PowerShell before deploying this Fixlet. By applying this Fixlet, you are implicitly accepting the license agreement. The end user will NOT be prompted to accept the new license. The license agreement can be found within the installer for the product found at the link below.

File Size:

6 MB

Property Details

ID22938
TitleDeploy - PowerShell - 2.0 - Windows
DomainBESC
CategoryImportant
Download Size35922892
Sourcetdevropa-test
Source Severity<Unspecified>
Source Release Date12/5/2016 12:00:00 AM
Added by on 12/7/2016 1:59:56 AM
Last Modified by on 12/7/2016 1:59:56 AM
Counters 493 Views / 24 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

isWindows (Relevance 1172)
Used in 1070 fixlets and 522 analyses * Results in a true/false
Show indented relevance
windows of operating system
Used in 4 fixlets * Results in a true/false
Show indented relevance
not exists ((it = "1") of (values "install" of it as string) of keys of keys "HKLM\software\microsoft\powershell\1" of native registry) /* Is Powershell not install */ or true
Used in 4 fixlets * Results in a true/false
Show indented relevance
exists (values "Version" of keys of keys "HKLM\software\microsoft\net framework setup\ndp" of native registry) whose (it as string as version >= "3.5.30729" as version) OR (it = "Win8" or it = "Win8.1" or it = "Win2012" or it = "Win2012R2" or it = "Win10") of name of operating system /* Is .Net Installed */ or true

Actions

Action 1 (default)

Action Link Click here to execute this action.
Script Type tdevropa-test Action Script
// Source Release Date: 2016-12-05
if {name of operating system = "WinXP"}
prefetch powershell-xp.exe sha1:540d661066953d76a6907b6ee0d1cd4531c1e1c6 size:6156064 http://download.microsoft.com/download/E/C/E/ECE99583-2003-455D-B681-68DB610B44A4/WindowsXP-KB968930-x86-ENG.exe sha256:0ef2a9b4f500b66f418660e54e18f5f525ed8d0a4d7c50ce01c5d1d39767c00c
elseif {name of operating system = "WinXP-2003"}
prefetch powershell-xp.exe sha1:8ba702aa016e4c5aed581814647f4d55635eff5c size:10334496 http://download.microsoft.com/download/B/D/9/BD9BB1FF-6609-4B10-9334-6D0C58066AA7/WindowsServer2003-KB968930-x64-ENG.exe sha256:9f5d24517f860837daaac062e5bf7e6978ceb94e4e9e8567798df6777b56e4c8
elseif {name of operating system equals "Win2003" AND not x64 of operating system}
prefetch powershell.exe sha1:843dca5f32b47a3bc36cb4d7f3a92dfd2fcdddb3 size:6300960 http://download.microsoft.com/download/1/1/7/117FB25C-BB2D-41E1-B01E-0FEB0BC72C30/WindowsServer2003-KB968930-x86-ENG.exe sha256:71b180e0affd9e005d7151a656414176e727b6dc80a9350e7b2b23bcac0cc98a
elseif {name of operating system equals "Win2003" AND x64 of operating system}
prefetch powershell.exe sha1:8ba702aa016e4c5aed581814647f4d55635eff5c size:10334496 http://download.microsoft.com/download/B/D/9/BD9BB1FF-6609-4B10-9334-6D0C58066AA7/WindowsServer2003-KB968930-x64-ENG.exe sha256:9f5d24517f860837daaac062e5bf7e6978ceb94e4e9e8567798df6777b56e4c8
elseif {(name of operating system = "WinVista" OR name of operating system contains "Win2008") AND not x64 of operating system}
prefetch powershell.msu sha1:16fd2e93be2e7265821191119ddfc0cdaa6f4243 size:34059625 http://download.microsoft.com/download/F/9/E/F9EF6ACB-2BA8-4845-9C10-85FC4A69B207/Windows6.0-KB968930-x86.msu sha256:1c1fee616014da6e52aa7a117b9bcc3a79ac3d838d686b8afe4f723630225fa2
elseif {(name of operating system = "WinVista" OR name of operating system contains "Win2008") AND x64 of operating system}
prefetch powershell.msu sha1:4de013d593181a2a04217ce3b0e7536ab56995aa size:35922892 http://download.microsoft.com/download/2/8/6/28686477-3242-4E96-9009-30B16BED89AF/Windows6.0-KB968930-x64.msu sha256:19bd295d354538873afccc7c9a090ae6ba87beb968b20e8280bf5312826de9e3
endif
if {(name of operating system = "WinXP" AND service pack major version of operating system = 3) or (name of operating system = "WinXP-2003" AND service pack major version of operating system = 2)}
waithidden "{download path "powershell-xp.exe"}" /passive /norestart
elseif {name of operating system equals "Win2003"}
waithidden "{download path "powershell.exe"}" /quiet /norestart
elseif {name of operating system contains "Win2008" or name of operating system = "WinVista"}
waithidden "{pathname of system folder & "\wusa.exe"}" "{download path "powershell.msu"}" /quiet /norestart
elseif {name of operating system contains "Win7"}
if{x64 of operating system}
waithidden cmd /c start /w {pathname of windows folder}\sysnative\pkgmgr.exe /iu:MicrosoftWindowsPowerShell
else
waithidden cmd /c start /w pkgmgr.exe /iu:MicrosoftWindowsPowerShell
endif
elseif {(it = "Win8" or it = "Win8.1" or it = "2012" or it = "2012R2" or it = "Win10") of name of operating system}
if{x64 of operating system}
waithidden cmd /c {pathname of windows folder}\sysnative\dism /online /enable-feature /featurename:MicrosoftWindowsPowerShellV2 /all
else
waithidden cmd /c dism /online /enable-feature /featurename:MicrosoftWindowsPowerShellV2 /all
endif
endif
Success Criteria

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



Comments

Recommended Articles

uninstall canon printer what is msosync exe windows internal database microsoft ssee lame v3 99.3 for windows citrix receiver log file splunk forwarder download symantec endpoint definitions not updating adobe reader xi 11.0 06 symantec liveupdate download universal forwarder splunk outlook connector 64 office 2010 service pack 1 64 bit