Iterating hash values to a log file

While working on my last script, I was trying to figure out the best way to write the values stored in a hash table for the purposes of splatting out to a log file. Consider: $parameters = @{} $parameters.Add(“Parameter1″,”Value1”)$parameters.Add(“Parameter2″,”Value2”)$parameters.Add(“Parameter3″,”Value3”) I was using a modified version of my logging function, which is basically a wrapper for…


Migrating from Exchange Online eDiscovery and In-Place Hold to the Security & Compliance Center

One of the issues that some of my larger customers have been dealing with is the lack of tooling and planning around moving legacy Exchange Online In-Place eDiscovery & Holds to the new(ish) Security & Compliance Center.  Our direction has been to either let them age out or manually recreate them the Security & Compliance…


Checking for compromised email accounts

Yesterday, I participated in an escalation for a customer where one or more users had been successfully phished and had given up their credentials.  While we were walking through some remediation steps, we started a discussion about data exfiltration attempts. Many moons ago, I put together a few scripts that can be used to check…


Alerting on OneDrive Deleted Item Activity

I had a customer recently raise some questions about how to provide further enhancements and protections around their OneDrive for Business deployments.  Suppose this scenario exists: Users are site collection administrators over their OneDrive for Business sites (default configuration) Retention policies are configured, but may only be configured to provide a very minimal amount of…