How can I leverage SAM to obtain all File Shares hosted on a Windows Server? Is there a useful template out there? Even better if I can get it into a report. I have a long list of windows servers I need to export this information from.
This information can be gathered using Windows PowerShell script monitor component type in SAM.
You can use "Get-FileShare" PowerShell cmdlet to get list of file shares on your target servers. You can find the usage of this cmdlet in this link: https://learn.microsoft.com/en-us/powershell/module/storage/get-fileshare?view=windowsserver2022-ps
If you are not familiar with PowerShell monitoring component, you can review this link as a starting point: https://documentation.solarwinds.com/en/success_center/sam/content/sam-create-windows-powershell-script-monitor.htm