Permalink
Browse files

Define output Type

  • Loading branch information...
1 parent 0cfa0e7 commit 2701067c144be40e810ba0b2a2ff1fab1d5316a0 @guitarrapc committed Jan 19, 2015
@@ -9,6 +9,7 @@
Backup-WindowsCredentialVaultConfig
#>
+ [OutputType([Void])]
[CmdletBinding()]
param
(
@@ -9,6 +9,8 @@
Edit-WindowsCredentialVaultConfig
#>
+ [OutputType([Void])]
+ [CmdletBinding()]
param
(
[parameter(mandatory = 0, position = 0)]
@@ -8,7 +8,7 @@
.EXAMPLE
Show-WindowsCredentialVaultConfig
#>
-
+ [OutputType([Void])]
[CmdletBinding()]
param
(
@@ -9,6 +9,7 @@
Reset-WindowsCredentialVaultConfig
#>
+ [OutputType([Void])]
[CmdletBinding()]
param
(
@@ -9,6 +9,7 @@
Show-WindowsCredentialVaultConfig
#>
+ [OutputType([System.String[]])]
[CmdletBinding()]
param
(
@@ -10,7 +10,7 @@
ConvertFrom-PasswordCredential -Credential $Credential
#>
- [OutputType([PSCredential])]
+ [OutputType([PSCredential[]])]
[CmdletBinding()]
param
(
@@ -10,7 +10,7 @@
ConvertTo-PasswordCredential -Credential (Get-Credential) -ResourceName hoge
#>
- [OutputType([Windows.Security.Credentials.PasswordCredential])]
+ [OutputType([Windows.Security.Credentials.PasswordCredential[]])]
[CmdletBinding()]
param
(
@@ -14,7 +14,7 @@
.EXAMPLE
Get-WindowsCredential -All
#>
- [OutputType([PSCredential])]
+ [OutputType([PSCredential[]])]
[CmdletBinding(DefaultParameterSetName = "Specific")]
param
(
@@ -9,6 +9,7 @@
Backup-WindowsCredentialVaultConfig
#>
+ [OutputType([Void])]
[CmdletBinding()]
param
(
@@ -47,6 +48,8 @@ function Edit-WindowsCredentialVaultConfig
Edit-WindowsCredentialVaultConfig
#>
+ [OutputType([Void])]
+ [CmdletBinding()]
param
(
[parameter(mandatory = 0, position = 0)]
@@ -87,7 +90,7 @@ function Enable-WindowsCredentialVaultConfig
.EXAMPLE
Show-WindowsCredentialVaultConfig
#>
-
+ [OutputType([Void])]
[CmdletBinding()]
param
(
@@ -127,6 +130,7 @@ function Reset-WindowsCredentialVaultConfig
Reset-WindowsCredentialVaultConfig
#>
+ [OutputType([Void])]
[CmdletBinding()]
param
(
@@ -159,6 +163,7 @@ function Show-WindowsCredentialVaultConfig
Show-WindowsCredentialVaultConfig
#>
+ [OutputType([System.String[]])]
[CmdletBinding()]
param
(
@@ -193,7 +198,7 @@ function ConvertFrom-PasswordCredential
ConvertFrom-PasswordCredential -Credential $Credential
#>
- [OutputType([PSCredential])]
+ [OutputType([PSCredential[]])]
[CmdletBinding()]
param
(
@@ -226,7 +231,7 @@ function ConvertTo-PasswordCredential
ConvertTo-PasswordCredential -Credential (Get-Credential) -ResourceName hoge
#>
- [OutputType([Windows.Security.Credentials.PasswordCredential])]
+ [OutputType([Windows.Security.Credentials.PasswordCredential[]])]
[CmdletBinding()]
param
(
@@ -265,7 +270,7 @@ function Get-WindowsCredential
.EXAMPLE
Get-WindowsCredential -All
#>
- [OutputType([PSCredential])]
+ [OutputType([PSCredential[]])]
[CmdletBinding(DefaultParameterSetName = "Specific")]
param
(
@@ -3,7 +3,7 @@
#
# Generated by: guitarrapc
#
-# Generated on: 1/19/2015
+# Generated on: 2015/01/20
#
@{
@@ -15,7 +15,7 @@
ModuleVersion = '1.0.0'
# ID used to uniquely identify this module
-GUID = 'e92e5f73-f031-4bfc-a2aa-9736eb64a162'
+GUID = 'af0663a5-ec4a-4d78-85dd-2bb2ccdd337b'
# Author of this module
Author = 'guitarrapc'

0 comments on commit 2701067

Please sign in to comment.