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