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 2016-08-24 14:52:44 -06:00 committed by Dongbo Wang
parent 5658159d45
commit e1f3494356

View file

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