Select String / Data from a txt File

$list = get-content "C:\Downloads\input.txt"

$output = $list | Select-String interface, description,'ip address'

(((($output -replace "interface","") -replace "description","") -replace "ip address","")
-replace "\**>*","").trimstart()

Beliebte Posts aus diesem Blog

Shutdown / Lastlogon Analyse