Data Networking Blog
Blog for Admins
Blog

If you love those new Windows 10 lock screen images like me then you may want to keep a copy for yourself so you can enjoy them as a permanent desktop background or just keep them for a collection. This PowerShell script will let you copy/grab the Windows 10 lockscreen images and save them to […]

Standard
August 18, 2016 PowerShell, Script
Jd

Script below will move files from source to destination that match the given extension or all files if no extension is provided. The files older then 30 days are moved by default. you can specify the number of days using the -olderthandays parameter. [CmdletBinding()] param ( [Parameter(Mandatory=$true)][string]$source, [Parameter(Mandatory=$true)][string]$destination, [string[]]$exten=”.*”, [int]$olderthandays = 30 ) $lwt = […]

Standard
August 3, 2016 PowerShell, Script, Uncategorised, Windows
Jd

First, connect to your office 365 environment Connect-MsolService -Credential (Get-Credential) Every Office365 environment has a password policy which contains the notification period and validity period for passwords. Since we want to check when a users password will expire, we will first get this validity period and save it in a variable. In the same Powershell […]

Standard
August 3, 2016 PowerShell, Script, Windows
Jd

Powershell script to delete old files/folders The script below will delete any files/folders older than the provided number of days. It first creates an inverted tree of folder/file structure and then loops through each to see if the last write time is older than a given number of days. You can also clean empty folders […]

Standard
August 20, 2015 Script, Windows
Jd

I recently had a problem where scanning a IIS web server using Titania SSLScan tool for SSL/TLS ciphers I received empty results. The webserver otherwise was working fine and if I tried a web browser I could see a cipher in the SSL certificate. After spending alot of time I finally found a solution. Running […]

Standard
August 20, 2015 Security, Systems, Windows
Jd

While deploying a new web server in our web farm I noticed that the web server I created was giving me some headaches with SSL. It would sometimes present invalid certificates and if I tried telnet commands the connection on port 443 closed quickly. This indicated a problem but I did not hear of any […]

Standard
August 20, 2015 Security, Systems, Windows
Jd

I had to create a couple of new Servers today but the instructions were to make them identical to an existing server which sits in a different Data Centre. So I started off by using the Server Manager GUI and noting down the roles features but I realized there were about 71 of them and […]

Standard
August 6, 2015 Script, Systems, Windows
Jd

Recently I was asked to setup external NTP on a couple of windows 2012 servers and to match the NTP servers to another existing server so to be consistent. There is no GUI to do this and alot of the posts on the internet talk about changing registry which personally I am not too comfortable […]

Standard
April 8, 2015 Windows
Jd

In a previous article I showed you how to use rsync to backup your files. This works fine for most of situations but I was still unable to backup my mySql databases without first manually exporting them to a .sql format. So I decided to write a small shell script to do this for me. […]

Standard
February 19, 2015 Linux, Script, Systems, Unix
Jd

In this blog we will look at how we can find the originating country for a given IP address. I do this to quickly check this information for all IP addresses logged in my Apache logs. I will only use the command line but you can put all this in a script and do a lot […]

Standard
February 17, 2015 Linux, Systems, Unix
Jd
Font Size
Decrease Size Default Size Increase Size
Select Skin
Select Underlay Background
Select Overlay Background
Scheme Switcher Toggle