SEARCH RESULTS
 
Showing 1-6 of 6 records
1
 
Expand article

Execute in PowerShell

2007-12-02 11:27:00 by Keith Brown in Security Briefs
 
...PowerShell, an easy way to get the value of an environment variable is to use the $env namespace like so env:windir but when I put this all together and tried to run it, PowerShell didn't parse it the way I expected: $env:windirMicrosoft.NETFrameworkv2.0.50727aspnet regiis.exe -r Unexpected token 'Microsoft.NETFrameworkv2.0.50727aspnet...
 
 
 
 
 
Expand article

Setting file ACLs with PowerShell part 4

2007-11-29 09:34:00 by Keith Brown in Security Briefs
 
...PowerShell to get a quick and dirty listing of an enumeration's values. But to understand how it works, you'll have to bear with me and learn about type-constrained variables in PowerShell, which is a really cool feature unto itself, and one that I use all the time While PowerShell doesn't support strong typing in the classic sense of a...
 
 
 
 
 
Expand article

Setting file ACLs with PowerShell part 5

2008-01-09 04:53:00 by Keith Brown in Security Briefs
 
...PowerShell. Here's the code I've been walking through in this series dacl = (dir foo.txt).GetAccessControl newRule = New-Object Security.AccessControl.FileSystemAccessRule "keith", Modify, Allow modified = $false dacl.ModifyAccessRule("Add", $newRule, [ref]$modified dir foo.txt).SetAccessControl($dacl All I've got left to explain is the last...
 
 
 
 
 
Expand article

Planning for Failure

2007-12-02 11:27:00 by Keith Brown in Security Briefs
 
...PowerShell to build some of this out for Pluralsight, and hey, like most of us, I'm still learning it
 
 
 
 
 
Expand article

Windows Admin Goodies From Microsoft

2008-06-02 18:03:05 by Editor in Cheap Hack
 
Microsoft has released a couple of handy items for Windows administrators. Neither are really big deals, but conveniences. We all use Microsoft's Sysinternals tools, written by Mark Russinovich and Bryce Cogswell, but it's been a minor pain keeping up with all the updates they put out and installing them. Now, if you don't want to, you don't...
 
 
 
 
 
Expand article

Windows Admin Goodies from Microsoft

2008-06-02 18:03:05 by Editor in Cheap Hack
 
Microsoft has released a couple of handy items for Windows administrators. Neither are really big deals, but conveniences. We all use Microsoft's Sysinternals tools, written by Mark Russinovich and Bryce Cogswell, but it's been a minor pain keeping up with and installing all the updates they put out. Now, if you don't want to, you don't have to...
 
 
 
 
 
 
Showing 1-6 of 6 records
1
 
SecurityRatty FAQ
Sergey Zarubin, 31yo
CISSP, CCSP
Moscow, Russia