How to make many folders available offline on Windows Server 2008 R2 using powershell

Home Forums Scripting PowerShell How to make many folders available offline on Windows Server 2008 R2 using powershell

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    Chromebuster
    Member
    #154622

    Hi all,
    I have a few folders set up on my file server. I told Server 2008 R2 to make the one huge drive that’s shared on there to be available offline. What I didn’t realize was that I had forgotten to make every subfolder also available offline as well. I don’t want to right-click ever single subfolder in here, so I’d like to write a powershell script for it so that it will just do it as a batch process. My questions for you are one, is this a very practical way to do it, and two, since I’m new to PS, what is the correct code for it. Thanks so much.

    Chromebuster

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.