Windows Management Framework 5.0 Adds PowerShell Module


0

Windows Management Framework 5.0 has been released which features PowerShell and host of other great features. It is possible to get new versions of the PowerShell module by using the following command

install-package MSI –provider powershellget
get-msiproductinfo

The provider name is optional and this helps you to remember the command easier to digest. In order to install them on remote machines, you can either make use of sessions or DSC resources as per following command

$session = new-pssession myserver
invoke-command -script { install-package msi -provider powershellget } -session $session
$products = invoke-command -script { get-msiproductinfo } -session $session
remove-pssession $session

PowerShell

The PowerShell module was published to the gallery to enable developers to test PowerShellGet and also made several improvements.


Like it? Share with your friends!

0

What's Your Reaction?

hate hate
0
hate
confused confused
0
confused
fail fail
0
fail
fun fun
0
fun
geeky geeky
0
geeky
love love
0
love
lol lol
0
lol
omg omg
0
omg
win win
0
win
Anand Narayanaswamy
Anand Narayanaswamy is the editor-in-chief of Learnxpress. He was a Microsoft Most Valuable Professional (MVP) for a period of 9 years. He is a ASPInsider based in Trivandrum, Kerala State, India. Anand is the author of Community Server Quickly published by Packt Publishing.

0 Comments

Your email address will not be published. Required fields are marked *