Thursday, June 16, 2011

Select a folder to save to...

Function Get-SaveDir()
{
[System.Reflection.Assembly]::LoadWithPartialName("System.windows.forms") |
Out-Null

$SaveFileDialog = New-Object System.Windows.Forms.FolderBrowserDialog
$SaveFileDialog.Description = "Type in a description"
$SaveFileDialog.ShowDialog() | Out-Null
$SaveFileDialog.SelectedPath
}



$SaveDir = get-savedir

Friday, June 10, 2011

ConfigMgr Native Mode Lab

I needed to setup a Lab environment to get a better understanding of how ConfigMgr Internet Based Client Management (IBCM) works. Well, before you can do IBCM, you must first have your ConfigMgr site in Native Mode. So, I needed to setup a LAB for ConfigMgr in Native Mode. I do all my labs in Hyper-V, so if your using a different virtualization platform, your mileage may vary.

Since this LAB will be expanding to a IBCM LAB, we are going to plan for that as we setup the framework.

So lets start with this the Virtual Machines
3 x Windows Server 2008 R2
  • DC1 - DC/DNS/DHCP/CA
  • SCCM1 - ConfigMgr/SQL
  • RT1 - RRAS
1 x Windows 7 Ultimate x86
  • Win7-1 - ConfigMgr Client

Thursday, June 9, 2011

Data Recovery Tools

I had a SD card that suddenly stopped working in my camera. I would load it into the computer as well and nothing, no data. See this was not good, because the pictures that I took on here were not only pictures on my neice, but also my sister-in-laws college graduation.

In the past, I have used all sorts of tricks to recover data from bad hard drives (i.e. dd, ddrescue, ...) but I have never had to recover data from an SD card.

In my quest to recover these pictures, I found all sorts of software out there to purchase to recover data. I knew that there had to be a open source alternative and I found it, PhotoRec.

http://www.cgsecurity.org/wiki/PhotoRec
These guys actually have some pretty neat software for things that I have done manually in the past.
I was able to recover all the missing files from the SD card.