Tag Archives: windows

Powershell: Run a (init) script when powershell starts

Hi,

if have some own aliases or functions defined which should be loaded when powershell starts you can create a startup script.
Continue reading Powershell: Run a (init) script when powershell starts

Windows: Working with the powershell command history

Hi,

like the UNIX bash shell, the Windows powershell also has a history which commands were executed.

Continue reading Windows: Working with the powershell command history

Windows: A powershell tail “clone”

Hi,

UNIX has some useful tools. One of it is tail. Often used to monitor changes (appends) within a file in real time.
Continue reading Windows: A powershell tail “clone”

Windows: Set a local security policy to undefined

Hi,

if you want to reset a local security policy to undefined simply delete its registry value. For example:

The Interactive logon: Machine inactivity limit policy.
Continue reading Windows: Set a local security policy to undefined

Windows: Restore the default Windows local policy security settings

Hi,

in the C:\Windows\inf folder exists a defltbase.inf file which contains the default local security policies of Windows.
Continue reading Windows: Restore the default Windows local policy security settings