Replicate Proximity Placement Group workloads in Azure

Chiyo OdikaAZURELeave a Comment

Azure Site Recovery (ASR) now supports proximity placement groups (PPGs) from the Azure portal. Recall that previously, ASR only supported Proximity placement groups when configured via PowerShell. The new functionality in the portal is a lot more seamless, and I highly recommend it for replicating for failover and failback to a secondary region, any workloads that are configured within proximity placement groups. Recall that proximity placement groups is a construct that enables you to logically group your application components together to avoid network latency between the various tiers of your application. The use case for this in the context of site recovery is that while PPGs provide optimal network latency for your application, you also want to ensure that in … Read More

Chiyo OdikaReplicate Proximity Placement Group workloads in Azure

PowerShell Queries and Square Brackets

Chiyo OdikaGENERAL, PowerShell, SCOM, UncategorizedLeave a Comment

I recently encountered an interesting issue while trying to query class instances in SCOM. The class instances for certain classes will return the parent class as well as associated classes in the following format: [Parent Class Name].attribute. For instance the class instance for Microsoft.Windows.Computer returns the following:

  Ok so this returns expected values. Now let’s return a specific object instead of all objects:

This returns nothing, even though we clearly see values for the Logical Processors when we select all objects. After some checking, re-checking, and second guessing, I found an article that’s as short as the solution is simple. Apparently double-escaping is required for the parser to properly handle square brackets in strings. Note that the … Read More

Chiyo OdikaPowerShell Queries and Square Brackets