# 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.

| Aliases                     |       |
| --------------------------- | ----- |
| Required?                   | true  |
| Position?                   | named |
| Default Value               |       |
| Accept Pipeline Input?      | false |
| Accept Wildcard Characters? | false |

### -Url \<String>

Url to the Sheer control to execute.

| Aliases                     |       |
| --------------------------- | ----- |
| 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.

| Aliases                     |       |
| --------------------------- | ----- |
| Required?                   | false |
| Position?                   | named |
| Default Value               |       |
| Accept Pipeline Input?      | false |
| Accept Wildcard Characters? | false |

### -Text \<SwitchParameter>

Shows the default text dialog.

| Aliases                     |       |
| --------------------------- | ----- |
| Required?                   | false |
| Position?                   | named |
| Default Value               |       |
| Accept Pipeline Input?      | false |
| Accept Wildcard Characters? | false |

### -Title \<String>

Title of the window containing the control.

| Aliases                     |       |
| --------------------------- | ----- |
| Required?                   | false |
| Position?                   | named |
| Default Value               |       |
| Accept Pipeline Input?      | false |
| Accept Wildcard Characters? | false |

### -Width \<Int32>

Width of the window containing the control.

| Aliases                     |       |
| --------------------------- | ----- |
| Required?                   | false |
| Position?                   | named |
| Default Value               |       |
| Accept Pipeline Input?      | false |
| Accept Wildcard Characters? | false |

### -Height \<Int32>

Height of the window containing the control.

| Aliases                     |       |
| --------------------------- | ----- |
| 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

```powershell
PS master:\> Show-Result -Text
```

### EXAMPLE 2

Show the Control Panel control in a Window of specified size.

```powershell
PS master:\> Show-Result -Control "ControlPanel" -Width 1024 -Height 640
```

### EXAMPLE 3

```powershell
Shows a new instance of ISE
Show-Result -Url "/sitecore/shell/Applications/PowerShell/PowerShellIse"
```

## Related Topics

* [Read-Variable](https://doc.sitecorepowershell.com/appendix/common/read-variable)
* [Show-Alert](https://doc.sitecorepowershell.com/appendix/common/show-alert)
* [Show-Application](https://doc.sitecorepowershell.com/appendix/common/show-application)
* [Show-Confirm](https://doc.sitecorepowershell.com/appendix/common/show-confirm)
* [Show-FieldEditor](https://doc.sitecorepowershell.com/appendix/common/show-fieldeditor)
* [Show-Input](https://doc.sitecorepowershell.com/appendix/common/show-input)
* [Show-ListView](https://doc.sitecorepowershell.com/appendix/common/show-listview)
* [Show-ModalDialog](https://doc.sitecorepowershell.com/appendix/common/show-modaldialog)
* [Show-YesNoCancel](https://doc.sitecorepowershell.com/appendix/common/show-yesnocancel)
* <https://github.com/SitecorePowerShell/Console/>
