PowerShell: Play with Time

1. Constructor:


2. Accessing a property


3. Output Time (Usage):

write-host "It has been $hours hours."

4. Destructor (optional as the system automatically performs this task when session goes out of scope):

Posted on Categories Codes

Leave a Reply

Your email address will not be published. Required fields are marked *