From 8a0b2cfc3ae5ad823cc5a5ce1446435f07482f52 Mon Sep 17 00:00:00 2001 From: Winston Smith Date: Wed, 21 Apr 2021 09:37:23 +0200 Subject: [PATCH] Last, need improvement VM --- Tests.ps1 | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 Tests.ps1 diff --git a/Tests.ps1 b/Tests.ps1 new file mode 100644 index 0000000..21ec397 --- /dev/null +++ b/Tests.ps1 @@ -0,0 +1,3 @@ +#$VMNetAdap = Get-VMNetworkAdapter -VMName RTR-01|ft -Property Switchname,Macaddress -HideTableHeaders +Get-VMNetworkAdapter -VMName RTR-01|Format-Table -Property Switchname,Macaddress -HideTableHeaders |Export-Csv D:\scripts\Guests\MACS\test.csv -NoTypeInformation +#echo $VMNETADAP | out-file -FilePath D:\scripts\Guests\MACS\temp.txt