Category Archives: Windows Scripts

Sample Script to manage Windows

Windows: Start an Windows APP from command line


Hi,

this post describes how to start a Windows App from command line. Windows Apps cannot be started by calling the exe file in the C:\program files\WindowsApps\xxx folder. This can/must be done my using the explorer.exe.

The Syntax is


C:\> explorer.exe shell:appsFolder\%PackageFamilyNameOfTheApp%!%AppId%

Continue reading Windows: Start an Windows APP from command line

Advertisment to support michlstechblog.info

Windows: Download appx packages from Microsoft Store (Example install the new Windows Terminal offline)

Hi,

the store itself does not have an option to download appx packages directly from the Windows store.
Continue reading Windows: Download appx packages from Microsoft Store (Example install the new Windows Terminal offline)

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

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