Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

Commit

Permalink
fixed validate attribute for dnssuffix on Set-WAPVMNetworkSubnetIPPoo…
Browse files Browse the repository at this point in the history
…l to accept [string]::empty
  • Loading branch information
bgelens committed May 2, 2016
1 parent 88a1bf1 commit 06cf339
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion WapTenantPublicAPI.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'WapTenantPublicAPI'

# Version number of this module.
ModuleVersion = '0.0.5.3'
ModuleVersion = '0.0.5.4'

# ID used to uniquely identify this module
GUID = 'eaa28acf-4a1e-4d0e-96dd-fa36de33a658'
Expand Down
3 changes: 2 additions & 1 deletion WapTenantPublicAPI.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,7 @@ function Set-WAPVMNetworkSubnetIPPool {
.PARAMETER DNSSuffix
Configures the DNS suffix of the IPPool.
Specify ([string]::empty) when you want to clear the DNS suffix from the IPPool.
.PARAMETER DNSSearchSuffixes
Configures the DNS Search Suffixes for the IPPool.
Expand Down Expand Up @@ -876,7 +877,7 @@ function Set-WAPVMNetworkSubnetIPPool {

[String[]] $DNSServers,

[ValidateNotNullOrEmpty()]
[ValidateNotNull()]
[String] $DNSSuffix,

[String[]] $DNSSearchSuffixes,
Expand Down

0 comments on commit 06cf339

Please sign in to comment.