W2KSG: Startup Commands

What commands are run when your system starts?   Probably more than you think. The information is held in a number of places in the registry and the startup folder of the start menu.  We can access all of that with WMI

Listing 8.20

Get-WmiObject win32_startupcommand | Select Command, Description, Location, Name, user

You may get a blank entry that represents the default entry in HKLMSOFTWAREMicrosoftWindowsCurrentVersionRun


Share this post :


Technorati Tags: ,


About these ads
This entry was posted in PowerShell and WMI. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s