Published Folders

Share files through the web server

Download this Lecture Docs

In this lecture, we discuss what published folders are used for and how to configure them in PowerShell Universal. We setup a default document to automatically serve an HTML file and enable authentication to limit access.

Example Code Used in this Video

New-PSUPublishedFolder -RequestPath "/shared" -Path "C:\shared" -Authentication -DefaultDocument @('index.html')