Perşembe, Kasım 15

Script ile sistem saatini değiştirme

VBS dosyasının içine aşağıdaki kodu yazıyoruz;

Dim wshell
Set wshell = CreateObject("WScript.Shell")
wshell.Run "%COMSPEC% /c net time \\neptun /set /y",0,TRUE
set wshell = Nothing


Neptun Active directory domain controller dır.



Powered by ScribeFire.

Hiç yorum yok: