Skip to Content
Windows Server 2016 Administration Cookbook
book

Windows Server 2016 Administration Cookbook

by Jordan Krause
April 2018
Intermediate to advanced content levelIntermediate to advanced
248 pages
7h 18m
English
Packt Publishing
Content preview from Windows Server 2016 Administration Cookbook

How to do it...

Let's use Format-List to modify our information output on a couple of different PowerShell cmdlets:

  1. Open up PowerShell with administrative rights.
  2. Browse to a location that contains some files. I have a few saved in my documents folder, so I will input cd documents in order to navigate into my documents folder.
  3. Type dir. Then press Enter. You see the normal output of the dir command, a simple list of files, and a little bit of information about each of them:
  1. Now instead of using a simple dir, give this command a try: Dir | Format-List.
  1. That is a lot more data! As you can see, by simply adding a pipe with Format-List following ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Windows Server 2016 Cookbook

Windows Server 2016 Cookbook

Jordan Krause

Publisher Resources

ISBN: 9781789135930Other