I've been home for a couple of hours now from the PowerShell Summit North America 2014 which was in the Seattle Washington area earlier this week and my brain is about to
explode from all of the PowerShell awesomeness that I learned about. There will be many blog articles to follow on those subjects, but I wanted to let my readers know that I'll be
speaking at the ATL TechStravaganza 2014 in Atlanta Georgia on Friday, June 6th. My topic? PowerShell of Course. Specifically, the new features in Read more [...]
Tag: OneGet
While presenting on the OneGet Module in the preview version of PowerShell version 5 for the Mississippi PowerShell User Group last week I discovered a couple of things about the Find-Package cmdlet that I wanted to share.
The first thing is wildcards don't work with the name parameter:
That's seems to be because they're already performing a wildcard search as I'll search for 'Java' in the following example and notice that none of the packages are that exact Read more [...]
1 | Find-Package -Name *Java* |
This blog article will walk you through the issue of the OneGet module not returning an error message when an attempt to install a package fails on a remote computer via the Install-Package cmdlet and PowerShell remoting.
Attempting to install a package such as WireShark on a remote computer gives you a quick flash across the screen that's too quick to read and then it gives your prompt back with no errors and no feedback about whether or not the package was installed:
Checking Read more [...]
1 | Invoke-Command -ComputerName pc04 {Install-Package -Name wireshark} |
I presented a session for the Mississippi PowerShell User Group a couple of days ago and I thought I would share a couple of things I showed during that presentation that I hadn't previously blogged about.
I'm starting where I left off during my last blog article about the OneGet module in the PowerShell version 5 preview.
I've stored the names of the packages that are installed on the local computer (PC03) in a variable named Software and created PSSessions to three remote computers (PC04, Read more [...]
I'm picking up where I left off in my last blog article. Adobe Reader, ImgBurn, and WinRAR have been installed on a Windows 8.1 Enterprise edition computer named PC03. All of the examples shown in this blog article are being run from the PC03 computer.
I'll use a little trick I showed you a few blog articles ago and store the names of the installed packages in a variable and return them at the same time, all in a one-liner:
I'll create a PSSession to the Read more [...]
1 | ($software = Get-Package | Select-Object -ExpandProperty Name) |
As referenced in my previous blog article, a preview version of PowerShell version 5 was released last week.
One of the new modules is named "OneGet" which contains a number of new PowerShell cmdlets:
There's only limited help available for these cmdlets since attempting to update the help fails for the two new modules that are part of the PowerShell version 5 preview:
Update-Help : Failed to update Help for the module(s) Read more [...]
1 | Get-Command -Module OneGet |
1 | Update-Help |