Very useful Powershell commands available in Powershell 4.0.

Some very useful Powershell 4.0 cmdlets that are now available.

Get-FileHash this gets the SHA256 hash of a file.

PS C:\Users\Homer\Desktop> Get-FileHash .\scammers.png

Algorithm       Hash                                                                   Path
---------       ----                                                                   ----
SHA256          92E09BFBBAD2DF6E3FD329CB4AE5F15231AA12B869327706854F7DF9D106971B       C:\Users\Homer\Desktop\scammers.png

Save-Help This will download help content from a remote server and save it on your machine. I used the following command in a new empty folder and it installed a large number of XML and cab files containing help information.

PS C:\Users\Homer\Desktop\help> Save-Help -DestinationPath .

No comments have been made. Use this form to start the conversation :)

Leave a Reply