Category: PowerShell

Working with XML files in PowerShell 0

Working with XML files in PowerShell

Let’s say we have an xml configuration file for our PowerShell script and we want to read / update the information in it: And this is the script for reading / updating the contents...

0

Useful commands with Get-Date

In the previous post we saw how to convert a string to the DateTime format. Now we want to have a string from an actual DateTime object: .AddDays, .AddHours etc.: