Head Element | Devolutions PowerShell Universal | Product guides & reference
The example for Styles above shows -Children, however this param doesnt exist in the latest PSU version and instead it should be -Content
Hello,
Thank you for pointing this out, you are absolutely correct.
I verified against the latest Universal module on PSGallery (version 2026.2.3) and can confirm that New-UDHelmet accepts only three parameters: -Tag, -Attributes, and -Content.
There is no -Children parameter, and no alias for it, so the example currently shown on that documentation page is incorrect.
The corrected Styles example is:
New-UDHelmet -Tag 'style' -Attributes @{
type = 'text/css'
} -Content "body { background-color: red }"Two small things worth noting in the corrected version: the parameter is -Content, and it now takes a [String] rather than a [ScriptBlock], so the surrounding { ... } are no longer needed.
I am opening a ticket with our documentation team so the page can be corrected in an upcoming update.
Thank you again for taking the time to report this feedback, as it genuinely helps keep our documentation accurate.
If you notice anything else along the way, please do not hesitate to reach out.
Best regards,
Patrick Ouimet