Ordnerfreigaben mit der Powershell abfragen
Get-WMIObject -Query “SELECT * FROM Win32_Share” | FT
Get-WMIObject -ComputerName “PC100” -Query “SELECT * FROM Win32_Share” | FL
Get-WMIObject -ComputerName “PC200” -Query “SELECT * FROM Win32_Share Where Type=0” | FT
Get-WMIObject -ComputerName “PC300″`
-Query “SELECT * FROM Win32_Share Where Type=0” |
Select-Object Name,Path,Description |
Export-CSV ‘C:\NetworkShares.csv’
https://www.der-windows-papst.de/2016/05/27/powershell-file-ntfs-rechte-auslesen/