I often ( frequently, not someone who has lost his parents* ) find that while I am testing FIM joins and attribute flows, I would like to maintain contact objects in forest … [Keep Reading]
Category: PowerShell
So what comes after the …
If you're like me, you constantly find yourself running powershell scripts and one or more array never returns the full list, it adds that pesky … whether or not you try the … [Keep Reading]
Fattening up an Exchange mailbox
Sometimes when doing mailbox testing it's necessary to actually bloat a mailbox for the purposes of benchmarking the speed of a mailbox move to Office 365, rather than risk sending sensitive data, … [Keep Reading]
PowerShell connectivity to Azure, Exchange Online and Exchange on-premises all-in-one
I use the following function in my PowerShell profile so that I can use the Microsoft Online cmdlets, the Exchange cmdlets against Exchange online and the Exchange cmdlets against on-premises all in … [Keep Reading]
Testing ADFS Federation with Office 365 without DirSync in place
Sometimes, as you are deploying ADFS, DirSync, Hybrid etc… you might decide that you want to test ADFS with your tenant before you have DirSync in place (maybe you're waiting on a … [Keep Reading]
Duplicating an on-prem mail-enabled security group as a cloud DL
Many Office 365 customers run into problems in a non-hybrid (simple coex) configuration where they used to have on-premise mail-enabled security groups, but they alllowed the group owners to update membership using … [Keep Reading]
Group Nesting Powershell report using Quest Activeroles
I was recently asked to provide a report on the number (and depth) of nested groups in AD.
Getting a list of the groups inside a group is pretty simple using … [Keep Reading]
Zipping files older than X days
Recently I was working with a firewall that wrote some tremendously large log files and was eating disk at an alarming rate, so to remedy this, and sharpen my Powershell pencil, … [Keep Reading]
Powershell and Hyper-V Management
There’s an awesome tool on codeplex for managing Hyper-V using Powershell called PSHyperV, it’s especially handy if you’re working with Hyper-V on a Windows Server Core installation.
Just download the … [Keep Reading]
Powershell Remote User Logoff / Reboot
When patching servers, any disconnected user sessions typically prevent the post-patch auto reboot. To remedy this you could use the following Powershell script :
foreach ($_ in get-content servers.txt) {(… [Keep Reading]