Category Archives: PowerShell

VPN Connection BUG in Windows 10

So a few days ago I installed Windows 10, installed my software and went on setting up a VPN connection to our remote workplace. Whenever I install this VPN connection, I create two of them. One of them is with ‘use default gateway at remote network’ and one has this option disabled. In that way… Read More »

Powershell: copy files based on date

To copy files from a certain date to a different folder you can use the following PowerShell command:

PowerShell: compare 2 directory’s

Comparing two directory’s and listing the differences

  Original source: Jeff’s Blog

Powershell: Set default printer based on IP address

Simple – quick and dirty’ Powershell script to change your default printer based on the location where you are (i.e. @home or @work)

 

PowerShell: updating AD photo for use in Office 365

I wanted to add a photo to every user in our Office 365 environment, so it is visible within our Lync software. Normally I would think I would go to Lync, open op “Tools” and then “Options”, select My Picture and change it. But in Lync 2013 the “Edit or Remove Picture” is grayed out.… Read More »

PowerShell: Import Scheduled Task

Some powershell I needed to import some scheduled tasks (xml files). Just for my own reference

Changing an Office 365 User Principal Name with Powershell

It is very ease to change your login name in Office 365 if you have PowerShell for office 365 (x86 version, x64 Version) installed. First connect to Office 365

Enter your Credentials, and then issue the next command: