Data Networking Blog
Blog for Admins
Daily Archives: August 3, 2016

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
Font Size
Decrease Size Default Size Increase Size
Select Skin
Select Underlay Background
Select Overlay Background
Scheme Switcher Toggle