get all different extensions in directory powershell code example
Example: powershell get all file extensions in directory
Get-Childitem -Recurse | Select-Object PSParentPath,Extension -Unique
Get-Childitem -Recurse | Select-Object PSParentPath,Extension -Unique