So you had this Windows Domain Controller also running DNS on the network for years and years. Uninstalling the Domain Controller role is not a problem since computers will start using another DC on the network. But what about the DNS role? You might have a bunch of servers and clients using it, but how do you know? Many clients run DHCP but all those devices configured with a static IP configuration like servers, clients, printers, switches, routers and other [...]
Archive for January, 2011
I was working for a company with offices all over Europe and they wanted to have a word template that included the Active Directory data (name, title, street address etc) when a new document was created. This is how I did it… Sorry for using Word 2003, but that was what they were running at the time. Open up word and create a new file and save it as a .dot template. For me it looked something like this with [...]
Just a quick post on useful PowerShell commands to get some ActiveSync config and statistics. Basic, but I wanted them quickly accessible for my own reference Get-MailboxStatistics -Identity username | fl Get device statistics: Get-ActiveSyncDeviceStatistics -Mailbox username Get more info for specific user, for example if they have ActiveSyncAllowedDeviceIDs configured. Get-CASMailbox -Identity username | fl *ActiveSync* Get a list of users and info regarding their device: Get-Mailbox -ResultSize:Unlimited | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity} | ft Identity,Devicemodel,DeviceOS,DeviceUserAgent,DeviceType,LastSuccessSync Will more or less output [...]




