About Helen Staddon

Support Engineer @ Risual

Find mailbox move history

By |August 31st, 2016|

Had a customer who wanted to do a mailbox restore from 2 years ago but wasn’t sure which mailbox database the mailbox would have resided in back then. I found a really useful command to show the move history on the a mailbox:

 

(Get-MailboxStatistics <USER> -IncludeMoveHistory).MoveHistory | select CompletionTimestamp,SourceDatabase,TargetDatabase

 

Which gives you something like the below:

 

Hope […]

Post to Twitter

Powershell one-liner to find all users in an OU not logged in for a time span

By |March 30th, 2016|

Here’s a handy one liner to find all users in a particular OU not logged in for 90 days:

 

search-adaccount -accountinactive -usersonly -TimeSpan 90.00:00:00 -SearchBase “OU=Users,OU=Company,DC=Contoso,DC=com” | export-csv usersnotloggedinfor90days.csv

 

Hope it helps!

Post to Twitter

‘Microsoft.Policies.Sensors.WindowsLocationProvider’ is already defined” error when you edit a policy in Windows after adding the Windows 10 ADMX files

By |August 14th, 2015|

Updated our ADMX files today to support our roll out of Windows 10 and upon checking all was ok after a replicate I kept being presented with the following error:

I checked my backup before I added the extra files to note that the file it is referencing is a new one. A quick bing […]

Post to Twitter

App Fabric install error – rebooting constantly

By |July 26th, 2015|

Had an interesting one today, installing the pre-requisites for SharePoint 2013 foundation, every time I got to the App Fabric it would fail and want a reboot. After about 3 reboots I decided enough was enough.

The event logs weren’t much help so I had a look to see if there were any more logs […]

Post to Twitter

GPO not applying to security group

By |July 3rd, 2015|

Had a strange one today – I created a new group policy and tested it using Security Filtering with one user and it worked a treat so I created a group and popped my user in it.

After a replicate and test I could see it just wasn’t applying…and interestingly the user was not showing as […]

Post to Twitter

Change or add SMTP address to O365 user

By |June 6th, 2015|

I was setting up some testing in my labs recently and synced a user from AD to O365. I noticed this user had the primary email address of the onmicrosoft domain which I didn’t want.

When I tried to change this in Exchange online I was presented with an error:

Now I don’t have exchange configured on […]

Post to Twitter

Group Policy changes not replicating between domain controllers

By |May 13th, 2015|

One of our customers reported that changes to group policies were not being replicated correctly. After testing the theory ourselves we could see the policy files versions were not succinct.

So I hopped onto the event logs and started trawling through. After forcing replication there didn’t seem to be any errors or in fact […]

Post to Twitter

Office 365 Pro Plus Version numbers

By |May 9th, 2015|

The other day I needed to find out the version numbers for updates to an Office Pro Plus subscription, I had a quick search and to my dismay couldn’t find anything.

Handily I noticed the below on the options of an office product under File > Account:

This took me to: https://support.microsoft.com/en-gb/gp/office-2013-365-update with all the […]

Post to Twitter

SQL – token-based server access validation failed with an infrastructure error

By |April 25th, 2015|

During our proactive monitoring for a client we saw a failover occur for a SQL cluster, after getting everything back online we began checking the logs to ensure everything was ok. We noticed the below error:

This was actually a node in the clusters machine account, the one that interestingly was involved in the drop. […]

Post to Twitter

Script to find out if updates are installed on a number of servers

By |April 13th, 2015|

I had to check some of our servers today for a number of updates so rather than logon to each one individually I created a little PowerShell script.

You will need to create 2 text files, one called computers.txt and one called updates.txt ideally saved in the same folder as the script. The contents of each […]

Post to Twitter