Script to show offline file status on all computers RRS feed

  • Question

  • Hi 

    I am new to scripting and am using powershell to see if I can export the following information from computers within our AD.

    I am trying to get an export to show me on all machines the status of offline files.  I can simply use the command

    Get-WmiObject -class Win32_OfflineFilesCache  (not sure if another command will do the same)

    which shows me the offlinefiles is active and if it is enabled. What I would like if you can help me is to somehow from a text file with a list of machines read it in and check the offline files status and export it to a file.

    I am not sure how to do this since I keep getting errors.

    • Moved by Bill_Stewart Monday, March 12, 2018 8:08 PM This is not "scripts on demand"
    Sunday, January 14, 2018 10:00 PM

All replies