PoshCode Archive  Artifact [9ce93d9f4b]

Artifact 9ce93d9f4bc9158be82651731ee0ffcb1066f806ed0639172a58c5bc0eacd00f:

  • File List-Windows-File-Shares.ps1 — part of check-in [8ba8bbf396] at 2018-06-10 13:31:56 on branch trunk — Create Excel list of File Shares from Remote Windows Server (PoSH one-liner) (user: therobotdave size: 462)

# 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