diff --git a/articles/network-watcher/network-watcher-check-ip-flow-verify-powershell.md b/articles/network-watcher/network-watcher-check-ip-flow-verify-powershell.md index 5df6738685af4..fb479da1f5cdf 100644 --- a/articles/network-watcher/network-watcher-check-ip-flow-verify-powershell.md +++ b/articles/network-watcher/network-watcher-check-ip-flow-verify-powershell.md @@ -57,7 +57,7 @@ $VM = Get-AzurermVM -ResourceGroupName "testrg" -Name "testvm1" The IP address of a NIC on the virtual machine is needed, in this example we retrieve the NICs on a virtual machine. If you already know the IP address that you want to test on the virtual machine, you can skip this step. ```powershell -$Nics = Get-AzureRmNetworkInterface | Where {$_.Id -eq $vm.NetworkInterfaceIDs.ForEach({$_})} +$Nics = Get-AzureRmNetworkInterface | Where {$_.Id -eq $vm.NetworkProfile.NetworkInterfaces.Id.ForEach({$_})} ``` ## Run IP flow verify