Get-Nameserver fix
This commit is contained in:
@@ -20,7 +20,7 @@ public class Nameserver {
|
||||
) {
|
||||
this.Id = id;
|
||||
this.Name = name;
|
||||
this.NameServers = nameServers.Split(new char[] {';'});
|
||||
this.NameServers = nameServers.Split(new char[] {';'});
|
||||
this.Description = description;
|
||||
this.Permissions = permissions;
|
||||
this.EditDate = editDate;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
function Get-Nameserver {
|
||||
[CmdletBinding(DefaultParameterSetName="ByID")]
|
||||
[CmdletBinding(DefaultParameterSetName="NoParams")]
|
||||
param (
|
||||
[parameter(
|
||||
Mandatory=$false,
|
||||
Mandatory=$true,
|
||||
ValueFromPipeline=$true,
|
||||
ValueFromPipelineByPropertyName=$true,
|
||||
Position=0,
|
||||
|
||||
Reference in New Issue
Block a user