control system manager errors

Page 3 of 3 FirstFirst 123

  1. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #21

    Sure is.

    I like the shorthand form: simply the word Help instead of Get-Help.

    when I was first starting, I found this useful (and still do):
    dir alias: | select definition, name | sort definition | ft -auto
      My Computer


  2. Posts : 6,285
    Windows 10 Pro X64
       #22

    My first one-liner. Parses the path environment variable, saves to a file, opens notepad then deletes when done.

    Code:
    $Ztempfile = $env:temp + "\ParsePathData"; Get-Content -path env:path|% {$_.split(";")} | Out-File -filepath $Ztempfile; notepad $Ztempfile | Out-Null; del $Ztempfile
    This is fun!
      My Computer


  3. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #23

    karlsnooks said:
    Sure is.

    I like the shorthand form: simply the word Help instead of Get-Help.

    when I was first starting, I found this useful (and still do):
    dir alias: | select definition, name | sort definition | ft -auto
    I like that but at the present time I don't know what to do with it.
      My Computer


  4. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #24

    gives you list of aliases and the corresponding cmdlets.

    Problem I ran across at first that I did not know that ft was an alias for format-table or
    that % for the for-object cmdlet and ? for the where-object.
      My Computer


 
Page 3 of 3 FirstFirst 123

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:16.
Find Us