Articles → POWERSHELL → Read All The File Names In A Given Folder Using Powershell
Read All The File Names In A Given Folder Using Powershell
Code
Get-ChildItem "c:\temp" -Filter *.ps1 |
Foreach-Object {
Write-Host $_.FullName
}
Output
Click to Enlarge
Posted By - | Karan Gupta |
|
Posted On - | Wednesday, April 24, 2019 |