V
V
Vadim2022-02-18 14:28:16
PowerShell
Vadim, 2022-02-18 14:28:16

Is it possible to set the following variable from PowerShell?

Hello everyone,

I haven’t been programming in Windows for a long time - is it possible to set the next isBorderRequired variable using some command in PowerShell? Or editing the registry?

https://docs.microsoft.com/en-us/uwp/api/windows.g...

if so, which PowerShell command?

All the best,
Vadim

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MaxKozlov, 2022-02-18
@Viji

Apparently so

[Windows.Graphics.Capture.GraphicsCaptureSession, Windows.Graphics.Capture, ContentType=WindowsRuntime] | Out-Null
[Windows.Graphics.Capture.GraphicsCaptureSession]::IsBorderRequired = $true

But I can’t check, not the build of Windows :)
based on
https://stackoverflow.com/questions/45086059/how-c...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question