The SysAdmin Network

No more hiding in the server room

Jason Short
  • Male
  • Gainesville, FL
  • United States
Share 
Share on Twitter
Share on Facebook
 

Jason Short's Page

Latest Activity

We use two different images that cover most of the software we use, and customize them if necessary. (For example, the marketing department needs Photoshop, etc. But for three workstations, it's not worth maintaining a separate image) We have a lit…
February 5
1. They'll often pay for books, and reimburse for the exam if you pass (now that's incentive). Assuming it's something actually relevant to your job. I probably couldn't get a cert in "basket weaving with thicknet cables". 2. I've had surprisingly…
January 22
At least on our workstations, they'll run fine for a few minutes (say, 10 or 20). Just long enough for you check them after a reboot and think that they're running fine. Shortly, they'll show symptoms of the kernel running out of paged pool memory.…
January 21
Great post, Jason. So can you tell us -- what exactly >did< happen in this case? Please, give us all the gory details! What was the end effect, and was there anything that could be done to fix it?
January 20
Jason Short added a blog post
And not what I tell you to do! Pop quiz: What does the following Powershell script do? $MachineName = '.' $reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey('LocalMachine', $MachineName) $regKey= $reg.OpenSubKey("SYSTEM\\CurrentControlSet\\C…
January 20
January 20
January 20
January 19
Jason Short is now a member of The SysAdmin Network
January 19

Profile Information

Job title
Sr System Admin
Tech Interests - e.g. Virtualisation? Cisco? Etc.
Virtualisation, automation, scripting

Jason Short's Blog

Jason Short

Do what I want....

And not what I tell you to do!

Pop quiz:

What does the following Powershell script do?

$MachineName = '.'
$reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey('LocalMachine', $MachineName)
$regKey= $reg.OpenSubKey("SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Memory Management",$true)
$regkey.SetValue('PagedPoolSize','FFFFFFFF')



Answer:
Cause pandemonium, as it turns out.

If the registry key already exists, the SetValue method helpfully converts it to the appropriate type (Stri… Continue

Posted on January 20, 2010 at 3:37am — 2 Comments

Comment Wall (3 comments)

You need to be a member of The SysAdmin Network to add comments!

Join The SysAdmin Network

At 2:59am on January 20, 2010, Wesley "Nonapeptide" said…
Neat. I'm getting exposure to PowerShell, but only in an Exchange 2007 context. I'm hoping to get into Python some day and try to shoehorn that into a Windows environment... but maybe I should just go for PS and be done with it. =)
At 2:52am on January 20, 2010, Jason Short said…
Powershell is my favorite. VBscript if I must (and I often must), good ol' batch files if I'm doing something simple, or Bash if I'm doing something Linux-ey. So, whatever gets the job done!
At 1:41pm on January 19, 2010, Wesley "Nonapeptide" said…
Hello Jason! Always nice to have a scripter in the mix. What language to you script in?
 
 
 

© 2010   Created by Elizabeth Ayer and Michael Francis on Ning.   Create a Ning Network!

Badges  |  Report an Issue  |  Privacy  |  Terms of Service