' © 2006 Shailendra
'Returns the Operating System installation date.
strComputer = "."
Set dtmInstallDate = CreateObject( _
"WbemScripting.SWbemDateTime")
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\cimv2")
Set colOperatingSystems = objWMIService.ExecQuery _
("Select * from Win32_OperatingSystem")
For Each objOperatingSystem in colOperatingSystems
MsgBox "Install Date: " & getmydat (objOperatingSystem.InstallDate)
Next
Function getmydat(wmitime)
dtmInstallDate.Value = wmitime
getmydat = dtmInstallDate.GetVarDate
End function
Here is a simple script(code in red color) that will tell you your OS install date & Time ![]()
Open Notepad. Just copy and paste the below mentioned codes into that notepad
file and save it with .vbs extension ( eg. OSINSTALLDATE.vbs ). Double
click that file & it will show your OS install date & time. Have Fun.
Friday, February 22, 2008
Know Your Operating System Install Date
Posted by
Shailendra
at
9:11 AM
Labels: Knowledge
Subscribe to:
Post Comments (Atom)
Search
Categories
- Cool Websites (53)
- FireFox (1)
- Funny Software (3)
- Hardware Reviews (1)
- Knowledge (46)
- Linux (2)
- Megaupload Tricks (1)
- Mobiles (1)
- news (11)
- Rapidshare Tricks (6)
- Reviews (3)
- Security (1)
- Software Reviews (60)
- Tips (35)
- Tricks (26)
- Tutorials (44)
Links
Blog Archive
-
▼
2009
(23)
- ► 05/17 - 05/24 (4)
- ► 03/29 - 04/05 (5)
-
►
2008
(80)
- ► 12/28 - 01/04 (8)
- ► 12/07 - 12/14 (6)
- ► 10/05 - 10/12 (4)
- ► 09/14 - 09/21 (2)
- ► 08/24 - 08/31 (4)
- ► 06/15 - 06/22 (1)
- ► 06/08 - 06/15 (1)
- ► 04/06 - 04/13 (1)
- ► 03/30 - 04/06 (6)
- ► 03/16 - 03/23 (9)
- ► 03/09 - 03/16 (3)
- ► 03/02 - 03/09 (2)
- ► 02/24 - 03/02 (1)
- ► 02/17 - 02/24 (18)
- ► 01/27 - 02/03 (8)
- ► 01/06 - 01/13 (2)
-
►
2007
(120)
- ► 12/16 - 12/23 (3)
- ► 12/02 - 12/09 (5)
- ► 11/25 - 12/02 (7)
- ► 11/18 - 11/25 (7)
- ► 11/04 - 11/11 (3)
- ► 10/28 - 11/04 (30)
- ► 10/21 - 10/28 (3)
- ► 10/14 - 10/21 (4)
- ► 10/07 - 10/14 (10)
- ► 09/30 - 10/07 (10)
- ► 09/02 - 09/09 (23)
- ► 08/26 - 09/02 (9)
- ► 08/12 - 08/19 (6)


1 comments:
Sorry. Look please here
Post a Comment