Powershell

Using PowerShell Gallery

The PowerShell Gallery is a public repository for PowerShell scripts and modules. It is entirely managed by cmdlets. Before you can use the...

read more

New Where-Syntax

In PowerShell 4.0 and better, there is a new alternative to the Where-Object cmdlet: $all = Get-Service $all | Where-Object { $_.Status -eq...

read more

Updating XML Content

If you need to make changes to an existing XML document, for example to update inventory data, the easiest way is to load the document into an XML...

read more

Reading XML Content

Reading XML formatted text is easy when you use an XML object for it. With its method Load(), you can read in content from a file path or a URL. In...

read more

Designing XML Documents

Today we start a little mini series about XML. To create sample data to play with, you will first create a well-formed XML. While you can create XML...

read more

Finding Out UTC Time

When you work in a global environment, it sometimes becomes necessary to translate the local time to UTC (Universal Time). The conversion is done by...

read more

Fast String Operations

String concatenation is a frequent thing in scripts but when you use the "+=" operator to append text to a string, this slows down your...

read more

Parse an Exact Date

If you need to parse a date or time information out of raw text, and if the date and time format does not adhere to the standards of your operating...

read more
1 55 56 57 58 59 130