windows powershell list all files code example
Example 1: powershell get all file extensions in directory
Get-Childitem -Recurse | Select-Object PSParentPath,Extension -Unique
Example 2: PowerShell command list software windows server 2016
Get-WmiObject -Class Win32_Product