Last, need improvement VM

This commit is contained in:
Alex 2021-04-21 09:37:23 +02:00
parent 9f1dd7894d
commit 088117d57a
1 changed files with 3 additions and 0 deletions

3
Tests.ps1 Normal file
View File

@ -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