Dashboard without a header or footer (Powershell Universal)

How do I remove the header and footer in Powershell Universal 2.2.1?

the old article by Adam is for UniversalDashboard not Powershell Universal.

Please advice


Hi Adam,
Thanx for your response,

Im not using page only single dashboard.
How can we remove the header on single dashboard without page?

Can you share some example ?



You won’t be able to do it with just a dashboard but you can make a single page dashboard.

New-UDDashboard -Title '' -Pages @(
   New-UDPage -Name 'Home' -Blank -Content {
     # your code here

Hi Adam,
Tnx for your reply, I did the page but now I have childComponent on the site as a text.

I put a new-udform -content with one textbox and I get that childComponent.

Please advise.


Now that sounds like a bug. Let me take a look today.

It looks like this has been resolved already in 2.3.

New-UDDashboard -Title "Hello, World!" -Pages @(
    New-UDPage -Name "Test" -Blank -Content {
        New-UDButton -Text 'Click Me' -OnClick {
            Show-UDToast "Nice"


Hi ,
On the site we only have version 2.2.1,
Where I can find 2.3?

2.3 will be released to production next Tuesday. You can download the nightly releases here: https://imsreleases.z19.web.core.windows.net/


Sorry for hijacking this thread. I am getting the below error when I put “-Blank” param to one page. Is this somehow related to this thread issue? Is this fixed in V2.3?

Sep 17, 2021 11:56 AM Startup:    at System.Management.Automation.CmdletParameterBinderController.ThrowAmbiguousParameterSetException(UInt32 parameterSetFlags, MergedCommandParameterMetadata bindableParameters)

   at System.Management.Automation.CmdletParameterBinderController.ValidateParameterSets(Boolean prePipelineInput, Boolean setDefault)

   at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection`1 arguments)

   at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection`1 arguments)

   at System.Management.Automation.CommandProcessor.BindCommandLineParameters()

   at System.Management.Automation.CommandProcessorBase.DoPrepare(IDictionary psDefaultParameterValues)

   at System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream)

   at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)

   at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)

   at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)

   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)

   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)