Locations of automated startups on Windows

HKCU: HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRunOnce HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWindows HKLM: HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRunOnce HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRunOnceEx HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRunServices HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionWinlogon HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonNotify

Read more

Accessing Powershell cmdlets

There are various ways you can access Powershell cmdlets and here are few I know about: Launching the PS cmdlet with path from snap-in: PS C:> get-command get-date | format-table -property commandtype, name, pssnapin, module -auto CommandType  Name       pssnapin                       Module ———–  —-       ——–                       ——      Cmdlet  Get-Date   Microsoft.PowerShell.Utility PS C:> Microsoft.PowerShell.Utilityget-date Wednesday, March 09, 2011 7:43:09 PM PS C:> .

Read more

Knowing about Powershell cmdlets

How to check a given PS cmdlet belongs to what and where it’s located? …here are few simple PS commands that helps you with this. [7]: get-command invoke-item, get-date | format-table -property commandtype, name, pssnapin, module -auto CommandType Name        PSSnapIn                        Module ———– —-        ——–                        ——      Cmdlet Invoke-Item Microsoft.PowerShell.Management            Cmdlet Get-Date    Microsoft.PowerShell.Utility          [8]:   List all the supported/available functions/methods and properties/attributes of a PS cmdlet: [40]: get-command | get-member | ft Name, MemberType -auto | wc -l 64 [41]: List all the supported/available functions/methods of a PS cmdlet: [1]: get-command | get-member -Type method    TypeName: System.Management.Automation.AliasInfo Name        MemberType […]

Read more