Skip to content

Just another Identity guy living life in the cloud …

Month: October 2011

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]

PowerShell

Powershell – Deleting files X days old

  • Posted on October 25, 2011September 4, 2018

Here’s a powershell script you can use to delete files in a directory (and all sub-directories) X days old or older.

 

$Now= Get-Date

$Days = “3“

$TargetFolder =… [Keep Reading]

PowerShell

Creating secondary proxy addresses

  • Posted on October 25, 2011September 4, 2018

Often times it may become necessary to stamp an additional SMTP address (proxy address) on a user account, either as part of a migration, or organizational domain name change etc…  

Here’s a … [Keep Reading]

PowerShell

Putting colorized Powershell code in your blog documentation

  • Posted on October 25, 2011September 4, 2018

I love powershell, I love it’s power, flexibility and extensibility, however I I do most of my work in the shell because I cannot stand to use the ISE.  

The only feature … [Keep Reading]

Information

First things first

  • Posted on October 25, 2011September 4, 2018

My name is Darryl Kegg and I am a Senior Deployment Consultant at Microsoft, I am part of the Premier Deployment team within the America’s Cloud Services group deploying Office 365.   My … [Keep Reading]

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