Show popup with System Boot Time (Powershell XAML GUI)

This is a Powershell script that display a popup showing when Computer was last booted. Popup looks like picture below.

Copy the code below to a powershell file, in this example:
”C:\PSTools\SystemBootTime.ps1”.

In the same directory create a shortcut of the file. Open the properties for the shortcut and replace the target path with:

Ensure that the ”Start in:” path is ”C:\PSTools”.

If you want you can change the icon on the shortcut to reflect that it’s a powershell script. Copy the full path to the powershell executable:

then click the ”Change Icon…” button and in the ”Look for icons in this file:” paste the path,  press enter, select the first icon and then klick on ”OK”.

Save the changed to the shortcut.

This is all, to run the script simply doubleklick the shortcut.

 

Lämna ett svar

Din e-postadress kommer inte publiceras. Obligatoriska fält är märkta *