RUVIDEO
Поделитесь видео 🙏

Change File/Folder permissions with Powershell

📁 Обучение 👁️ 18 📅 03.12.2023

Please follow me on Twitter to get more updates on memes, tech news, devops/developer content!
https://twitter.com/CodeDoge4

#powershell #security #scripts #scripting #programming

Important Time Stamps :

00:00 - Intro
00:10 - How to add user to a file or folder manually
01:03 - Intro Access Control List or Get-ACL
01:27 - Reminder that link to files are in video description and github
01:39 - Start scripting for ACL
02:54 - Filling in variables
03:12 - Inspecting folder permissions prior to script execution
03:30 - Brief overview of ACL and parameters required
04:33 - Additional Variables to create
05:03 - Creating the argument list variable
05:26 - Adding the argumentlist parameter to command
05:33 - running script with ACL and seeing the result of adding a user or security group to a folder or file
06:02 - Why you might NOT want to use ACL method
06:45 - Intro with using ICACLS.exe
07:24 - Getting started with ICACLS
07:41 - Initial variable values
08:19 - Detail breakdown of the parameters for ICACLs method
09:12 - Executing the powershell script with ICACLS method
10:03 - Running the script with ICACLs method
10:34 - Outtro

Github Link :
https://github.com/jc566/Youtube_Solutions/tree/master/Powershell%20Scripts/Set%20Security%20for%20Files%20%26%20Folders

Important Links :

ACL Commandlet
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-acl?view=powershell-7.1

File System Rights parameters
https://docs.microsoft.com/en-us/dotnet/api/system.security.accesscontrol.filesystemrights?view=net-5.0

ICACLS Documentation and breakdown
#https://ss64.com/nt/icacls.html

Official Microsoft ICACLS.exe documentation
#https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/icacls

This video covers how to use modify or set the security settings or permissions to a file or folder using ACL as well as ICACLS.

Ignore the next chunk of text as its to get picked up in searches.


Modify file security settings
Modify folder security setings
Set file permissions
Set folder permission
Change file permission
Change folder permission
Give access to folder
Give access to file
Set security group for folder
Set security group for file
How to change file permissions
How to change folder permissions
How to set file and folder permissions windows
Fix "You don't currently have permission to access this folder"
How to set permissions Windows Server 2016
How to set folder permissions
How to set file permissions

We cover how to set security permissions for folders using powershell. There are 2 method that we use for this security permissions video which is using Access Controll List aka ACL or ICACLS.exe

Both Get-ACL and ICACLS.exe are viable and are good for different scenarios for changing security permissions on folder using powershell.

Personally, I like using ICACLS because the machine or host server invoking the powershell doesnt need to have priviliged access rights.

I did experience in the line of work where using ACL required higher admin rights in order to invoke, may have been a one off thing or something else I did poorly on my end, but safe to say 60% of the time ICACLS works everytime.

Hopefully this video on setting permissions / changing security rights for a folder or file using powershell is helpful for you.

Also if you actually read this video description, you will notice that I spammed security settings, permissions, powershell, folder rights, folder access rights, etc because I want this to get picked up.

I apologize for the boring video description on security settings, folder access rights and how to modify them, also how to modify folder permissions.

As a reward for actually reading this video description, I shared a game code that is redeemable on steam for The Walking Dead by Telltale games.

But before you get to that, there is one more line of punishment for filling in search criteria based on folder permissions, setting folder permissions, changing folder permissions, modifying folder permissions, changing access rights, setting access rights for folders, and powershell keywords.

Here is the steam code : C95JP-GM66P-Z7IJA

If you redeemed it, please leave a comment on the video notifying everyone that you redeemed the game code so others can save their time.

And again, thanks for watching this video covering how to modify folder access rights, change security rights, access permissions, or any variation of how to change folder access rights.

Also if you are interested in how to use Steam Achievement Manager to unlock steam achievements, please watch my other video : https://youtu.be/z8YJ9OX6zp0

One last time, this is for changing folder access rights or changing folder permissions using powershell.

Okay Ill stop with the spam.

Why are you still reading this video description? You already got the reward potentially.

Stop reading at this point, you poor soul. Thanks for watching and reading!!!

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Change File/Folder permissions with Powershell», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.