For the complete documentation index, see llms.txt. This page is also available as Markdown.

Start-ScreenPNGProcess

Starts a background process to capture screenshots

Property
Value

Module

OSD

Platform

WinPE (amd64 / arm64)

Description

Launches a hidden PowerShell process that periodically captures screenshots and saves them to the specified directory.

Syntax

Start-ScreenPNGProcess [-Directory] <String> [[-Delay] <UInt32>] [[-Count] <UInt32>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

Parameters

Parameter
Type
Required
Description

-Directory

String

True

Directory where screenshots will be saved. This parameter is mandatory.

-Delay

UInt32

False

Delay in seconds between screenshots. Default is 2 seconds

-Count

UInt32

False

Total number of screenshots to capture. Default is 9999

Examples

Example

Example

Last updated

Was this helpful?