This blog is to learn and share SQL DBA, Linux and Azure knowledge among people by Bandaru Ajeyudu
Get-WmiObject
Win32_OperatingSystem
-ComputerName
<ip address> |
foreach
(
$_
) {
[System.DateTime]
::ParseExact(
.LastBootupTime.split(
'.'
)[0],
'yyyyMMddHHmmss'
,
$null
) }
No comments:
Post a Comment