![]() I want to completely rebuild the RAID with new SSD drives, but the virtual drive also contains the OS so will need to be reinstalled. I have a Dell server with a valid licensed copy of Windows Server 2016 install on it. Is Windows Server license lost if I reinstall from new media, on same hardware? Windows.Count $count = 0 foreach ( $a in $folders_Filtered ) "Job Complete" Powershell location = Read-Host "e:\testfolder" $file = Read-Host "e:\test.csv" Add-Content -Path $file -Value '"Folder Name","Creation Time","Last Modification Time","Last Accessed Time", "Laste Write Time", "Total Size in Mb"' $users_folders = Get-ChildItem -Path $location | Select Name, CreationTime, LastWriteTime, LastAccessTime, LastWriteTime $folders_Filtered = $users_folders. At least I had an image on an external drive, so I only lost about a week, of course, the week I starting getting really close to the correct output. Please Help if you can! Thank you in advance Spiceheads.ĪDDITION, Unfortunately, I was really close to getting this working but our SCCM re-imaged my PC (as planned), but was not planned is he re-imaged my secondary Backup Drive instead of my M2 SSD NVE OS drive. Previous IT staff was really good about on-boarding, but the off-boarding process. At its lowest level, I can imagine thousands of subfolders. I have looked almost everywhere for something to provide this info (as you would think it would be very useful and much need for file share servers), but I am not getting any results close to what I need. I have a test server to run against before running on the production server. If anyone has, written, or has access to such a script? I would appreciate the share. I have been trying to create a PowerShell command to accomplish this, but everything I try doesn't provide everything I need or just plain fails. I need to capture and export-csv the following "home" directory folders (a re-directed "Documents" folder):Īnd SIZE of the contents of each of the lowest sub-directories.įinally, I need to export to a CSV so I can sort to find my oldest content (to delete or archive), find my biggest offender high content, and prepare to archive or move to the cloud, (either Google Workspace or Microsoft/Azure) as much of our staff and students are working remotely due to Covid. ![]() ![]() Some of these folders could be active, and some haven't been accessed in years. I have a file share server at our Community College that is almost running out of space. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |