Tag Archives: search

Git: Search in all versions of a file for a specific string

Hi,

to search in all versions of a file for a specfic string:
First get a list of all commits, then grep each commit:
Continue reading Git: Search in all versions of a file for a specific string

Active Directory: Command line to get all subnets for a site

Hi,

this post describes the command line to get a list of all subnets for an Active Directory Site. The ds* commands are part of the Active Directory tools on Server and of RSAT Tools on Windows 7-10.
Continue reading Active Directory: Command line to get all subnets for a site

Windows: Open search index option GUI

Hi,

search index GUI is not an exe file. The GUI resides in an DLL. To open it you have to call it by rundll32

Continue reading Windows: Open search index option GUI

Powershell: Searching in arrays

Hi,

this is a really often requiered task in powershell. Here are some examples.
Continue reading Powershell: Searching in arrays

Windows: Resolve Policy Registry Keys to Group Policy Editor Entries (and vice versa)

Hi,

in Windows, local group policies could applied through the Group Policy Editor or simply by setting the Registry Keys under HKEY_LOCAL_MACHINE\Software\Policies, HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies and its equivalent in HKEY_CURRENT_USER.

Unfortunataly when just set the Registry Keys this isn’t shown in the GPO Editor and it’s hard to find the equivalent section and setting there.
Continue reading Windows: Resolve Policy Registry Keys to Group Policy Editor Entries (and vice versa)