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