parent
4a32ba64b3
commit
df3ec01788
|
|
@ -27,11 +27,7 @@
|
|||
|
||||
<!-- Run the powershell script from the mapped folder -->
|
||||
<LogonCommand>
|
||||
<Command>powershell -executionpolicy Bypass -command "start powershell {-file C:\Users\WDAGUtilityAccount\Desktop\HostShared\SandboxStartup.ps1 -launchingSandbox};"
|
||||
|
||||
<!-- start powershell {Write-Host 'Test'; Read-Host} -->
|
||||
</Command>
|
||||
<!-- Run the powershell script from the mapped folder. The seemingly redundant command nesting makes it so the powershell window is visible when running. -->
|
||||
<!-- The seemingly redundant command nesting makes it so the powershell window is visible when running. -->
|
||||
<Command>powershell -executionpolicy Bypass -command "
|
||||
start powershell {-file C:\Users\WDAGUtilityAccount\Desktop\HostShared\SandboxStartup.ps1 -launchingSandbox};
|
||||
<!-- Note: You can add more powershell commands as additional lines because of the way it parses the XML. Just remember to escape any quotation marks. -->
|
||||
|
|
@ -45,4 +41,7 @@
|
|||
<!-- Other Settings Examples
|
||||
- See: https://learn.microsoft.com/en-us/windows/security/application-security/application-isolation/windows-sandbox/windows-sandbox-configure-using-wsb-file
|
||||
- Note: Anything outside <configuration> tags don't apply
|
||||
|
||||
Other Notes:
|
||||
- It seems you can include multiple <command> entries within LogonCommand
|
||||
-->
|
||||
|
|
|
|||
Loading…
Reference in New Issue