Posted by: Richard Siddaway
I’ve shown how to get the boot up time of a system before. We can also find a few more bits of information about the system configuration.
Get-WmiObject -Class Win32_BootConfiguration |
select ConfigurationPath, BootDirectory,
Using the Win32_BootConfiguration class enables us to find the information as listed. The scratch directory is where temporary files reside at boot up.