< Back

New-AzureRmAnalysisServicesFirewallConfig

Tue Jan 29, 2019 9:28 pm

NAME New-AzureRmAnalysisServicesFirewallConfig



SYNOPSIS

Creates a new Analysis Services firewall config





SYNTAX

New-AzureRmAnalysisServicesFirewallConfig [[-EnablePowerBIService]] [-FirewallRules]

<List<Microsoft.Azure.Commands.AnalysisServices.Models.AzureAnalysisServicesFirewallRule>> [<CommonParameters>]





DESCRIPTION

The New-AzureRmAnalysisServicesFirewallConfig creates a new firewall config object





PARAMETERS

-EnablePowerBIService [<SwitchParameter>]

A flag to indicate if enable PowerBI service



Required? false

Position? 0

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-FirewallRules <List<Microsoft.Azure.Commands.AnalysisServices.Models.AzureAnalysisServicesFirewallRule>>

A list of firewall rules



Required? true

Position? 1

Default value None

Accept pipeline input? False

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 (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

Microsoft.Azure.Commands.AnalysisServices.Models.AzureAnalysisServicesFirewallConfig







NOTES









Example 1



PS C:\\> $rule1 = New-AzureRmAnalysisServicesFirewallRule -FirewallRuleName rule1 -RangeStart 0.0.0.0 -RangeEnd 255.255.255.255

PS C:\\> $rule2 = New-AzureRmAnalysisServicesFirewallRule -FirewallRuleName rule2 -RangeStart 6.6.6.6 -RangeEnd 7.7.7.7

PS C:\\> New-AzureRmAnalysisServicesFirewallConfig -EnablePowerBIService -FirewallRules $rule1,$rule2



Creates a firewall rule config without enabling power bi service.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... wallconfig

New-AzureRmAnalysisServicesFirewallConfig