![]() I use the BurntToast module to show a Windows Action Center notification when it is complete. ![]() My default configuration script takes about 4 minutes to complete. If you have created custom configurations, or intend to use the samples from this module, Get-WsbConfiguration will display information about the configuration.Ĭ:\scripts\windowssandboxtools\wsbScripts\basic.cmd The sandbox will start and then minimize while any configurations you may have are executed. Setting the display is tricky, and I don't know if what I am using will work for everyone, so if you don't get the results you expect, please post an issue. You may have to drag the window slightly to force the sandbox to redraw the screen and remove the horizontal scrollbar. The WindowSize parameter expects an array of width and height, like 1024,768. In either usage, you can specify display dimensions for the sandbox. If you use the NoSetup parameter, it will launch the default Windows Sandbox. You can specify the path to the wsb file. The Start-WindowsSandbox function is my primary tool. The module should work in Windows PowerShell and PowerShell 7 on Windows platforms. Otherwise, you should be able to run these PowerShell commands to get started: I don't know off-hand if it is supported on Windows 10 Home or Education editions. The Windows Sandbox will run a containerized version of your operating system. You need to have the 2004 version of Windows 10 or later. ![]() Nothing in this repository should be considered production-ready or used in critical environments without your extensive testing and validation. You have to decide how much of the code you would like to use.Īll code is offered as-is with no guarantees. ![]() This is a trade-off I am willing to make for the sake of functionality that meets my requirements. As I mention in the blog post, most of the code here will reduce the security of the Windows Sandbox application. I strongly recommend you read the blog post before trying any of the code. Many of the commands in this repository were first demonstrated on my blog. This repository is a collection of PowerShell tools and scripts that I use to run and configure the Windows Sandbox feature that was introduced in Windows 10 2004.
0 Comments
Leave a Reply. |