-1
다른 PowerShell 명령의 특정 네트워크 어댑터에 대해 ifIndex 결과를 사용하려고합니다. 특정 어댑터의 ifIndex를 가져 오는 라인을 어떻게 만들 수 있습니까?Powershell : Powershell ISE에서 Get-NetAdapter 결과의 특정 데이터를 변수로 사용하십시오.
다른 PowerShell 명령의 특정 네트워크 어댑터에 대해 ifIndex 결과를 사용하려고합니다. 특정 어댑터의 ifIndex를 가져 오는 라인을 어떻게 만들 수 있습니까?Powershell : Powershell ISE에서 Get-NetAdapter 결과의 특정 데이터를 변수로 사용하십시오.
아마 뭔가 :
$ifIndexVariable = Get-NetAdapter -Name 'Specific Adapter Name' | Select-Object -ExpandProperty 'ifIndex'
https://stackoverflow.com/help/how-to-ask – TheIncorrigible1