Add missing OutputType attribute. (#2052)

* Add missing OutputType attribute.

* Adding OutputType attribute with accurate output types, including PSObject for PSCustomObject (using Property parameter
This commit is contained in:
June Blender authored and Dongbo Wang committed 2016-08-24 13:52:44 -07:00
1 parent 5658159d45
commit e1f3494356
1 file changed
+1
@@ -25,6 +25,7 @@ namespace Microsoft.PowerShell.Commands
[Cmdlet(VerbsCommon.Get, "ComputerInfo",
HelpUri = "http://go.microsoft.com/fwlink/?LinkId=799466")]
[Alias("gin")]
[OutputType(typeof(ComputerInfo), typeof(PSObject))]
public class GetComputerInfoCommand : PSCmdlet
{
#region Inner Types