Ramblings of an IT Professional!

PowerShell

Powershell: Get Execution Path of Script

I have been writing a script which generated a report. I had used Out-File to write to a file and this had been working as expected for some time. Today however, I opened up PowerShell and entered the path of the script without changing directory to the script location first. This caused the report file to be written to a directory other than the script itself. I quite like having the report and script in the same directory as it keeps it all together. So I thought, how do I insure the script writes the report file where it's being…
Chris Colden
June 1, 2012
Office 365

Office 365: Supporting Multiple Top Level Domains with ADFS 2.0 RU1

If you read the Office 365 Deployment Guide, it will state that to support multiple top level domains you need a separate instance of ADFS for each domain. This can get very expensive in terms of hardware, as you would need to make each instance highly available. Typically this would mean four servers per instance, two ADFS servers and two ADFS Proxies servers in the DMZ. This is no longer true as of ADFS 2.0 RU1. (more…)
Chris Colden
May 15, 2012