{"id":132,"date":"2008-12-19T14:42:00","date_gmt":"2008-12-19T14:42:00","guid":{"rendered":"http:\/\/antynet.pl\/index.php\/2008\/12\/19\/winshit-management\/"},"modified":"2008-12-19T14:42:00","modified_gmt":"2008-12-19T14:42:00","slug":"winshit-management","status":"publish","type":"post","link":"https:\/\/www.antynet.pl\/index.php\/2008\/12\/19\/winshit-management\/","title":{"rendered":"WINSHIT MANAGEMENT"},"content":{"rendered":"<div><span class=\"Apple-style-span\" style=\"font-weight: bold;\">proteza uptime<\/span><\/div>\n<p>net statistics server<br \/><span class=\"Apple-style-span\" style=\"font-weight: bold;\">proteza mtr<\/span><\/p>\n<div>pathping<\/div>\n<p><span class=\"Apple-style-span\" style=\"font-weight: bold;\">proteza grep<\/span><br \/><span class=\"userInput\">for %g in (file.*) do (find \/n \/i &#8222;text&#8221; &#8222;%g&#8221;)<\/span><\/p>\n<div><span class=\"userInput\"><span class=\"Apple-style-span\" style=\"font-weight: bold;\">ustawienie IP<\/span><br \/>netsh interface ip set address &#8222;Local Area Connection&#8221; dhcp<\/span> &#8211; <span class=\"userInput\">zmiana static IP na dhcp<\/span><br \/><span class=\"userInput\">netsh interface ip set address &#8222;Local Area Connection&#8221; static [IP] [mask] [gateway] 1<\/span><\/p>\n<div><span class=\"Apple-style-span\" style=\"font-weight: bold;\">sprawdzenie IP<\/span><br \/><span class=\"userInput\">netsh interface ip show config<\/span><\/div>\n<div><span class=\"Apple-style-span\" style=\"font-weight: bold; \">sprawdzenie us\u0142ug w tle:<\/span><br \/>tasklist<br \/>tasklist \/svc<span class=\"userInput\"><\/span><\/div>\n<div>\n<div><span class=\"userInput\"><\/span><span class=\"Apple-style-span\" style=\"font-weight: bold;\">us\u0142ugi:<\/span><\/p>\n<div><span class=\"userInput\">HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services &#8211; [Start 2-Automatic, 3-Manual, 4-Disabled]<br \/><b>zarz\u0105daznie us\u0142ugami zdalnie:<\/b><br \/>net use [dysk:] \\\\[server]\\[udzial] \/user:[user] [haslo]<br \/>sc \\\\[server] start|stop [usluga]<br \/>net use \/delete [dysk:]<br \/><\/span><\/div>\n<div><b>us\u0142ugi sieciowe:<\/b><\/div>\n<div>netstat -naob<\/div>\n<div><span class=\"Apple-style-span\" style=\"font-weight: bold; \">firewall:<\/span><br \/>sc query ipnat<br \/>netsh firewall show config<br \/>netsh firewall show state<\/div>\n<div><span class=\"Apple-style-span\" style=\"font-weight: bold;\">wy\u0142\u0105czenie udost\u0119pniania udzia\u0142\u00f3w:<\/span><\/div>\n<div><span class=\"userInput\"><\/p>\n<div>HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\LanManServer\\Parameters<\/div>\n<div>AutoShareServer=dword:00000000<\/div>\n<div>AutoShareWks=dword:00000000<br \/>net stop server<br \/>net start server<\/div>\n<p><\/p>\n<div><b>Usuwanie plik\u00f3w skrypt vbs:<\/b><\/div>\n<div class=\"console\">Dim fso, l_logFiles, logFile,files<br \/>Set fso = CreateObject(&#8222;Scripting.FileSystemObject&#8221;)<br \/>Set files = fso.GetFolder(&#8222;d:\\[log_dir]&#8221;)<br \/>Set l_logFiles = files.Files<br \/>For Each logFile in l_logFiles<br \/>If DateDiff(&#8222;d&#8221;, logFile.DateLastModified, Now) > 30 Then<br \/>logFile.Delete<br \/>end if<br \/>next<\/div>\n<p><\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>proteza uptime net statistics serverproteza mtr pathping proteza grepfor %g in (file.*) do (find \/n \/i &#8222;text&#8221; &#8222;%g&#8221;) ustawienie IPnetsh interface ip set address &#8222;Local Area Connection&#8221; dhcp &#8211; zmiana static IP na dhcpnetsh interface ip set address &#8222;Local Area Connection&#8221; static [IP] [mask] [gateway] 1 sprawdzenie IPnetsh interface ip show config sprawdzenie us\u0142ug w [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[1],"tags":[50],"class_list":["post-132","post","type-post","status-publish","format-standard","hentry","category-bez-kategorii","tag-windows-management"],"_links":{"self":[{"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/posts\/132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/comments?post=132"}],"version-history":[{"count":0,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/posts\/132\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/media?parent=132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/categories?post=132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/tags?post=132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}