Converting the FileSystemObject's Files Property
Definition: Returns a collection of all the files in a given folder.
Files
This is exactly what the Get-ChildItem cmdlet does:
Get-ChildItem C:\Scripts
See conversions of other FileSystemObject methods and properties.
Return to the VBScript to Windows PowerShell home page