Testing Responses to 'GET' Requests (The Easy Way)

Often times, it may become necessary to look at the response received from a 'GET' request to a web server. We can do a little .NET magic to perform this. Below is an example tested my favorite TV station in Sweden: [net.Webrequest]::Create("http://www.svt.se").GetResponse() IsMutuallyAuthenticated : FalseCookies                 : {}Headers                 : {X-UA-Compatible, X-Varnish, Connection, Content-Length…}SupportsHeaders         : TrueContentLength           : 50827ContentEncoding        …

0

SysInternals: How Handle Helped Me Figure Out Outlook Was Up to No Good

So, after a lengthy day of some C# battles, a few Exchange issues, and some ded.pixel blaring through the speakers, I went to clean-up some folders from my desktop. I received the dreaded 'Folder In Use' message from Windows: Alright. That's odd. All that's in there is two csv files. Excel isn't open. So, needless…

0

RBAC: Associating a Command With a Specific Groups

In some scenarios, it becomes prudent to know what Role is able to run which command. We can found out which groups are able to run which commands via the following syntax: Get-ManagementRoleEntry *\<command> For example, if you wanted to know who could run ‘Get-CalendarDiagnosticLog’, you would run the following command: Get-ManagementRoleEntry *\Get-CalendarDiagnosticLog If you…

0

PowerShell Scripting: EWS and IPM.Configuration.Owa.UserOptions

So, to start off, I should explain how this script came about and why it's, currently, in a 'legacy' status. There was an issue in Exchange 2010 (that, has since, been fixed), where the save method for the IPM.Configuration.Owa.UserOptions item was in an infinite loop due to corruption. This corruption didn't come into fruition until long after RTM…

0

O365: CDN Change Causes OWA Client Error

Recently, we've seen a pattern of escalations wherein users are no longer able to access OWA. Specifically, the error will be similar to the following: In the details, we'll see the error we're concerned with: X-OQA-Error: ClientError;exMsg=’_g’ is undefined; file=https://pod51048.outlook.com/owa/:362 If we use Network Tracing (F12 in Internet Explorer) [or Fiddler] we'll see a failure…

0

C# + EWS: Autodiscover Test (Exchange and O365)

In times of troubleshooting client-side issues, it may become necessary to query for the autodiscover response the user is receiving from either Exchange on-premises or Exchange in O365 – or, in the case of a redirection, both on-premises and O365 Exchange. This is a sample C#.NET Console Application, which will query for the Autodiscover response and use…

0

Exchange 2013: High Availability – When Maintenance Might Be Necessary

During the course of your on-premises environment, it may become necessary to take a production Exchange server out of rotation and perform maintenance on it (i.e.: replace memory, patching, reconfiguration, etc.). During this time, it will become necessary to prevent RemoteMonitoring from testing against the server you need to repair. To understand this, we need to cover High…

0