none
Help with clear and set-content windows power shell

    Dotaz

  • Hello, Iam just new in windows power shell and I try to make this simple script:

    nslookup google.cz | Set-Content c:\scripts\test.txt

    result is a text file with a - Server: rvc01dc03.cz.foxconn.com Address: 10.2.64.68 DNS request timed out. timeout was 2 seconds. Name: microsoft.com Addresses: 207.46.197.32, 207.46.232.182

    But I want a result like this: Server 10.2.64.68 Name: microsoft.com 207.46.197.32

    Can you help me?

    čtvrtek 29. března 2012 5:51

Odpovědi

Všechny reakce