From 0c988a21643fb9b24cc3b66937aa5b38e7570d37 Mon Sep 17 00:00:00 2001 From: Maxime Kjaer Date: Fri, 14 Jun 2024 13:16:46 -0700 Subject: [PATCH] Update installation instructions for install from PSGallery (#223) --- RestSetAcls/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RestSetAcls/README.md b/RestSetAcls/README.md index 7b8d0566..5f0c410e 100644 --- a/RestSetAcls/README.md +++ b/RestSetAcls/README.md @@ -20,8 +20,9 @@ RestSetAcls.psm1 is a PowerShell module that provides functions to set Access Co ## Installation -1. Download the `RestSetAcls.psm1` file from this repo. -1. Save the file to a local directory. +```powershell +Install-Module RestSetAcls +``` ## Usage @@ -58,7 +59,6 @@ RestSetAcls.psm1 is a PowerShell module that provides functions to set Access Co ```powershell $FileShareName = "" # replace with the name of your file share - Import-Module -Name "Path\To\RestSetAcls.psm1" # replace with the path to the downloaded RestSetAcls.psm1 file Set-AzureFilesAclRecursive -Context $context -FileShareName $FileShareName -FilePath "/" -SddlPermission $sddl ```