Server 2008 and/or R2 On the Windows 2008 disk partition install, I get the error “Windows could not prepare the partition selected for installation”. Boot to Command Prompt and type in the following diskpart list disk select disk <disk number> detail disk
Month: June 2011
Upgrading Distribution groups from Exch 03/07 to 10
EMS 2010 commands: Get-DistributionGroup –ID “DistributionGroupName” | Set-DistributionGroup –ForceUpdate To “upgrade” all Distribution Groups within an Organization, the following command will do the trick: Get-DistributionGroup –ResultSize Unlimited | Set-DistributionGroup –ForceUpdate I have heard heard reports of substituting -ForceUpdate for -ForceUpgrade working as well.
Find rogue snapshots within VMware
Requirements: – VMware vSphere PowerCLI – VMware Virtual Center 4.0 + Command: Connect-VIServer <virtual center name or IP>
Adding multiple users to AD from CSV
Download script here Requirements: – Powershell 2.0 – CSV file Attributes Used: FirstName LastName City Department Job Title Logon Name Password Description E-Mail Script (Logon Script) H drive (Logon file share letter) domain name
Sending an E-mail blast from a CSV with an attachment
Download script here Required: – Powershell 2.0 – CSV file with the first 3 cell names dictated by what you put in $emailaddress, $fileLocation, & $name. (In that order) PS1 Script: #CSV SETTINGS #This is the location of the CSV file
Exch Session Import to PS
Using a machine without Exchange Management Tools Requirements: – Powershell 2.0 – Access to your Exchange Server Launch Powershell and run: