Category Archives: Powershell

Powershell Office365 Timing Issues

When is a successful command in PowerShell really not successful yet?  Sometimes when working with...

Get-ADPrincipalGroupMembership Internal Error

The PowerShell cmdlet Get-ADPrincipalGroupMembership can throw an internal error under certain conditions.  On a project...

Managing User Photos in Active Directory

Active Directory has a few binary attributes associated with users that allow you to store...

Retrieve Active Directory Group Membership Information using PowerShell

We had a customer ask recently about the best way to export group members for...

Diagnose Active Directory Management Gateway Service (ADMGS) Errors

I recently worked on a Windows Server 2008 system with the Active Directory Management Gateway...

PowerShell Script Error for AuthorizationManager check failed

I was recently working in a client environment and running a PowerShell script that calls...

PowerShell Errors Connecting to Active Directory Domains and Forests

I needed to work with data from a child domain in our test environment so...

Routing PowerShell Command Results to the Write-Output Cmdlet

I am working on a project where we host a PowerShell runspace in IIS and...

Using the PowerShell Get-ADDomain cmdlet with an IIS Application Pool Identity

We use the PowerShell Active Directory module cmdlets for our applications and wanted to share...

PowerShell Hosting in ASP.NET: Resolving Errors with PowerShell Set-ExecutionPolicy

One of the great innovations in Windows PowerShell is the ability to host the PowerShell...