Continuous ping with logging using Powershell

ping 8.8.8.8 -t | Select-String "Reply" | foreach $_ { $a = Get-Date $a.ToString() + " " + $_ } | Out-File "C:\users…

Read more

Published : 31 July 2018

SMB1 (NT1) smbclient issues

SMBv1 (NT1) was deprecated by Microsoft from Windows 2012 onwards. Current versions of the Linux smbclient have removed…

Read more

Published : 14 June 2018

Restore 'Photo Viewer' in Windows 10

Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Applications\photoviewer.dll] [HKEY_CLASSES_ROOT\…

Read more

Published : 22 May 2018

Disable Windows 10 'Fast Startup' aka Hiberboot

Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power] "…

Read more

Published : 22 May 2018

Windows 10 cleanup scripts

Windows 10 initially comes pre bundled with a lot of unnecessary applications and games. The following script will…

Read more

Published : 12 March 2018

Retrieve currently logged in AD user based on IP address

Put the following in a Windows batch file and execute with AD Domain Admin priviledges @echo off echo Enter hostname…

Read more

Published : 16 March 2017