Get the current Page name

Hi All,

Is there a variable I can reference to get the current page name?

e.g.

New-UDPage -Name “My Page” -Content {
New-UDTypography -Text “$currentPage page”
}

Thanks

2 Likes