Skip to main content
Version: 2.2.1-preview

ConvertFrom-MtSysvolGppXml

SYNOPSIS​

Parses Group Policy Preferences XML for password findings.

SYNTAX​

ConvertFrom-MtSysvolGppXml [-Content] <String> [-RelativePath] <String> [-ProgressAction <ActionPreference>]
[<CommonParameters>]

DESCRIPTION​

Loads XML with DTD processing prohibited, finds cpassword attributes at any depth, and detects common weak plaintext defaults only in password-named XML attributes or elements. Password values are never returned.

EXAMPLES​

EXAMPLE 1​

<User cpassword="x" /></Groups>' -RelativePath 'Groups.xml'

PARAMETERS​

-Content​

XML text to inspect.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-RelativePath​

Normalized path used in non-secret finding evidence.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction​

Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider, such as the progress bars generated by Write-Progress.

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters​

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS​

OUTPUTS​

System.Management.Automation.PSObject​

NOTES​