Google News
logo
PowerShell - Quiz(MCQ)
How can you make a variable display the current date and time?
A)
Create an [object] variable set to get-date
B)
Create a [datetime] variable set to get-date
C)
Create an [integer] variable set to get-date
D)
Create a [timespan] variable set to get-date

Correct Answer :   Create a [datetime] variable set to get-date

Advertisement