Category Archives: Microsoft

Check if DAG databases is on preferred server

If you are using DAG in exchange 2010 for high availability on your mailboxes there may be one thing you might have noticed, the databases can fail over to a less preferred server at any time without you noticing. Microsoft … Continue reading

Posted in Exchange, Microsoft, Powershell Tagged , , ,

Grep’ing the eventlog using powershell

If you are used to working with Linux you’re probably familiar with using tail, grep and such for gathering stuff from logs and other files. Those are quite useful tools and work very well when you want to find out … Continue reading

Posted in Microsoft, Powershell Tagged , ,

Mass import of users in Active Directory v2 – Powershell time

Earlier I posted a script that created users and homefolders and added the users to specified groups. It also set ntfs permissions on the homefolders. That script used primarily old fashioned stuff, so I sat down and started looking for … Continue reading

Posted in Active Directory, Exchange, Microsoft, Powershell Tagged , , ,

Simple powershell script for enabling users for Lync

I wrote this simple little script for enabling users for Lync. It asks for input on name, sipdomain and line uri. The rest is set using variables defined at the start of the script. If you only have one sipdomain … Continue reading

Posted in Lync, Microsoft, Powershell Tagged , ,

Install and configure Exchange 2010 using Powershell

In this guide I will show you how to install and configure a simple Exchange 2010 environment using no gui at all. Installing exchange 2010 without gui may seem kinda nerdy, but it’s quite useful for quickly setting up a … Continue reading

Posted in Exchange, Microsoft, Powershell Tagged , ,

Setting NTFS permissions using Powershell

I am currently working on a script similar to the Mass import of users in Active Direcory post I published earlier (as promised ). In the new script I wanted to only use powershell, so I had to find a … Continue reading

Posted in Microsoft, Powershell Tagged , , ,

Robocopy backup script

This is a script I have used on several of my relatives computers for backing up their data. Windows backup won’t do for them because they feel the need to see the actual files on the external drive… Anyway, heres … Continue reading

Posted in Microsoft, Windows 7 Tagged , , ,

Enable Resource Booking Attendant on all Room Mailboxes

The Resource Booking Attendant should be enabled on all your Room Mailboxes. If it is not, the room will not accept or decline incoming meeting requests. Which is somewhat the whole point right? Heres a powershell command to enable it … Continue reading

Posted in Exchange, Microsoft Tagged , , , ,

Mass import of users in Active Directory

Tried sleeping……That obviously didn’t work out, so here’s a guide on how to import a number of users in Active Directory and then creating and sharing out their home folder. Note: This guide uses dsadd for creating users and cacls … Continue reading

Posted in Active Directory, Microsoft Tagged , , , , ,

Quick guide for setting up Libraries in Windows 7

Libraries can be a nice feature to use if you have your pictures, music, movies and whatnot spread across several different locations, be that discs, servers or folders. It’s really simple to setup too! Open up explorer and look to … Continue reading

Posted in Microsoft, Windows 7 Tagged , ,