Open SumeshP opened 3 months ago
Error with the Get-DanglingDnsRecords script when running against multiple azure subscriptions.
Link: (https://github.com/Azure/Azure-Network-Security/tree/master/Cross%20Product/DNS%20-%20Find%20Dangling%20DNS%20Records)
Get-DanglingDnsRecords : Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'. At line:1 char:1
+ CategoryInfo : InvalidOperation: (op_Addition:String) [Get-DanglingDnsRecords], RuntimeException + FullyQualifiedErrorId : MethodNotFound,Get-DanglingDnsRecords
Reproduce Steps to reproduce the behavior: Install-Module -Name AzDanglingDomain -Scope CurrentUser Import-Module -Name AzDanglingDomain -Force Get-DanglingDnsRecords -FetchDnsRecordsFromAzureSubscription
Expected behavior No errors when adding elements to array when there are more than one subscriptions.
Environment- if applicable $PSVersionTable
Name Value
PSVersion 5.1.22621.2506 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.22621.2506 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1
Desktop (please complete the following information if applicable):
Message that will be displayed on users' first issue
@abhijeetgaiha / @tanviohri - Hello Team, Please take a look at this issue.
Error with the Get-DanglingDnsRecords script when running against multiple azure subscriptions.
Link: (https://github.com/Azure/Azure-Network-Security/tree/master/Cross%20Product/DNS%20-%20Find%20Dangling%20DNS%20Records)
Get-DanglingDnsRecords : Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'. At line:1 char:1
Reproduce Steps to reproduce the behavior: Install-Module -Name AzDanglingDomain -Scope CurrentUser Import-Module -Name AzDanglingDomain -Force Get-DanglingDnsRecords -FetchDnsRecordsFromAzureSubscription
Expected behavior No errors when adding elements to array when there are more than one subscriptions.
Environment- if applicable $PSVersionTable
Name Value
PSVersion 5.1.22621.2506
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.22621.2506
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Desktop (please complete the following information if applicable):