# 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](/appendix/common/read-variable.md)
* [Show-Alert](/appendix/common/show-alert.md)
* [Show-Application](/appendix/common/show-application.md)
* [Show-Confirm](/appendix/common/show-confirm.md)
* [Show-FieldEditor](/appendix/common/show-fieldeditor.md)
* [Show-Input](/appendix/common/show-input.md)
* [Show-ListView](/appendix/common/show-listview.md)
* [Show-ModalDialog](/appendix/common/show-modaldialog.md)
* [Show-YesNoCancel](/appendix/common/show-yesnocancel.md)
* <https://github.com/SitecorePowerShell/Console/>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sitecorepowershell.com/appendix/common/show-result.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
