Save as "script.bat" and run thiswindows 10 වල install කරලා තියෙන software වල ලිස්ට් එකක් ගන්න පුලුවන්ද install කරපු ඩේට් එකත් සමග
@echo off
setlocal enabledelayedexpansion
REM --- Configuration ---
set "OutputFile=Installed_Software_Report_%date:~-4,4%%date:~-10,2%%date:~-7,2%_%time:~0,2%%time:~3,2%%time:~6,2%.csv"
echo Generating CSV report: %OutputFile%
echo.
REM --- Header for the CSV file ---
(
echo "Display Name","Install Date"
) > "%OutputFile%"
REM --- Registry paths to check ---
set "RegPaths[0]=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
set "RegPaths[1]=HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall"
REM Add more paths if needed, e.g., for HKCU:
REM set "RegPaths[2]=HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
REM set "RegPaths[3]=HKCU\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall"
REM --- Process each registry path ---
for /L %%N in (0,1,1) do (
if defined RegPaths[%%N] (
set "CurrentRegPath=!RegPaths[%%N]!"
echo Processing: !CurrentRegPath!
REM Iterate through each subkey under the Uninstall key
for /f "delims=" %%K in ('reg query "!CurrentRegPath!" 2^>nul') do (
set "KeyName=%%K"
set "DisplayName="
set "InstallDate=N/A"
REM Check if it's a valid subkey (not the root path itself)
if not "!KeyName!"=="!CurrentRegPath!" (
REM Get DisplayName
for /f "tokens=2,*" %%A in ('reg query "!KeyName!" /v DisplayName 2^>nul ^| findstr /R /C:"DisplayName"') do (
set "DisplayName=%%B"
)
REM Get InstallDate
for /f "tokens=2,*" %%A in ('reg query "!KeyName!" /v InstallDate 2^>nul ^| findstr /R /C:"InstallDate"') do (
set "RawInstallDate=%%B"
REM Attempt to format YYYYMMDD to YYYY-MM-DD if it looks like it
if "!RawInstallDate:~8,1!"=="" if "!RawInstallDate:~4,1!" NEQ "-" if "!RawInstallDate:~4,1!" NEQ "/" (
set "InstallDate=!RawInstallDate:~0,4!-!RawInstallDate:~4,2!-!RawInstallDate:~6,2!"
) else (
set "InstallDate=!RawInstallDate!"
)
)
REM If DisplayName exists and doesn't look like a Windows Update KB
if defined DisplayName (
echo !DisplayName! | findstr /R /C:"KB[0-9][0-9][0-9][0-9][0-9][0-9]*" >nul
if errorlevel 1 (
echo !DisplayName! | findstr /R /C:"Update for Microsoft" >nul
if errorlevel 1 (
REM Clean quotes from DisplayName before wrapping, just in case
set "CleanDisplayName=!DisplayName:"=!"
set "CleanInstallDate=!InstallDate:"=!"
(echo "!CleanDisplayName!","!CleanInstallDate!") >> "%OutputFile%"
)
)
)
)
)
)
)
endlocal
pause
or control panel > programs > Uninstall programprograms n remove gihin screenshot gahagann
meka komada run karanneTry this powershell script
Save as "script.ps" and run this
Code:$Outputfile = "C:\InstalledSoftwareList.txt" $registryPaths = @( "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*", "HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*" ) # Collect software info $softwareList = foreach ($path in $registryPaths) { Get-ItemProperty $path | Where-Object { $_.DisplayName } | Select-Object ` @{Name = 'Name'; Expression = { $_.DisplayName } }, @{Name = 'Version'; Expression = { $_.DisplayVersion } }, @{Name = 'InstallDate'; Expression = { if ($_.InstallDate -match '^\d{8}$') { [datetime]::ParseExact($_.InstallDate, 'yyyyMMdd', $null) } elseif ($_.InstallDate -match '^\d{6}$') { [datetime]::ParseExact($_.InstallDate, 'yyyyMM', $null) } else { $_.InstallDate } }} } $softwareList | Format-Table -AutoSize | Out-String | Set-Content $outputFile
This is a chatgpt generated![]()
Control panel, settings ඔය දෙකේම තියෙන්නේ බං ඕක.windows 10 වල install කරලා තියෙන software වල ලිස්ට් එකක් ගන්න පුලුවන්ද install කරපු ඩේට් එකත් සමග
screen shot karadarai...pc godaka ganna thiyenawaprograms n remove gihin screenshot gahagann
විශ්රාම දෙපාර්තමේන්තුවේ පොරක්meka komada run karanne
mata list eke print ekak ganna ona pc godakaControl panel, settings ඔය දෙකේම තියෙන්නේ බං ඕක.
Open powershell - > paste > hit entermeka komada run karanne
ඕකට screenshot අරන් ocr කරලා print කරන්න පුළුවන්.mata list eke print ekak ganna ona pc godaka
meka save karanna ona extension eka ps kiyalada ps1 kiyaladaTry this powershell script
Save as "script.ps" and run this
Code:$Outputfile = "C:\InstalledSoftwareList.txt" $registryPaths = @( "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*", "HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*" ) # Collect software info $softwareList = foreach ($path in $registryPaths) { Get-ItemProperty $path | Where-Object { $_.DisplayName } | Select-Object ` @{Name = 'Name'; Expression = { $_.DisplayName } }, @{Name = 'Version'; Expression = { $_.DisplayVersion } }, @{Name = 'InstallDate'; Expression = { if ($_.InstallDate -match '^\d{8}$') { [datetime]::ParseExact($_.InstallDate, 'yyyyMMdd', $null) } elseif ($_.InstallDate -match '^\d{6}$') { [datetime]::ParseExact($_.InstallDate, 'yyyyMM', $null) } else { $_.InstallDate } }} } $softwareList | Format-Table -AutoSize | Out-String | Set-Content $outputFile
This is a chatgpt generated![]()
Meka download karagenameka komada run karanne

Ow ow 1 halila ps1 kiyala save karanna onemeka save karanna ona extension eka ps kiyalada ps1 kiyalada


Meka download karagena
double click karala balana inna
desktop ekata file eka ei
https://gofile.io/d/u938TU
Ow ow 1 halila ps1 kiyala save karanna one
Mn wenas kala batch script ekak widiyta
Forget this
------ Post added on May 29, 2025 at 7:32 PM
winget list > Downloads\output.txtMage nam wada bn
yep, script working nehMage nam wada bn
file eka open karala baluwda desktop eke tiyena?