Help with clear and set-content windows power shell


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

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

    result is a text file with a - Server: Address: DNS request timed out. timeout was 2 seconds. Name: Addresses:,

    But I want a result like this: Server Name:

    Can you help me?

    29. března 2012 5:51


Všechny reakce