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
Category: Microsoft
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:
Setting up a KMS server
Server 2008 R2 “Windows Server 2008 R2 Std/Ent KMS B” key Installation process Load up a VM or physical machines using the “Windows Server 2008 R2 Std/Ent KMS B”. Click on OK on the warning of using a Key Management Service key Thats it for installing the service!
Script to diagram Aggregates, Volumes & Luns within Visio
Done with: PowerShell 2.0 Visio 2010 Standard/Premium OnTap 7.3/8.0 Download the NetApp Vision Stencils and extract them to your “C:Users<User name>My DocumentsMy Shapes” directory. Then install the NetApp OnTap PS Toolkit from the now.netapp.com site (you will need a customer login although it is free). You will need to import the module by typing “Import-Module…
LDAP over SSL with a CA server
MS AD 2008 Server 2008 CA server (Not a DC) Notes: This way won’t force a connection so it will allow both SSL & non-SSL connections. (Which is what I wanted) Make sure to edit the template before pushing out to the domain controllers to edit how long the certificate is valid for. Fails on…
Disabled Mailboxes not displaying in Disconnected Mailbox area
Exchange 07 Microsoft’s documentation shows that when you “Disable” a mailbox it will automatically be placed in the “Disconnected Mailbox” area. That is usually not the case and the GUI doesn’t provide much assistance on refreshing it. In Exchange 03 we used to run the the Mailbox cleanup agent to show the mailboxes as disconnected….