Query NTP/Time server from windows

Just a quick note for easy reference.

c:\w32tm /stripchart /datonly /samples:5 /computer:0.us.pool.ntp.org

 

 

 

Advertisements

Kuna Caves – ID

Visited in early 1990s. There was a lot less graffiti then. At the time, it had two or three tight belly crawls in some areas lasting for about 5 feet (for a 6’1, 180lb person) and we dug a few inches down in the wet sand to get through. It didn’t appear that anyone else had ventured into the tight areas.

There was also a small cave that went about 50′ in the opposite direction of the main traveled route (basically behind the ladder)

https://www.google.com/maps/place/Kuna+Caves/@43.4121464,-116.4495462,189m/data=!3m1!1e3!4m2!3m1!1s0x54ae4140bbe19d6b:0xc50b963c8b789f04!6m1!1e1

62168243

Entrance to the lava tube - photo via google (not mine)...
https://static.panoramio.com.storage.googleapis.com/photos/large/62168243.jpg

Simple email notification when server reboots

Often overlooked is the ability to schedule a task to run at system start.  Utilizing that, you can use any number of ways to craft and send an email upon system reboot.

You can Google for a list of free smtp command line mailers to send the email or just use Blat which I’ve used for a while and works just fine.

Here’s a sample blat cmdline which can be added to a batch script or used directly in the task scheduler.

c:\utils\blat.exe -to recipient@mydomain.com -f Sender@mydomain.com -server smtp.mydomain.com -subject "Server Reboot" -body "%computername% has been rebooted."

If you want to use a mailer that’s a little more robust & includes CC,BCC, and support for SSL/TLS (can be used with gmail) and other little things, check out Send-It-Quiet (src/bin avail via Github). And a 3rd option that also supports TLS is sendEmail.

The key is to simply use task scheduler…there are quite a few delivery methods and scripts including using Powershell like this person has.

 

RSAT for Windows 10

Remote Server Admin Tools for Win10 has finally been released. https://www.microsoft.com/en-us/download/details.aspx?id=45520

direct link (x64)

A gui is not available for IP Tools, IPAM tools, and Routing and Remote Access Tools however I’ve seen a few posts saying a workaround for the dhcp is to copy dhcpmgmt.msc & dhcpsnap.dll from System32 on a 2012 R2 box into your Win10 System32 folder (and register the dll).

Ramblings from a SysAdmin/Tech