Skip to content

Commit

Permalink
Remove not use parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
guitarrapc committed Feb 28, 2016
1 parent 0dbe424 commit 1cea771
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 28 deletions.
14 changes: 1 addition & 13 deletions valentia/Functions/Helper/Credential/Find-ValentiaCredential.ps1
Expand Up @@ -5,19 +5,7 @@ function Find-ValentiaCredential
[OutputType([PSCredential])]
[CmdletBinding()]
param
(
[Parameter(mandatory = $false, position = 0)]
[ValidateNotNullOrEmpty()]
[string]$TargetName = $valentia.name,

[Parameter(mandatory = $false, position = 1)]
[ValidateNotNullOrEmpty()]
[Valentia.CS.CredType]$Type = [Valentia.CS.CredType]::Generic,

[Parameter(mandatory = $false, position = 2)]
[ValidateNotNullOrEmpty()]
[string]$AsUserName = ""
)
()

return [Valentia.CS.CredentialManager]::List();
}
14 changes: 1 addition & 13 deletions valentia/valentia.ps1
Expand Up @@ -1470,19 +1470,7 @@ function Find-ValentiaCredential
[OutputType([PSCredential])]
[CmdletBinding()]
param
(
[Parameter(mandatory = $false, position = 0)]
[ValidateNotNullOrEmpty()]
[string]$TargetName = $valentia.name,

[Parameter(mandatory = $false, position = 1)]
[ValidateNotNullOrEmpty()]
[Valentia.CS.CredType]$Type = [Valentia.CS.CredType]::Generic,

[Parameter(mandatory = $false, position = 2)]
[ValidateNotNullOrEmpty()]
[string]$AsUserName = ""
)
()

return [Valentia.CS.CredentialManager]::List();
}
Expand Down
4 changes: 2 additions & 2 deletions valentia/valentia.psd1
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: guitarrapc
#
# Generated on: 2/23/2016
# Generated on: 2/29/2016
#

@{
Expand All @@ -15,7 +15,7 @@
ModuleVersion = '0.5.3.0'

# ID used to uniquely identify this module
GUID = 'ba8e230a-83fe-48ea-b433-3e1ffd35bca1'
GUID = 'f15cd514-304f-4c20-b92e-63d57da88cd0'

# Author of this module
Author = 'guitarrapc'
Expand Down

0 comments on commit 1cea771

Please sign in to comment.