Category Archives: PowerShell

Reading and writing serial port data with PowerShell

Posted on by 0 comment

List com ports

To see a list of available com ports,

Read or write data

To read or write data with given details, such as port, Baudrate etc.

Write unix time

I have a clock which accepts unix time for syncing the time, so I use script below to sync the time if the clock being off for few minutes after some time.

Category: PowerShell, uart

Software installation on multiple systems with PowerShell

Posted on by 0 comment

In this exercise, I will try to install a software on multiple systems with PowerShell, which could reduce some maintenance effort when we need to install or patch some software regularly. The way here is to copy installation file to c:\temp first to remote systems, then install it with remote session, and then check registry and see the installation details.

Category: PowerShell