header image
 

Archive for the 'Uncategorized' Category

Book Review – Wellbeing

• March 10, 2014

I have to say, overall, I did enjoy this book. It just isn’t quite as excellent as it could be. What I liked I liked the overall theme of the book and the research-based tone throughout. The authors make the claim that there are “five essential elements of wellbeing”: Work (Career) Social Financial Physical Community […]


Bulk renaming of files in PowerShell

• October 30, 2013

Here’s a nifty little trick if you ever need to rename a large set of files (I’m looking at you, thousands of images from my DSLR!): Dir | Rename-Item –NewName { $_.name –replace “ “,”_” } This will pipe all the files in your current directory into Rename-Item, and replace whatever is in the first […]


Update to the “Use PowerShell to open Active Directory as an administrator account” post

• August 27, 2012

Icolan added a good tip on my last post:  Icolan Says:  Why not call mmc.exe with the start-process command, then you won’t have a cmd window left open. Start-Process “C:\Windows\System32\mmc.exe” -workingdirectory $PSHOME -Credential -ArgumentList “dsa.msc” Why not indeed? 🙂 Simply adding that to the original script though, gave me the error: “The requested operation requires elevation” […]


Use PowerShell to open Active Directory as an administrator account

• August 7, 2012

So the old methodology we used to use for opening up Active Directory was a little cmd file: runas /user:AD\<admin account> cmd Which would start a new cmd window running under the <admin account> credentials. From there, you could type dsa.msc to start Active Directory running as that <admin account> instead of the account you […]


Use PowerShell to get print server info

• July 20, 2012

Found a nice little powershell command to get info on printers installed on a print server: Get-WmiObject -class Win32_printer -computer <print server name/IP address> -credential <domain\username> | Select Name,Comment,DriverName,location,PortName | Export-Csv c:\PrintServerInfo.csv


PowerShell goodness

• June 28, 2012

Want to know who is currently logged into a machine? (gwmi Win32_ComputerSystem -Comp).username PowerShell <3


First Post!

• June 20, 2012

This is my first post at my SA:IT blog! I just got back from Orlando, FL where I attended Microsoft TechEd 2012. While it was a great experience and I learned a lot, it was also really exhausting! There was so much to do and see I was honestly very overwhelmed. I arrived late Saturday […]


 
Skip to toolbar