# encoding: ascii
# api: powershell
# title: List Windows File Shares
# description: Create Excel list of File Shares from Remote Windows Server (PoSH one-liner)
# version: 0.1
# author: therobotdave
# license: CC0
# x-poshcode-id: 3837
# x-archived: 2016-04-15T23:02:00
# x-published: 2013-12-19T15:13:00
#
#
Get-WmiObject Win32_Share -computerName SERVERNAME | 
Select Name, Caption, Path | Export-csv "c:\temp\SERVERNAME.csv" -NoTypeInformation
