Show-Result
Shows a Sheer dialog with text results showing the output of the script or another control selected by the user based on either control name or Url to the control.
Syntax
Show-Result -Control <String> [-Parameters <String[]>] [-Title <String>] [-Width <Int32>] [-Height <Int32>]
Show-Result -Url <String> [-Title <String>] [-Width <Int32>] [-Height <Int32>]
Show-Result [-Text] [-Title <String>] [-Width <Int32>] [-Height <Int32>]
Detailed Description
Shows a Sheer dialog with text results showing the output of the script or another control selected by the user based on either control name or Url to the control.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
Parameters
-Control <String>
Name of the Sheer control to execute.
Required?
true
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
-Url <String>
Url to the Sheer control to execute.
Required?
true
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
-Parameters <String[]>
Parameters to be passed to the executed control when executing with the -Control parameter specified.
Required?
false
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
-Text <SwitchParameter>
Shows the default text dialog.
Required?
false
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
-Title <String>
Title of the window containing the control.
Required?
false
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
-Width <Int32>
Width of the window containing the control.
Required?
false
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
-Height <Int32>
Height of the window containing the control.
Required?
false
Position?
named
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Sitecore.Data.Items.Item
Outputs
The output type is the type of the objects that the cmdlet emits.
System.String
Notes
Help Author: Adam Najmanowicz, Michael West
Examples
EXAMPLE 1
Show results of script executio
EXAMPLE 2
Show the Control Panel control in a Window of specified size.
EXAMPLE 3
Related Topics
Last updated