Skip to main content


Hard Times in Life

It's quite easy to tell your self or tell others, Be Strong, Be Tough and Don't Quit.

But how to be strong when everything seems to be hopeless.

How long must endure the pain?

Life is too short, and it is indeed short.

O God please give me the courage to bear this sorrow.

All things beneath the sun are vanities.

Please check out this link, a tragic moment for my home town:

Free Catholic Prayer Android App with no ads.

WMIC get computer name

WMIC get computer model, manufacturer, computer name and  username.
WMIC is a command-line tool and that can generate information about computer model, its manufacturer, its username and other informations depending on the parameters provided.
Why would you need a command line tool if there’s a GUI to check?
If you have 20 or 100 computers, or even more. It’s quite a big task just checking the GUI to check the computer model and username.
If you have remote computers, you need to delegate someone in the remote office or location to check.
Or you can just write a batch file or script to automate the task.
Here’s the code below on how get computer model, manufacturer and the username.
Open an elevated command prompt and type:
wmic computersystem get "Model","Manufacturer", "Name", "UserName"
Just copy and paste the code above, the word “computersystem” does not need to be change to a computer name.
A sample output below will be generated if the co…

Send files via bluetooth

Missing bluetooth icon on taskbar.

And unable to send bluetooth files using your laptop or desktop.

To open bluetooth via taskbar:

This will work provided the PC and the other device has already been paired and configure with the authentication settings to talk to each other.

Well, quick and easy way is to use the command line executable file.

Press Win Key + R, to open the run box.

On the run box, type "fsquirt" without quotes and press enter.

Or go to search box and type "fsquirt" without quotes and press enter.

After pressing enter bluetooth transfer file window will open.

Click on "Send Files" to transfer files on the computer to other bluetooth device.

If there's a bluetooth device already configured and paired with the computer, you need to select which bluetooth device you want to send the files.

Upon selecting which device to transfer the files. The browse window will open and select the files you want to send.

Once finish selecting the files…

Powershell Reset Active Directory Password

How to reset a user account password in Active Directory?

PowerShell can automate resetting of  user accounts password in  Active Directory.

Resetting user account password in Active Directory is quite easy and straight forward.

It will be an easy task if you will be resetting one or two users within a day or a week.

What if there will be a need to reset a bulk of user accounts?

And the bulk of user accounts the password needs to be different from other accounts?

Then it's not fun anymore to reset password one by one, it's a pain on the neck.

Or what if your boss goes to your desk or you receive a call, telling you that I want you  to reset AD user account  password for all the users in this department and I want it now! As in now! Right now!

Then your phone will ring again, I forgot to tell you "don't make the same password  for all the users".

The department that your boss is talking about has 100 employees.

What would be the first thing that would cross your …

Windows Server 2012 Backup System State

How to use task scheduler to back up Windows 2012 server system state
Open Task scheduler on Windows 2012, by opening “Control Panel” and clicking on “Administrative Tools” and selecting “Task Scheduler”.
Or you can just go to the start menu and type “task” to search “Task Scheduler” and click "Task Scheduler" on search result to open.

On “Task Scheduler” window, click on “Create Basic Task” which can be found on the upper right corner of the task scheduler  window.
Upon clicking on “Create Basic Task”, the wizard will open and type the name of the Task.
Since the task is to backup “System State” it would be good to name it “Backup System State”  if you’re backing up multiple servers then you can include the name of the server also.
If you have multiple backups and you don’t have any idea for which server is the system state backup then basically it’s good as nothing.
So naming convention is quite important to avoid confusion.
If you want to be quite specific, you can write…

PowerShell Shutdown Computers

PowerShell to ask confirmation before shutting down the remote PC or server.

Shutdown / Restart remote servers or computers in one go or select or decide which computers / servers to shutdown.

Just want to share this piece of PowerShell code snippet to shutdown or restart remote computers but don't try this at the production environment unless you really have a good reason to do so.

Or if you just want to have some fun give it a shot.

This piece of snippet will only work provided the user account in which you execute this code has the right to shutdown the computers or servers.

First, create a text file name it "computers.txt" or to any filename you like.

If you change the filename make sure it's the variable you include on the code.

On "computers.txt", enter the name of computers you want to shutdown.

The code below will prompt to either shutdown the computer or not.

This PowerShell code will be helpful if need to shutdown or restart specific computers.


VBScript Get Servers Data

VBScript Get HDD Space, Memory Usage, and CPU Usage

As the odds say, old habits are hard to break.

If you've been around working for IT for quite some time.

I'm sure you had fallen in love with VBScript.

VBScript has been around for quite some time and still does it magic and able to deliver good results.

VBScript is quite straight forward, all you need is a notepad and a keyboard.

Of course, it sounds simple, but it's really not.

What I mean is you don't need to install other software to get VBScript up and running.

Of course, you need to have Windows OS and a piece of code in mind to write something on the notepad.

The "I Love You" virus was a VBScript and a lot of computers fall in love with it.

Well, I'm not encouraging someone to write a virus.

Which other people really love to do it as their past time or a way of living.

The piece of VBScript below is able to get hard disk space on any server specified on the list.

It will get the hard disk space on…