Get all child folders with PowerShell
The commandlet 'Get-ChildItem' will give you all the default information about the folders inside. By default they are: Mode, LastWriteTime, Length (for files) and Name.
Get-ChildItem c:\Path
If you want to achieve only the names, you should use the command like this:
Get-ChildItem -Directory | Select-Object Name
To store the data to a file, use something like this:
Get-ChildItem -Directory | Select-Object Name > result.txt

Create new list item in SharePoint with CSOM and .Net (C#) in 6 steps
PostgreSQL in Docker: when DBeaver lies (and psql saves the day)