Is there any way to find out the remote share path owner and total space using powershell -
i have list of remote sharepaths dont have direct access, want find out owner of each share , total space . there way find out using powershell script??
thanks in advance jerin
getting owner of folder works same way regardless of whether it's local folder or share. utilize unc:
$path = <path_to_folder> # example: \\server_name\share_name get-acl $path | select-object -expandproperty owner it's not clear question whether want free space on volume folder located or total size of items in folder. anyway:
finding free space: http://blogs.technet.com/b/josebda/archive/2010/04/08/using-powershell-v2-to-gather-info-on-free-space-on-the-volumes-of-your-remote-file-server.aspx
finding total size: http://technet.microsoft.com/en-us/library/ff730945.aspx
powershell
No comments:
Post a Comment