PowerShell One-Liner to get OS/Operating System Install Date.
Example:
[System.Management.ManagementDateTimeConverter]::ToDateTime((Get-WmiObject -Class Win32_OperatingSystem).InstallDate)
Without the DateTimeConverter this will just show the raw output of the date and time.
(Get-WmiObject -Class Win32_OperatingSystem).InstallDate
Feeling overwhelmed with life's tribulations, sufferings and anxieties.
You need to surrender all to Jesus, have a faith of mustard seed and walk in the path of righteousness.
Matt. 11 Verses 28 to 30
Take my yoke upon you, and learn from me; for I am gentle and lowly in heart, and you will find rest for your souls. For my yoke is easy, and my burden is light.
Example:
[System.Management.ManagementDateTimeConverter]::ToDateTime((Get-WmiObject -Class Win32_OperatingSystem).InstallDate)
Without the DateTimeConverter this will just show the raw output of the date and time.
(Get-WmiObject -Class Win32_OperatingSystem).InstallDate
Feeling overwhelmed with life's tribulations, sufferings and anxieties.
You need to surrender all to Jesus, have a faith of mustard seed and walk in the path of righteousness.
Matt. 11 Verses 28 to 30
Take my yoke upon you, and learn from me; for I am gentle and lowly in heart, and you will find rest for your souls. For my yoke is easy, and my burden is light.
Comments
Post a Comment