Skip to content

Just another Identity guy living life in the cloud …

Tag: Powershell

PowerShell

Fattening up an Exchange mailbox

  • Posted on March 10, 2014September 4, 2018

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]

Azure

PowerShell connectivity to Azure, Exchange Online and Exchange on-premises all-in-one

  • Posted on March 5, 2014September 4, 2018

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]

Azure

Testing ADFS Federation with Office 365 without DirSync in place

  • Posted on February 20, 2014September 4, 2018

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]

AADConnect

Office 365 Exchange Attribute migration between forests

  • Posted on February 20, 2014September 4, 2018

Back in late 2012 / early 2013 I created a number of documents on advanced identity integration with Office 365 using FIM and the Windows Azure Active Directory (WAAD) Management agent.   That … [Keep Reading]

Azure

Auto-Licensing script for Office 365

  • Posted on January 7, 2013September 4, 2018

You can use the following script with task scheduler to connect to your tenant via powershell, check for any unlicensed users and apply a license.

It will alert via email when the … [Keep Reading]

ObjectSID

NT Account to SID translation …. and back again.

  • Posted on November 23, 2011April 26, 2019

 

I keep the following nifty functions in my Powershell profile, it helps when working with SIDs and Active Directory, it allows you to easily convert a SID back to the NTACCOUNT … [Keep Reading]

PowerShell

Zipping files older than X days

  • Posted on October 26, 2011September 4, 2018

 

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

Powershell and Hyper-V Management

  • Posted on October 26, 2011September 4, 2018

 

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.

http://pshyperv.codeplex.com/

Just download the … [Keep Reading]

PowerShell

Powershell Remote User Logoff / Reboot

  • Posted on October 25, 2011September 4, 2018

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]

PowerShell

Merging and appending to CSV files using Powershell

  • Posted on October 25, 2011September 4, 2018

The time-tested approach of appending data to the end of a file using >> doesn’t necessarily work with CSV files in Powershell, and Out-File with the -append switch typically results in a … [Keep Reading]

Posts pagination

Previous page Page 1 Page 2 Page 3 Next page

Archives

  • September 2020
  • April 2019
  • March 2019
  • June 2018
  • February 2018
  • January 2018
  • November 2017
  • August 2017
  • June 2017
  • January 2017
  • October 2016
  • September 2016
  • August 2015
  • May 2015
  • March 2015
  • February 2015
  • August 2014
  • May 2014
  • March 2014
  • February 2014
  • January 2013
  • January 2012
  • November 2011
  • October 2011

Popular Tags

  • 365 (4)
  • aadc (1)
  • AADCHelper (1)
  • AAD Connect (8)
  • aadconnect (3)
  • AAD Sync (2)
  • ADFS (2)
  • ADSync (1)
  • Array (1)
  • Azure (6)
  • Azure AD Premium (1)
  • book (1)
  • Clipboard (1)
  • CloudLegacyExchangeDN (1)
  • Codeplex (1)
  • Color (1)
  • command does not take pipeline input (1)
  • connect-office365 (2)
  • contacts (1)
  • convert (1)
  • ConvertTo-CSV (1)
  • Countdown Timer (1)
  • CSV (1)
  • defrag vbscript scheduled task (1)
  • Delegation (1)
  • dirsync (2)
  • distribution group (1)
  • enumeration limit (1)
  • eventID (1)
  • Exchange (2)
  • Exchange Online (2)
  • Export-CSV (1)
  • Failure (1)
  • FIM (3)
  • immutableID (2)
  • msExchRecipientDisplayType (2)
  • msExchRecipientTypeDetails (2)
  • msexchremoterecipienttype (2)
  • MSOLService (2)
  • office 365 (9)
  • office365 (6)
  • Powershell (22)
  • PowerShellPack (2)
  • profile (2)
  • X500 (2)
Copyright © 2025 . All rights reserved.

Proudly powered by WordPress