|
|
|
Browse by Tags
-
I've been rather dark over the last couple of months as I helped to finish up Pluralsight's online training offering, Pluralsight On-Demand . I'm psyched that we finally shipped! Be sure to check it out soon (you can preview bits of each course...
-
In my previous post in this series, I showed how easy it is to work with enumerations in PowerShell. Here's the code I've been walking through in this series: $dacl = (dir foo.txt).GetAccessControl() $newRule = New-Object Security.AccessControl.FileSystemAccessRule...
-
As part of a disaster recovery script, early on I wanted to ensure that all of the vdirs on a server were using ASP.NET 2.0. That meant that I wanted to run aspnet_regiis.exe -r but I didn't want to make any assumptions about what drive or directory Windows...
-
In part 3 , I walked through the following line of code: $newRule = New-Object Security.AccessControl.FileSystemAccessRule "keith", Modify, Allow I pointed out how the "Modify" was automatically converted into an enumeration value, promising that I'd...
-
In my last post , I showed how to retrieve a file system ACL (well, technically a security descriptor ) via PowerShell. Today I'll show you how to tweak that ACL using System.Security.AccessControl. $newRule = New-Object Security.AccessControl.FileSystemAccessRule...
-
In my last post , I introduced a short little script that adjusts the security settings on a file. There are a number of fine points about PowerShell syntax and Windows security concepts that this little script relies upon, and I'm going to walk through...
-
2007 marked the year that I switched shells. I used to use the Hamilton C Shell , which was powerful and integrates exceptionally well with Windows, but I found myself constantly having to relearn the script syntax whenever I'd want to do something. So...
|
|
|
|
|