Downloads:
13,341,896
Downloads of v 5.0.10586.20151218:
171,423
Last Update:
11 Apr 2016
Package Maintainer(s):
Software Author(s):
- Microsoft wrote PowerShell
- IntelliTect created the Chocolatey Package
Tags:
powershell admin reboot scripting oneget- Software Specific:
- Software Site
- Software License
- Package Specific:
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Windows Management Framework and PowerShell
This is not the latest version of Windows Management Framework and PowerShell available.
- 1
- 2
- 3
5.0.10586.20151218 | Updated: 11 Apr 2016
- Software Specific:
- Software Site
- Software License
- Package Specific:
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
13,341,896
Downloads of v 5.0.10586.20151218:
171,423
Maintainer(s):
Software Author(s):
- Microsoft wrote PowerShell
- IntelliTect created the Chocolatey Package
Windows Management Framework and PowerShell 5.0.10586.20151218
This is not the latest version of Windows Management Framework and PowerShell available.
Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Microsoft wrote PowerShell, IntelliTect created the Chocolatey Package. The inclusion of Microsoft wrote PowerShell, IntelliTect created the Chocolatey Package trademark(s), if any, upon this webpage is solely to identify Microsoft wrote PowerShell, IntelliTect created the Chocolatey Package goods or services and not for commercial purposes.
- 1
- 2
- 3
Some Checks Have Failed or Are Not Yet Complete
Not All Tests Have Passed
Deployment Method: Individual Install, Upgrade, & Uninstall
To install Windows Management Framework and PowerShell, run the following command from the command line or from PowerShell:
To upgrade Windows Management Framework and PowerShell, run the following command from the command line or from PowerShell:
To uninstall Windows Management Framework and PowerShell, run the following command from the command line or from PowerShell:
Deployment Method:
This applies to both open source and commercial editions of Chocolatey.
1. Enter Your Internal Repository Url
(this should look similar to https://community.chocolatey.org/api/v2/)
2. Setup Your Environment
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment
Option 1: Cached Package (Unreliable, Requires Internet - Same As Community)-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
-
Download the package:
Download - Follow manual internalization instructions
-
-
Package Internalizer (C4B)
-
Run: (additional options)
choco download powershell --internalize --version=5.0.10586.20151218 --source=https://community.chocolatey.org/api/v2/
-
For package and dependencies run:
choco push --source="'INTERNAL REPO URL'"
- Automate package internalization
-
Run: (additional options)
3. Copy Your Script
choco upgrade powershell -y --source="'INTERNAL REPO URL'" --version="'5.0.10586.20151218'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade powershell -y --source="'INTERNAL REPO URL'" --version="'5.0.10586.20151218'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Install powershell
win_chocolatey:
name: powershell
version: '5.0.10586.20151218'
source: INTERNAL REPO URL
state: present
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
chocolatey_package 'powershell' do
action :install
source 'INTERNAL REPO URL'
version '5.0.10586.20151218'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
cChocoPackageInstaller powershell
{
Name = "powershell"
Version = "5.0.10586.20151218"
Source = "INTERNAL REPO URL"
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'powershell':
ensure => '5.0.10586.20151218',
provider => 'chocolatey',
source => 'INTERNAL REPO URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
4. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...
This package was approved by moderator ferventcoder on 13 Apr 2016.
Windows Management Framework 5.0 includes updates to Windows PowerShell, Windows PowerShell ISE, Windows PowerShell Web Services (Management OData IIS Extension), Windows Remote Management (WinRM), Windows Management Instrumentation (WMI), the Server Manager WMI provider, and a new feature for 4.0, Windows PowerShell Desired State Configuration (DSC).
Windows Management Framework 5.0 includes updates to Windows PowerShell, Windows PowerShell Desired State Configuration (DSC), and Windows PowerShell ISE. It also includes OneGet, PowerShellGet, and Network Switch cmdlets
IMPORTANT NOTES for your Operating System:
PowerShell 4 and later requires at least .NET 3.5.1.
This package will warn you and exit if it is not installed.
It is not automatically installed as a dependency so that you
maintain complete control over the .NET version in your build.
Windows 8.1, Windows 2012R2: Installs PowerShell 5.0.
Windows 8: PowerShell 4.0 not supported. PowerShell 3.0 installed by default
Windows 7 SP1, Windows 2008 R2 SP1, or Windows 2012: PowerShell 5.0 installed (as of 5.0.10105 April 2015 Preview)
ATTENTION: Windows 7 and Server 2008 R2 Required WMF/PowerShell 4.0 to be installed first.
This package will install 4 if it is not installed and instruct you to re-run the package using -Force
Or you can just install WMF 4 first if you have this already setup in build automation.
This is a temporary restriction that Microsoft is working on removing for the final release.
Windows Vista or Windows 2008: Directs to PowerShell 3.0 install
WARNING: DO NOT INSTALL ON SCCM SERVERS.
Tested On: Windows 7, Windows 8.1, Windows 2008 R2, Windows 2012, Windows 2012 R2, Windows 10
Write-Debug ("Starting " + $MyInvocation.MyCommand.Definition)
[string]$packageName="PowerShell.5.0"
<#
Exit Codes:
3010: WSUSA executed the uninstall successfully.
2359303: The update was not found.
#>
#5.0.10586
$osVersion = (Get-WmiObject Win32_OperatingSystem).Version
if(-not (($osVersion -ge [version]"6.4") -or ($osVersion -ge [version]"10.0"))) {
Start-ChocolateyProcessAsAdmin "/uninstall /KB:3134760 /quiet /norestart /log:`"$env:TEMP\PowerShell.PowerShell.Uninstall.5.evtx`"" -exeToRun "WUSA.exe" -validExitCodes @(3010,2359303)
Start-ChocolateyProcessAsAdmin "/uninstall /KB:3134759 /quiet /norestart /log:`"$env:TEMP\PowerShell.PowerShell.Uninstall.5.evtx`"" -exeToRun "WUSA.exe" -validExitCodes @(3010,2359303)
Start-ChocolateyProcessAsAdmin "/uninstall /KB:3134758 /quiet /norestart /log:`"$env:TEMP\PowerShell.PowerShell.Uninstall.5.evtx`"" -exeToRun "WUSA.exe" -validExitCodes @(3010,2359303)
}
Write-Warning "$packageName may require a reboot to complete the uninstallation."
Log in or click on link to see number of positives.
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
2013 Microsoft Corporation
2016.3.28:
Fixed bug with Windows Server 2012 installation
2015.12.19:
Updated for PowerShell 5.0.10586.20151218 RTM - Released 2015-12-18.
2015.09.02:
Updated for PowerShell 5.0.10514.6 (Production Preview) Released 8/31/15 (Darwin).
Checks if you already have 5.0 installed and requires previous versions of 5 to be uninstalled first.
2015.04.29:
Updated for PowerShell 5.0.10105 (April 2015 Preview) (Darwin).
Windows 7 SP1 and Server 2008 R2 SP1 NOW SUPPORTED FOR PSH 5!
2015.03.18:
Updated for PowerShell 5 (Darwin).
2014.10.01:
Changed to report success when PowerShell 4.0 is already installed.
2014.09.15:
Support added for PowerShell 4.0
This package has no dependencies.
Ground Rules:
- This discussion is only about Windows Management Framework and PowerShell and the Windows Management Framework and PowerShell package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or Windows Management Framework and PowerShell, or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.