remove unused code

make text easier to identify in output
This commit is contained in:
2023-08-14 12:24:27 -04:00
parent 6a47fb6a64
commit e0e254d799
+2 -6
View File
@@ -83,10 +83,6 @@ Function Get-ItemPropertyInfo {
# Create $WORK_DIR if it doesn't exist
If ( -not (Test-Path $WORK_DIR) ) { New-Item -Path $WORK_DIR -ItemType Directory -Force }
# Delete the diff files if they exist
If ( Test-Path $I_FILE ) { Remove-Item -Path $I_FILE -Force }
If ( Test-Path $U_FILE ) { Remove-Item -Path $U_FILE -Force }
# Create $C_FILE if it doesn't exist
If ( -not (Test-Path $C_FILE) ) {
# Write the headers to the output file
@@ -126,13 +122,13 @@ If ( (Test-Path $C_FILE) -and (Test-Path $P_FILE) ) {
# Display installed apps
If ( $installed ) {
Write-Output "Applications recently installed:"
Write-Output "`nAPPLICATIONS RECENTLY INSTALLED:"
$installed | Select-Object * -ExcludeProperty SideIndicator
}
# Display uninstalled apps
If ( $uninstalled ) {
Write-Output "Applications recently uninstalled:"
Write-Output "`nAPPLICATIONS RECENTLY UNINSTALLED:"
$uninstalled | Select-Object * -ExcludeProperty UninstallString,ModifyPath,SideIndicator
}
}