How to view SOAP XML messages to and from AD Webservices and Powershell

I am sure many of us are curious to see the XML messages communicated between the AD Powershell webservices client and a Windows server hosting AD Webservices whenever a powershell cmdlet gets executed. In this blog, I am providing information to view those messages by enabling Windows Communication Foundation (WCF) logging through ADWS configuration. For…

1

Error Reporting in Active Directory Powershell

In this blog, I will discuss the Active Directory (AD) PowerShell error reporting. Good error reporting is critical and it saves time to resolve an issue. Let’s start with the basics. In case of error, AD PowerShell cmdlet prints the error details which contain an error message. PS C:\> New-ADUser -Name:”ADPSUser” -SamAccountName:”ADPSUser” -Enabled:$true New-ADUser : The password does not meet the…

2