Skip to content

Commit

Permalink
Adding Mandatory to Server on Get-TargetResource
Browse files Browse the repository at this point in the history
  • Loading branch information
aultt authored and johlju committed Aug 19, 2016
1 parent ee48c08 commit bf31ccd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion DSCResources/MSFT_xSQLAlias/MSFT_xSQLAlias.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ function Get-TargetResource
[Parameter(Mandatory = $true)]
[ValidateNotNullOrEmpty()]
[System.String]
$Name
$Name,

[Parameter(Mandatory = $true)]
[ValidateNotNullOrEmpty()]
[System.String]
$ServerName
)

Write-Verbose -Message 'Get-TargetResource'
Expand Down Expand Up @@ -64,6 +69,7 @@ function Set-TargetResource
$Protocol,

[Parameter(Mandatory = $true)]
[ValidateNotNullOrEmpty()]
[System.String]
$ServerName,

Expand Down Expand Up @@ -180,6 +186,7 @@ function Test-TargetResource
$Protocol,

[Parameter(Mandatory = $true)]
[ValidateNotNullOrEmpty()]
[System.String]
$ServerName,

Expand Down

0 comments on commit bf31ccd

Please sign in to comment.