Converting VBScript's Minute Function
Definition: Returns a whole number between 0 and 59, inclusive, representing the minute of the hour.
Wow: you need to know the exact minute for a specified date-time value? No problem: just use the Get-Date Cmdlet and grab the value of the Minute property:
When you run this command and then echo back the value of $a you should get the following (depending on the actual time, of course):