When pinning Notepad2 to the taskbar in Windows 10, a duplicate icon is created. Unpinning the duplicate also removes the original icon, leaving you always with two icons on the taskbar.
To resolve, look for and remove the following line (located in the section [Settings2]) from the settings file %APPDATA\Notepad2.ini:
Save the file, then unpin and re-pin Notepad2 to the taskbar.
This one-liner will output a list of installed programs, similar to what you get when looking it up through Control Panel → Add/Remove Programs.
Get-WmiObject -Class Win32_Product | Select-Object -Property Name
The advantage of this cmdlet is that you can dump it to a text file:
Get-WmiObject -Class Win32_Product | Select-Object -Property Name > Software.txt
And through PS remoting, you can also run this on remote systems.
You can easily perform 'diff' style text comparisons with Powershell:
Compare-Object -ReferenceObject (Get-Content file1.txt) -DifferenceObject (Get-Content file2.txt)
You can redirect the output of a Powershell script to a file. This is called transcribing, and is very useful if you have some Powershell scripts as scheduled tasks and wish to log its output.
$ErrorActionPreference="SilentlyContinue" Stop-Transcript | out-null $ErrorActionPreference = "Continue" Start-Transcript -Path "C:\transcript.log" -Append # # My script code goes here... # Stop-Transcript
There are two methods to specifically target 32-bit or 64-bit OS'es in group policies.
Another method is to check the value of the %Processor_Architecture% variable:
|RSAT for...||Fully supported server OS||Download|
|Windows 10||2012 R2 and below||Download|
|Windows 8.1||2012 R2 and below||Download|
|Windows 8||2012 and below||Download|
|Windows 7 SP1||2008 R2||Download|
A newer RSAT version is always backwards compatible with older server OS versions. For example, all Windows versions from 2012 R2 and below are fully supported by RSAT for Windows 10.
Older RSAT versions can manage newer server OS versions, but only features that are also present in older OS versions can be managed properly. For example, RSAT for Windows 7 partially supports 2012 R2: features that are present on 2008 R2 can be managed, but features unique to 2012 or 2012 R2 cannot).
The Handpresso, a handheld espresso machine, for use on the road.
This should be standard issue in every corporate car...
If you want it, you can purchase it here
The Microsoft File Checksum Integrity Verifier (fciv.exe) is a command line tool you can use to calculate MD5 and SHA1 hashes for files.
It is a suitable alternative to linux's md5sum, and eliminates the need for third party tools or Cygwin.