Category Archives: Windows Scripts

Sample Script to manage Windows

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”

VMware: Installing PowerCli from zip

Hi,

if you have an system which is not connected to the internet you cannot install PowerCli online .

Continue reading VMware: Installing PowerCli from zip

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

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