From a6badd1e10c1e2061c78e8b23ffac8c61d213640 Mon Sep 17 00:00:00 2001 From: Tim Eertmoed Date: Thu, 24 Oct 2024 12:43:57 +0200 Subject: [PATCH] docs/powershell.md aktualisiert --- docs/powershell.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/docs/powershell.md b/docs/powershell.md index f6b529d..b013f1b 100644 --- a/docs/powershell.md +++ b/docs/powershell.md @@ -180,16 +180,8 @@ Add-ADGroupMember -Identity "2-Kp-Chef" -Members "2-Kp-KpFw", "2-Kp-KpEinsOffz" ###### Set-vars -$PATH='C:\SharedFolder' -$NAME='MyShare' -$PERM='[FLAG]' //[F (Full), M (RW), R (Read) or RX (Read and Execute)] -New-Item -Path $PATH -ItemType Directory -New-SmbShare -Name $NAME -Path $PATH -FullAccess "Authenticated Users" -icacls $PATH /grant "DOMAIN\YourGroupName":(OI)(CI)$PERM - - ```ruby -$PATH='C:\SharedFolder' +$PATH='C:/SharedFolder' $NAME='MyShare' $PERM='[FLAG]' //[F (Full), M (RW), R (Read) or RX (Read and Execute)] New-Item -Path $PATH -ItemType Directory