mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
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:
1 parent
5658159d45
commit
e1f3494356
1 file changed
+1
+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
|
||||
|
||||
Reference in new issue
Block a user