I have folder in my D drive containing a notepad file, I want to checked the (Encrypt Contents to Secure data) which is in properties->Advance option using Powershell code.
I tried a lot but didn't find any solution. Thanks
-
Hi, SO is not a scriptwriting service. Please provide at least an example of your work (btw, what you want to achieve is possible and actually very easy using Powershell)bluuf– bluuf2018-11-21 10:11:04 +00:00Commented Nov 21, 2018 at 10:11
-
I upload the image, what I want is that only get checked the "Encrypt Content to Secure Data" option of file using powershellGhufran Ataie– Ghufran Ataie2018-11-21 10:24:28 +00:00Commented Nov 21, 2018 at 10:24
-
Please provide a code sample of your own work so far. Using the default Windows encryption is very easy using Powershell, but before I will post an answer I need to see what you have written so far (SO is not a script writing function). As a hint : try doing Get-Item on a file (stick it in a variable) and then call the Encrypt() function...bluuf– bluuf2018-11-21 11:35:47 +00:00Commented Nov 21, 2018 at 11:35
-
I even don't know what command is used for encryption in powershell.Ghufran Ataie– Ghufran Ataie2018-11-21 15:03:47 +00:00Commented Nov 21, 2018 at 15:03
Add a comment
|