Tag: powershell
The touch Command in PowerShell (Linux-Compatible) If you come from Linux/macOS, you probably miss touch: create a file if it doesn’t exist, otherwise update its modified time. PowerShell doesn’t …
In the Windows environment, all three types of scripts (PowerShell, VBScript, and JScript) use CreateObject to invoke the COM object WScript.Shell in order to simulate keystrokes. For example, you …
This is a interesting math puzzle: X, Y and Z is an integer between 0 to 9. so what are they? We can write a PowerShell script to search …
The following provides a method to get the hard drive serial number using PowerShell, VBScript and Javascript, respectively. PowerShell You can get this serial number for the first hard …
If you are a project leader or even a HR, you might want to know long term that each developer’s activity trend, e.g. when is he/she taking a holiday? …