The command:
new-post
cmdlet new-post.ps1 at command pipeline position 1
Supply values for the following parameters:
The prompts for required parameters follow:
title: How to delete a file
subtitle: OS
cat: gen
tags: win10 linux ios
The output:
.\_Posts\2020-01-04-How_to_delete_a_file-gen.md
Directory: C:\Temp\DJzBlog\_Posts
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 1/4/2020 5:53 PM 0
The generated filename and file contents:
2020-01-04-How_to_delete_a_file-gen.md
---
layout: postpage
title: How to delete a file
subtitle: OS
category: gen
tags: win10 linux ios
date: 2020-01-04 17:53:23
author: david_jones
excerpt_separator: <!--more-->
disqus: 1
---
_Insert summary here_
<!--more-->