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:
parent
5658159d45
commit
e1f3494356
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue