Skip to main content

8 posts tagged with "Utility"

View All Tags

· 3 min read
Naw Awn

This has been one on my list to do for a while. What you want to do is test your machine build after the deployment from SCCM, MDT or Intune Windows AutoPilot. The script will check

  • if the machine has the list of software you exptect
  • if the specific file or folder eixsts
  • if the registry key and value pairs are correct
  • if the services are running or stopped

Then send the result (Passed or Failed) to your Microsoft Teams channel via the incoming webhook so that you can monitor the result.

· 2 min read
Naw Awn

This post is about retrieving the MSI file properties from PowerShell. There are some tools if you need to read the metadata from the msi database.

  • Orca
  • InstEd

The script will just loop through all the available properties with value and return the result in PSCustomObject. You can use this script to read the ProductCode of an MSI file before the installation.

· 3 min read
Naw Awn

Every IT admin will need to install the Microsoft 365 Office application at some point. Recently I have been looking for the way to automate the process of downloading the new Monthly release version of office package on to Microsoft Deployment Toolkit (MDT) server. So, the next time the machine is built, it will use the latest office application package.
The idea is to check the release version number from the vendor source and compare it against the one stored on the MDT server. If the vendor source has higher version number, it will then download the new package.

· 3 min read
Naw Awn

This is the PowerShell tool with GUI to display what programs are installed on the remote computer. This is done via the remote registry query. The tool requires the remote registry service to be running on the remote computer.

This post is quite short but the script seems a bit long.
Here is the script logic: The script checks if the remote registry service is running on the remote machine. If it is, the script will extract all the programs installed on the remote computer and display them on the data grid view.

· 4 min read
Naw Awn

Building the tool with Graphical User Interface (GUI) has been one of the tasks I needed much these days. You could write the script to automate some stuff but when you needed to write one for normal users, they would rather double click on the file you sent them. This post is about building the PowerShell tool using the Windows Presentation Foundation (WPF) as a desktop application.

· 3 min read
Naw Awn

This was a small weekend personal project to try out Grafana visualisation tool for a test Hyper-V server. InfluxDB was used for storing the time series database. Since performance counter values are based on a series of event happening over time, it is the best one for what it does. The extra tool NSSM was also needed for running influxdb as a service on Windows machine. To make life easier, I also used the PowerShell module called Influx to feed the data to the Influx database.

· 3 min read
Naw Awn

Spring cleaning is on its way!

Sometimes you hear from IT Support saying "the server is very slow, the required service has stopped running and the Windows updates installation failed, etc." When you logon to the server and check what went wrong, you realise the server is running out of space on C: drive and you need to delete some old files or expand the disk to fix the issue. This could become a recurring task for certain VMs. The quick and easy solution is to write a script and run it as a regular maintenance task.