Category Archives: Windows Scripts

Sample Script to manage Windows

Powershell/Excel: Check if a excel document contains macros

Hi,

this script can be used to check if excel contains some active code. It opens the excel file in an safe way and looks for VB content and write the full file path to the console if macros are found.
Continue reading Powershell/Excel: Check if a excel document contains macros

Advertisment to support michlstechblog.info

Windows: Get Disk Smartparameter and Health status

Hi,

in newer Versions of the Windows operating system you to not need additional tools to get the most important Harddisk smart parameters.
Continue reading Windows: Get Disk Smartparameter and Health status

Powershell: Import a module from a file

Hi,

you just want to test a module and don’t want to install or copy it to the Powershell Modules directories? It’s possible 🙂

For example the SpeculationControl module to query the speculation control (Spectre/Meltdown vulnerability) settings of your system.
Continue reading Powershell: Import a module from a file

Windows: Get a list of Remote Desktop Logons

Hi,

if you want to know who and from which station a user logs on via remote desktop you can use the following powershell commands.
Continue reading Windows: Get a list of Remote Desktop Logons

Windows: Change your (Domain) Password in a remote Desktop Session

Hi,

short answer 🙂
Continue reading Windows: Change your (Domain) Password in a remote Desktop Session