Returns the layout for the specified device.
Get-LayoutDevice [-Name] <String>
Get-LayoutDevice [-Default]
The Get-LayoutDevice command returns the layout for the specified device.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
Name of the device to return.
Aliases | |
---|---|
Required? | true |
Position? | 1 |
Default Value | |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
Determines that a default system layout device should be returned.
Aliases | |
---|---|
Required? | true |
Position? | 1 |
Default Value | |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
The input type is the type of the objects that you can pipe to the cmdlet.
- Sitecore.Data.Items.Item
The output type is the type of the objects that the cmdlet emits.
- Sitecore.Data.Items.DeviceItem
Help Author: Adam Najmanowicz, Michael West
Get Print device
PS master:\> Get-LayoutDevice "Print"
Get default device
PS master:\> Get-LayoutDevice -Default
Get all layout devices
PS master:\> Get-LayoutDevice *