# where my test page will go
$path = 'master:\content\Sample'
# wipe and re-create it if exists
$item = New-Item -Path $path -ItemType "Sample/Sample Item"
$device = Get-LayoutDevice -Default
# and a layout we will change to
$layout = Get-Item -Path 'master:\layout\Layouts\System\Simulated Device Layout'
# change the layout from what is in Standard values to the new one.
Set-Layout -Item $item -Device $device -Layout $layout | Out-Null