FIND YOUR NEXT FEW LINES

Results for “CMD”

Small, practical examples. Search by task or narrow things down below.

254 snippets foundClear filters
Docker / ComposeImage management

Read an image’s default command

Docker / Compose: Config.Cmd contains the command arguments stored in the image.

Docker / Compose✓ Tested
PowerShellStructured formats & encodings

Read JSON into a hashtable

PowerShell: AsHashtable produces dictionary-style results for keys that are data rather than fixed property names.

PowerShell✓ Tested
SQL ServerGetting Started

Read named columns from a table

SQL Server: Choose the columns needed and request a deterministic row order.

SQL Server✓ Tested
PowerShellCommands & execution context

Read named fields from a successful regex match

PowerShell: The Matches table is updated after a successful scalar match operation.

PowerShell✓ Tested
PowerShellText & data

Read rows from CSV text

Parse CSV into objects with named properties.

CSV✓ Tested
PowerShellCommands & execution context

Read the kind of command being invoked

PowerShell: CommandType distinguishes cmdlets from functions, aliases, and external applications.

PowerShell✓ Tested
PowerShellArray operations

Read the last array element

PowerShell: A negative array index counts backward from the end.

PowerShell✓ Tested
SQL ServerWindow analytics

Read the last value of the complete partition

SQL Server: Specify an unbounded-following frame so LAST_VALUE does not stop at the current row.

SQL Server✓ Tested
SQL ServerWindow analytics

Read the next row’s value

SQL Server: LEAD reads a later ordered row without a self join and supports a fallback at the end.

SQL Server✓ Tested
SQL ServerGetting Started

Read the smallest and largest values

SQL Server: Use MIN and MAX without sorting and fetching every row.

SQL Server✓ Tested
SQL ServerSchema design & transactions

Read updated base-table values through a view

SQL Server: An ordinary view reflects later changes to its underlying data.

SQL Server✓ Tested
SQL ServerJSON & results

Read values generated by INSERT

Capture an IDENTITY value with OUTPUT.

OUTPUT✓ Tested