< Back

New-NsDnsPolicy

Sat Jan 11, 2020 12:11 am

NAME New-NsDnsPolicy



SYNOPSIS





SYNTAX

New-NsDnsPolicy [-Name] <string> -rule <string> [-action <string>] [-cachebypass <string>] [-drop <string>]

[-logaction <string>] [-PassThru <SwitchParameter>] [-preferredloclist <string[]>] [-session <nitro_service>]

[-viewname <string>] [<CommonParameters>]



New-NsDnsPolicy -InputObject <dnspolicy[]> [-PassThru <SwitchParameter>] [-session <nitro_service>]

[<CommonParameters>]





DESCRIPTION





PARAMETERS

-Name <string>



Required? true

Position? 0

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-action <string>



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-rule <string>



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-cachebypass <string>



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-drop <string>



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-logaction <string>



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-preferredloclist <string[]>



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-viewname <string>



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-InputObject <dnspolicy[]>



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-PassThru <SwitchParameter>



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-session <nitro_service>



Required? false

Position? named

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String



System.String



System.String



System.String



System.String



System.String



System.String[]



System.String



com.citrix.netscaler.nitro.resource.config.dns.dnspolicy[]



com.citrix.netscaler.nitro.service.nitro_service





OUTPUTS

com.citrix.netscaler.nitro.resource.config.dns.dnspolicy







RELATED LINKS