Enumerate File Shares With Powershell
Know your network. Being a good sysadmin means that you know your network, including the file shares that it contains. Knowing what file shares exist and having a complete list of them can not only help with audits, but it will also help ensure you know what’s on your network and that it’s secure.
Using PowerShell you will ping sweep an entire subnet and record all of the available shares.