79619225

Date: 2025-05-13 08:18:51
Score: 0.5
Natty:
Report link

Changing all regular double quotes to single quotes and vice versa AND escaping the single quotes in the group name using \'

Result in PowerShell:

Get-WmiObject -Query "SELECT PartComponent FROM Win32_GroupUser WHERE GroupComponent = 'Win32_Group.Domain=""DOMAIN_NAME"",Name=""Opérateurs d\'assistance de contrôle d\'accès""'"
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Manuel K