From 7754be79952a4af19d76d2ea726a4b0d678df357 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 17 Oct 2022 19:55:53 +0200 Subject: [PATCH] Update list-nic.ps1 --- Scripts/list-nic.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/list-nic.ps1 b/Scripts/list-nic.ps1 index 38a7df25..b3afc0f9 100644 --- a/Scripts/list-nic.ps1 +++ b/Scripts/list-nic.ps1 @@ -12,7 +12,7 @@ #> try { - Get-WmiObject -Class Win32_NetworkAdapterConfiguration + Get-WmiObject -Class Win32_NetworkAdapterConfiguration | Format-Table -property ServiceName,Description,IPAddress,DHCPEnabled -AutoSize exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"