Skip to content

Commit

Permalink
Update Samples README
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhitsolutions authored Dec 15, 2017
1 parent e168e71 commit 58a8903
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion samples/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Samples

These files are intended to be used with [Import-PSTypeExtension](../docs/Import-PSTypeExtension.md). Save the file locally and run the import command. You must specify the full file name with extension so the function knows how to import the data. Importing *will* overwrite any existing type members with the same name. The new type members will only last for the duration of your PowerShell session. If you always want a set of type extensions, put the Import-PSTypeExtension command into your PowerShell profile script.
These files are intended to be used with [Import-PSTypeExtension](../docs/Import-PSTypeExtension.md). Save the file locally and run the import command. You must specify the full file name with extension so the function knows how to import the data. Importing *will* overwrite any existing type members with the same name. The new type members will only last for the duration of your PowerShell session. If you always want a set of type extensions, put the `Import-PSTypeExtension` command into your PowerShell profile script.

```
dir c:\scripts\myextensions\*.json | foreach { $_ |Import-PSTypeExtension}
```

0 comments on commit 58a8903

Please sign in to comment.