Skip to main content

Copy-PowerShellJSON

SYNOPSIS​

Enables PowerShell Snippets in Visual Studio Code.

SYNTAX​

Copy-PowerShellJSON [<CommonParameters>]

DESCRIPTION​

Copies the powershell.json file from the Keldor module resources folder to the current user's Visual Studio Code snippets directory.

EXAMPLES​

EXAMPLE 1​

Copy-PowerShellJSON

Copies the powershell.json file from the Keldor module resources folder to the current user's Visual Studio Code snippets directory.

PARAMETERS​

CommonParameters​

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS​

OUTPUTS​

None​

NOTES​

ALIASES​

None.

PLATFORM APPLICABILITY​

Windows, macOS, and Linux.

POWERSHELL COMPATIBILITY​

See PowerShell compatibility for the supported runtime policy. PowerShell 7.6 LTS is preferred.

https://docs.keldor.dev/powershell/keldor/Copy-PowerShellJSON