Converting VBScript's Minute Function
Definition: Returns a whole number between 0 and 59, inclusive, representing the minute of the hour.
Minute
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:
$a =(get-date).minute
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):
24