Krisna Ismayanto

September 2011 - Posts

Our AD environment

A quick and useful PowerShell one-liner to return information about your AD environment is:

[System.DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest()

image

I Red heart PowerShell, don’t you? Open-mouthed smile

Share this post: | | | |
Posted: Sep 15 2011, 10:54 AM by kud0s | with no comments
Filed under: ,
VMM Naming Convention

This is HILARIOUS! Angry smile

I’ve got error when installing SCVMM 2012 RC, terribly sorry I didn’t print screen the error, but the same error explanation just like this link :

http://jeffwouters.nl/index.php/2011/06/virtual-machine-manager-cannot-process-the-request-because-an-error-occurred-while-authenticating-srv-scvmm-01-network-lan/

The above link is happening with SCVMM 2008 R2 SP1

http://social.technet.microsoft.com/Forums/en-US/virtualmachingmgrsetup/thread/46fd012d-f5ac-4025-aac1-29f62f1c6124/

and once again, the above link is happening with SCVMM 2012 Beta, now is happening to me, arrghh Steaming mad 

Renaming the hostname is pretty easy, but because this is my lab environment and I put all the roles & services together including AD CS roles! Crying face

Share this post: | | | |
Posted: Sep 14 2011, 04:28 PM by kud0s | with 1 comment(s)
Filed under:
SCVMM 2012 RC release!

Maybe you guys already know that SCVMM 2012 RC already available for download, if not, you can download it here Smile.

Well, the other good news is Self-Service Portal already include in the installation media Open-mouthed smile.

image

Off we go, begin installation, will get back to you guys soon! Winking smile

Share this post: | | | |
Posted: Sep 14 2011, 01:26 PM by kud0s | with no comments
Filed under:
How to export subnet in a specified Sites?

Active Directory Sites and Services doesn’t provide this, it doesn’t have an export option, so I come to think in mind if there’s no GUI provide, it can by using PowerShell Smile.

So here is the script, just copy paste to text editor and save it using .ps1 extension.

$siteName =  "Default-First-Site-Name"
$configNCDN = (Get-ADRootDSE).ConfigurationNamingContext
$siteContainerDN = ("CN=Sites," + $configNCDN)
$siteDN = "CN=" + $siteName + "," + $siteContainerDN
$siteObj = Get-ADObject -Identity $siteDN -properties "siteObjectBL", "description", "location" 
foreach ($subnetDN in $siteObj.siteObjectBL) {
    Get-ADObject -Identity $subnetDN -properties "siteObject", "description", "location" 
}

Find more at : http://blogs.msdn.com/b/adpowershell/archive/2009/08/18/active-directory-powershell-to-manage-sites-and-subnets-part-3-getting-site-and-subnets.aspx

Share this post: | | | |
Posted: Sep 06 2011, 12:12 PM by kud0s | with no comments
Filed under: ,