Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dfinke/powershellexcel-snippets

Contains the code snippets for PowerShell Excel development in the VS Code editor
https://github.com/dfinke/powershellexcel-snippets

excel powershell snippets

Last synced: 27 days ago
JSON representation

Contains the code snippets for PowerShell Excel development in the VS Code editor

Awesome Lists containing this project

README

        

# Powershell Excel Snippets
-------------------

[![Version](https://vsmarketplacebadge.apphb.com/version/DougFinke.powershellexcel-snippets.svg)](https://marketplace.visualstudio.com/items?itemName=DougFinke.powershellexcel-snippets)
[![Installs](https://vsmarketplacebadge.apphb.com/installs/DougFinke.powershellexcel-snippets.svg)](https://marketplace.visualstudio.com/items?itemName=DougFinke.powershellexcel-snippets)
[![Ratings](https://vsmarketplacebadge.apphb.com/rating/DougFinke.powershellexcel-snippets.svg)](https://marketplace.visualstudio.com/items?itemName=DougFinke.powershellexcel-snippets)

This extension contains code snippets for the PowerShell Excel module for the Vs Code editor.
## Features

Export `Get-Process` to Excel.

![](images/PowerShellExcelSnippetsExportGetProcess.gif)

## Snippets

Below is a list of all available snippets and the triggers of each one.

|Trigger|Description|
|---|---|
|ps-ExcelAutoFilter|Export Excel using `AutoFilter`|
|ps-ExcelAutoNameRange|Export Excel using `AutoNameRange`.|
|ps-ExcelAutoSize|Export Excel using `AutoSize`|
|ps-ExcelChart|Export to Excel adding a chart|
|ps-ExcelConditionalFormat|Export Excel apply conditional formatting|
|ps-ExcelExport|Export `Get-Process` to Excel|
|ps-ExcelImport|Export Get-Process to Excel File|
|ps-ExcelJustTableName|Export Excel just the tablename param|
|ps-ExcelOpenPackage|Use `OpenPackage` with an Excel file |
|ps-ExcelPassThru|Export Excel using `PassThru`|
|ps-ExcelPivot|Export Excel and create Pivot Tables|
|ps-ExcelSplat|Export Excel splatting params|
|ps-ExcelTableName|Export Excel using a `TableName`|


## Snippets Viewer

Also I used this great extension to make quick work of it.

**Snippets Viewer ⇥ for VSCode**.

View built-in and extension snippets grouped by language in the Snippets Tree View, and much more

![](images/SnippetsViewer.png)

### Snippets Viewer is in the Marketplace

https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.snippets-viewer