Archive for September, 2012



Have you ever try to export Remote IP on your Exchange Server Receive Connector ? I bet you will guess by using Exchange Management Shell (EMS), the answer is correct! Smile

You can execute it by typing Get-ReceiveConnector –Identity ServerName\Relay | ft RemoteIP*, and you get result like the following below.

image

As you can see, there’s three magnificent dots at the end and you’re guessing, “How in the world expand those dots?”

Actually its pretty simple, just execute this command : Get-ReceiveConnector ("ServerName\Relay").RemoteIPRanges

And then maybe you can export it to CSV or TXT file Smile

Server Posterpedia


Have you download Server Posterpedia from Store ? If you like poster from any component architecture, I believe you’ll like it a lot! Open-mouthed smile

image

Here’s one example come from Hyper-V Windows Server 2012

image

PowerShell 3.0 Intellisense


I don’t know from where MS found that word “Intellisense” but it awsome feature on PowerShell..!! Open-mouthed smile If you want to try it, start PowerShell and type ise, it will start Windows PowerShell ISE.

So if you type let say Get- and right click on it, it will give you an option to Start Intellisense.

image

Or next time you can just use Ctrl+Space to activate it. And as you can see below, it will give you a dropdown list of cmdlets and a tooltip display the syntax of the cmdlet.

image


So I have Database Server running SQL Server 2008 R2, but a lot of Database and Drives on the Windows Server, the request is I want to know each location of Data and Log file on the server, I don’t want to right click and see each one of properties of the DB, so do you right ? Open-mouthed smile

Simple answer is I have to execute this query :

SELECT name, physical_name AS current_file_location
FROM sys.master_files

And the result like the following picture below:

image


This post related to https://ikrisna.wordpress.com/2012/09/03/windows-8-rtm/, my friend told me there’s something weird on drive C:\. There’s a folder name Windows.old, and it consumed more than 20 GB! Disappointed smile

So what is the folder contains ? and how to delete it ? First you have to execute Disk Cleanup, select drive C:, and choose Clean up system files, choose drive C: again.

image

Then it will show this option below, you can see there’s an option Previous Windows installation(s), check it and click OK. Now you got some space on your C: drive.

image

PowerShell version ?


Do you know how to determine PowerShell version on your computer / server ?

After reading this post you will know Smile. Why I’m bother to make this post because PowerShell 3.0 already available for Windows 7 and Windows 2008!, here’s the link : http://www.microsoft.com/en-us/download/details.aspx?id=29939

But I’m already using Windows 8 which mean I’m already using PS 3.0, the command is $PSVersionTable

image

Windows 8 RTM


Today I’m doing an in place upgrade from Windows 7 SP1 Enterprise (x64) to Windows 8 Enterprise, approximately 2 hours of waiting finally it finish, and that’s why I post this blog Smile.

And this is the proof Smile Got score 5.7, not bad I think Hot smile

image

but somehow the product not activated yet, going to ask my SysAdmin about the SN Smile. Can’t wait for Windows Server 2012 which is going to launch tomorrow! Open-mouthed smile

I’m trying to enable Hyper-V, stay tuned!

Blog at WordPress.com.
[ Back to top ]