GDIGrab Extension
The GDIGrab extension lets you use GDI input devices
EXAMPLE 1
Show-Media -GDIGrab # Shows a recursive grab of the current desktop
If set, will use gdigrab
as the input type
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[Switch] |
true | named | false | gdi |
The GDI device to use. This can be:
Type | Required | Position | PipelineInput |
---|---|---|---|
[String] |
false | 1 | false |
The title of the window to capture. This is ignored if -GdiDevice is set.
Type | Required | Position | PipelineInput |
---|---|---|---|
[String] |
false | 2 | false |
The framerate to capture at. If not specified, defaults to 30.
Type | Required | Position | PipelineInput |
---|---|---|---|
[String] |
false | 3 | false |
The X offset to start capturing at. If not specified, defaults to 0.
Type | Required | Position | PipelineInput |
---|---|---|---|
[String] |
false | 4 | false |
The Y offset to start capturing at. If not specified, defaults to 0.
Type | Required | Position | PipelineInput |
---|---|---|---|
[String] |
false | 5 | false |
The video size to capture. This should be in the format of a well known size (like vga) or resolution.
If not specified, defaults to the full size of the desktop or window.
Type | Required | Position | PipelineInput |
---|---|---|---|
[String] |
false | 6 | false |
If set, will hide the mouse cursor in the capture.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Switch] |
false | named | false |
If set, will show the region being captured. This is useful for debugging.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Switch] |
false | named | false |
Extension/GdiGrab.RoughDraft.Extension.ps1 -GdiGrab [[-GdiDevice] <String>] [[-GdiWindowTitle] <String>] [[-GdiFramerate] <String>] [[-GdiOffsetX] <String>] [[-GdiOffsetY] <String>] [[-GdiVideoSize] <String>] [-GdiHideMouse] [-GdiShowRegion] [<CommonParameters>]