SEARCH RESULTS
 
Showing 1-9 of 9 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

A look at Windows PowerShell's security features

2008-03-14 00:24:13 by David Aiken in WhatIs: Enterprise IT tips and expert advice
 
This screencast explains how new security features in PowerShell can help keep admins from accidentally executing scripts obtained from outside sources
 
 
 
 
 
Expand article

Writing simple scripts and functions in Windows PowerShell

2008-03-24 09:16:55 by David Aiken in WhatIs: Enterprise IT tips and expert advice
 
In the last of our four-part series on working with Windows PowerShell, this screencast explains how to write simple commands and utilize functionality with Microsoft's scripting language
 
 
 
 
 
Expand article

Introducing Active Directory to Windows PowerShell

2008-04-21 09:52:11 by Christa Anderson in WhatIs: Enterprise IT tips and expert advice
 
In this month's Scripting School column, Christa Anderson breaks down the process of using PowerShell to create or manipulate data in Active Directory
 
 
 
 
 
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...