PowerShell Module for Time Synchronization – PowerShell Workflows to get status, start, invoke, test, monitor and repair Time Sync

I decided to write PowerShell module to deal with Time Synchronization. I wrote following PowerShell Workflows: Get-VDateTimeInternetUtc Very simple Workflow to get current date and time in UTC (Coordinated Universal Time) from the internet. The date and time is obtained from public website over HTTP (TCP 80) so it is possible to use this workflow […]

PowerShell advanced function (cmdlet) to get Windows Firewall rules according specified protocols and ports

I wrote a very simple helper function (you can use it as cmdlet in own module) to simplify work with Get-NetFirewallRule cmdlet. Examples Get FW rules from remote server based on multiple protocols and ports Get-RvNetFirewallRule -Protocol TCP, UDP -LocalPort @(135..138) -CimSession MyRemoteServer | Format-Table Get disabled rule from the local server based on specified protocol […]

PowerShell advanced function (cmdlet) to import CSV, convert values into correct types and split all serialized arrays and collections

There are situations where you need to import data from CSV but some properties (columns in CSV) should be in different type (bool, DateTime, int) and some properties are arrays and lists (collections) with another delimiter than delimiter that was used for CSV. The problem is that CSV is a flat file. Information are not hierarchical […]