HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Windows/System32/WindowsPowerShell/v1.0/Modules/StartLayout/GetStartApps.psm1
function Get-StartApps($Name) {
    Get-AllStartApps | Where-Object { $_.Name -like "*$Name*" }
}

function Get-AllStartApps {
    (New-Object -ComObject Shell.Application).
        NameSpace("shell:::{4234d49b-0245-4df3-b780-3893943456e1}"). # FOLDERID_AppsFolder
            Items() | % {
               [PSCustomObject]@{
                    'Name'=$_.Name
                    'AppID'=$_.Path
                }
        }
}