

The command returns the file ID, session ID and full file name (path). To display a list of open files on the Windows SMB server, run the command: Get-SMBOpenFile. You can check out a post on that RIGHT HERE for usage and examples and such. Close-SmbOpenFile is used to close/reset the connection to a remote file.
WINDOWS HOME SERVER 2011 USER FOLDERS DOWNLOAD
Note, you will also need to download the NTFSSecurity Module. I was looking for an automated and effective way to accomplish this task, and Powershell was right up my alley. Since I was doing this for several hundred users, it would have taken me forever and a day to do this manually. Grant NTFS permissions to full control for that individual user only.Set NTFS owner permissions on the new folder to.Modify their Active Directory HomeDrive and HomeDirectory to the remap and point to the new location.Copy the data to new location with all the metadata in tact (Timestamps, attributes etc.The tasks that needed to be completed for each folder and each user. The staff and students map to two different shares on the same (virtual) server (and SAN). Scroll down to Hidden files and folders in the menu and select the Show hidden files, folders and drives option. In the dialog box that appears, select the View tab. Then click Organize in the toolbar at the top and select Folder and search options from the drop-down menu. Sometimes it does map and there is no pattern. Open the File Explorer using the keyboard shortcut Windows + E. Many times the home folder (H) is not mapped when the user logs in.

This data was home to the users Home Folder so it was constantly being accessed and there was no time for any downtime. Our wireless users (HP laptops (staff) or Lenovo netbooks (students)) are booting up from their machine being off. Not too long ago I had a project to decommission an old 2008 R2 server, spin up a new Windows 2016 Server, migrate the data, migrate users and fix the mess of permissions that had been previously set by the admins before my time.
