Posted: . At: 9:40 PM. This was 10 years ago. Post ID: 6896
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.

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 .

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.