This PowerShell script checks and gathers information about startup items on a Windows system. It retrieves details such as file hashes and additional file information for executable files configured to run at system startup.
The Split-CommandLine
function splits a command line into individual arguments.
Split-CommandLine -CommandLine "command arg1 arg2"
The Get-ItemInfo
function provides information about a given item, including file hashes and additional details.
Get-ItemInfo -Item "C:\Path\To\File.exe"
The Get-StartupFolderItem
function checks and gathers information about executable files in a specified startup folder.
Get-StartupFolderItem -FolderPath "C:\Path\To\Startup\Folder"
The main script checks and retrieves information about startup commands, executable files in the startup folders, and more.
# Example: Run the main script
.\StartupItemChecker.ps1
- PowerShell version 5.1 or later.
- This script checks both all-users and single-user startup folders for executable files.
- File hashes and additional information are gathered for each executable file found.
This script is provided as-is, without any warranty. Use it responsibly and at your own risk.
clr34m3r
This project is licensed under the Apache License - see the LICENSE file for details.