From cdf8e6ecf2215c443847b2a912b4f03d9629ae70 Mon Sep 17 00:00:00 2001 From: Andrew Davidson Date: Thu, 14 Jan 2021 11:10:45 +0000 Subject: [PATCH] Update README.md --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0459629..ec48996 100644 --- a/README.md +++ b/README.md @@ -83,14 +83,22 @@ Copy the files to **one** of the available module folders: then run using the examples below as a guide: -#### Check the folder C:\Scripts and all subfolders beneath it: +#### Check the folder C:\Scripts: `Invoke-PSQualityCheck -Path 'C:\Scripts'` -#### Check the folders C:\Scripts and C:\MoreScripts' and all subfolders beneath both folders: +#### Check the folder C:\Scripts and all subfolders beneath it: + +`Invoke-PSQualityCheck -Path 'C:\Scripts' -Recurse` + +#### Check the folders C:\Scripts and C:\MoreScripts': `Invoke-PSQualityCheck -Path @('C:\Scripts', 'C:\MoreScripts')` +#### Check the folders C:\Scripts and C:\MoreScripts' and all subfolders beneath both folders: + +`Invoke-PSQualityCheck -Path @('C:\Scripts', 'C:\MoreScripts') -Recurse` + #### Check the file C:\Scripts\Script.ps1: `Invoke-PSQualityCheck -File 'C:\Scripts\Script.ps1'`