I'm facing difficult problem regarding renaming of AD user remote profile and home folders directories.
Example: Login:BALITZMA HF:\alien.net\users\home\BALITZMA PF:\alien.net\users\profile\BALITZMA
I have no problems using Powershell to change name of those folders but there are some situations that files from that folders are currently in use. And since those folders are located in Windows File Clusters, I must manually find all opened files by BALITZMA
using "Share and Storage Manager"
This is what i mean:
The question is: is
there any easy way to "display current opened files for user" from powershell/other tool that can be run from command line and produce some output about witch files are in use and ability to use "Close selected" feature?