Category Archives: Windows Scripts

Sample Script to manage Windows

Windows: Check if computer is joined to Azure AD

Hi,

if you want to check if a computer is joined ADFS and/or Azure AD use
Continue reading Windows: Check if computer is joined to Azure AD

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”