Category Archives: Tips

Powershell Tip #6: Create an infinite loop

Tip: You can create an endless loop using while or for :

Powershell Tip #5: Automatic variable ($PSBoundParameters)

Tip: The automatic variable $PSBoundParameters is a hashtable containing the parameters passed to a script or a function. Example:


Powershell Tip #2: Convert Datetime <> String

Tip: Convert String <> Datetime Datetime > String

String > Datetime

MSDN: DateTime.ParseExact Method