You are able to view the contents in all items published in the gallery.
This feature includes two parts: listing the files within the item, and displaying file contents for supported file types. Currently we support displaying the contents of the following file extensions: .ps1, .psm1, .psd1, .ps1xml, .xml and .txt. We will be supporting more file extensions in the next releases.
Where to Find FileList
On each individual item page, you will be able to find FileList section and a Show link. Click on the Show and you will find a complete list of items contained in the item.
Each supported file type is displayed as a hyperlink, and clicking it will take you to a new page with file contents displayed in PowerShell syntax highlighting. Clicking on the title or the version of the item, which is displayed at the top of the screen, will bring you back to item detail page.