From 088117d57abf08ba225381847275f5235b9d8f7e Mon Sep 17 00:00:00 2001 From: Alex 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