Tuesday, August 4, 2015

PowerShell 5.0

Hello my friends.

Does everyone know that there is a new version of PowerShell available for download? The PowerShell team isn't waiting on Server software releases to deliver new features and functionality. They're delivering updates as soon as they are ready.

OneGet is a new way to discover and install software packages from around the web. With OneGet, you can:
·        Manage a list of software repositories in which packages can be searched, acquired, and installed
·        Search and filter your repositories to find the packages you need
·        Seamlessly install and uninstall packages from one or more repositories with a single PowerShell command
 
This first version of OneGet installs and searches software from Chocolatey repositories.  Support of additional repositories will come in subsequent versions.  Here are some sample commands to get you started:
Import module:
PS> Import-Module -Name OneGet

Enumerate the list of OneGet commands available:
PS> Get-Command -Module OneGet
 
CommandType     Name                       ModuleName
-----------     ----                       ----------
Cmdlet          Add-PackageSource          OneGet   
Cmdlet          Find-Package               OneGet   
Cmdlet          Get-Package                OneGet   
Cmdlet          Get-PackageSource          OneGet   
Cmdlet          Install-Package            OneGet   
Cmdlet          Remove-PackageSource       OneGet   
Cmdlet          Uninstall-Package          OneGet   

What's new with PowerShell in Windows 10

Windows 10 is one of the most dynamic operating systems we've seen in a long time. And with it comes a new version of PowerShell. There are some big changes, especially with Desired State Configuration and Server vNext. But I'm going to focus on a few of the fun new changes in the Windows 10 desktop OS. Some of these include: •More integration with Windows Defender •Ships with a package manager •Archive (.ZIP file) cmdlets •Changes to –item noun to enable symbolic links •The ability to develop classes (and enums) using PowerShell •PowerShell transcripts within the ISE •Better script tracing I'll add a few posts covering these topics. Enjoy!