Category Archives: Windows

Windows tips, howtos, scripts

Powershell: Customize the prompt

Hi,

the default prompt of the powershell is “PS” and the current working directory:
Continue reading Powershell: Customize the prompt

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