Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 21. Input, Output, and Error Han... > Every Export Has a Corresponding Imp...

21.16. Every Export Has a Corresponding Import

Everything in this chapter so far has concentrated on output, which shouldn't be a surprise as a lot of work in PowerShell is getting information from somewhere and displaying it. The other side of the coin—input—tends to be a smaller part of the story.

First of all, the Export- Cmdlets you have just seen have companion Import- Cmdlets, so information exported with Export-CliXML can be imported directly with import-CliXML, and the result will be a facsimile of the original objects. For example, the following:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint