Skip to main content


How to launch windows fax and scan

Some old scanners that are still working should be plug and play in newer operating system.
In Windows 7, Windows 8 and Windows 8.1, drivers for old scanners should be detected automatically by Windows OS.
If the driver cannot be installed or found by Windows OS, then its need to get an updated driver from the vendor’s website.
But if the driver is installed by Windows OS successfully, then the Windows Fax and Scan can be used to operate the device.
To scan in Windows, launch Windows Fax and Scan.
It can be launch using the command prompt by typing, “wfs” and press enter.
Or it can be run using the Windows “run” box. Check screen shots below.

On Windows 8 and Windows 8.1 it can be launch using the search button.

Type "scan" and Windows will match any program that has the filename scan.

 See screen shot below:

Click on "Windows Fax and Scan" to launch or open.

On Windows Fax and scan, click on “New Scan” to start scanning.
Default location of scanned pictures for W…

Shutdown network computer using command line

To shutdown list of  PC or servers on the network using command line or via batch file.

Copy and paste line below to notepad and save it as "ShutPC.bat".

FOR /F  %%i  IN (d:\PCList.txt)  DO  Shutdown /M \\%%i  /S  /F 

Whatever list in "PCList.txt" will be shutdown.

To experiment on how the batch file will run or just to read the text file to make sure it will run automatically, do an 'echo' command.

FOR /F  %%i  IN (d:\PCList.txt)  DO Echo "Shutdown /M \\%%i  /S  /F  "

Shutdown a single server or PC:

Shutdown /M \\PC001  /S /F

Shutdown /M \\FileServer  /S /F

/F - will force the server or PC to shutdown. 

Run the batch file using a task scheduler so no need to monitor or execute the script manually.

PowerShell can also do powerful way of shutting down network computers, but old habits are hard to command line still can do wonders and work best.

Automation is a lazy task for an smart IT administrator.

PowerShell get services on remote computers

To check or monitor services on remote computers using PowerShell is a one liner code.
To check Hyper-V Image Management Services on Server1:
Get-service -name vhdsvc -ComputerName Server1
Output will be:
StatusNameDisplayName --------------------- RunningvhdsvcHyper-V Image Management Service
Get-Service cmdlet also accepts wildcard, so to list all services starting with "v".
Type this command:
Get-service -name v* -ComputerName Server1
It will list all services starting with the letter "v".
Display name” or “service name” can be used as input parameter for the get-service cmdlet.

Get-service -name "DHCP Client" -ComputerName Server1

Get-service -name "DHCP" -ComputerName Server1
Both commands will resolve the "DHCP" service.
"DHCP Client" is the display name for DHCP service.
Get-service cmdlet will display the output; provided that the remote computer and the user account used to query have the appropriate rights on the re…

PowerShell get windows update

Updates are good if they will not mess up with the Operating System.
But since nothing is perfect in this world, updates could crash the system or worse create problems that will puzzle the IT guy.

Different hardwares, different third party softwares installed or custom applications, install on  a server or computer. That some updates will work perfectly on other systems but may create issues on other systems.
Troubleshooting the whole system trying to figure out what could be the culprit, but on the end messing up the whole system.
Bottom line, some updates may introduce some issues or mess up the system.
If you need PowerShell to list  all the updates, here is a simple code snippet to list all the KB Hotfix ID updates installed on the system.