Skip to content

Commit

Permalink
Merge pull request #1816 from technion/prefix
Browse files Browse the repository at this point in the history
Update Invoke-AnalyzerNicSettings.ps1
  • Loading branch information
lusassl-msft authored Aug 22, 2023
2 parents dae9ac2 + 709fd6e commit 969e92f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ function Invoke-AnalyzerNicSettings {
Add-AnalyzedResultInformation -Name "IPv4 Address" @baseParams

foreach ($address in $adapter.IPv4Addresses) {
$displayValue = "{0}\{1}" -f $address.Address, $address.Subnet
$displayValue = "{0}/{1}" -f $address.Address, $address.Subnet

if ($address.DefaultGateway -ne [string]::Empty) {
$displayValue += " Gateway: {0}" -f $address.DefaultGateway
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Describe "Testing Health Checker by Mock Data Imports - Exchange 2013" {
TestObjectMatch "RSS Enabled" $false -WriteType "Yellow"
TestObjectMatch "Link Speed" "10000 Mbps"
TestObjectMatch "IPv6 Enabled" "True"
TestObjectMatch "Address" "192.168.9.11\24 Gateway: 192.168.9.1"
TestObjectMatch "Address" "192.168.9.11/24 Gateway: 192.168.9.1"
TestObjectMatch "Registered In DNS" "True"
TestObjectMatch "Packets Received Discarded" 0 -WriteType "Green"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Describe "Testing Health Checker by Mock Data Imports - Exchange 2016" {
TestObjectMatch "RSS Enabled" "True" -WriteType "Green"
TestObjectMatch "Link Speed" "10000 Mbps"
TestObjectMatch "IPv6 Enabled" "True"
TestObjectMatch "Address" "192.168.5.11\24 Gateway: 192.168.5.1"
TestObjectMatch "Address" "192.168.5.11/24 Gateway: 192.168.5.1"
TestObjectMatch "Registered In DNS" "True"
TestObjectMatch "Packets Received Discarded" 0 -WriteType "Green"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Describe "Testing Health Checker by Mock Data Imports" {
TestObjectMatch "RSS Enabled" "True" -WriteType "Green"
TestObjectMatch "Link Speed" "10000 Mbps"
TestObjectMatch "IPv6 Enabled" "True"
TestObjectMatch "Address" "192.168.11.11\24 Gateway: 192.168.11.1"
TestObjectMatch "Address" "192.168.11.11/24 Gateway: 192.168.11.1"
TestObjectMatch "Registered In DNS" "True"
TestObjectMatch "Packets Received Discarded" 0 -WriteType "Green"

Expand Down

0 comments on commit 969e92f

Please sign in to comment.