*This is my first post and I want to apologize in advance is case my post does comply to any of your rules.
So I have never really scripted or written a code for any solution out there so my question will be very basic and im not looking for a “prepared meal” but instead I want some directions so that I can come up with my own solution. I was given the task to generate a report from a Shared Drive (xxTBs) that is essentially used as a common repository for various department. My goal is to be able to use PowerShell (but Im open for suggestions as to whether or not this is the best idea) to gather: (File Name/Extension/Location-FolderPath/Size - MB and GB/LastModifiedDate/Created Date/Accessed/Type of the file-extension). It needs to go through all folders and subfolders in the shared location and if some for reason an particular folder isnt accessible, skip and keep scanning…if Im not wrong it has to ignore the 256 character name too.
From what I have read, I should be using the Get-ChildItem…(again open to suggestions)
So I started this Get-ChildItem -Path networkshare$ -Recurse | Select-Object Name,Type,FolderPath,Size
Am I in the right direction here?