When you’ve configured mailbox quota’s within your Exchange 2010/2013 environment, you’ve to check the configuration sometimes. Using Microsoft PowerShell, you can watch the current configuration within a few second, so this is extremely powerfull!! But, when you have to query for some specific user or result, it’s not that easy.
There’s a very usefull command within PowerShell that I’m using almost for all my scripts….Out-GridView. When using the parameter Out-GridView, the results are not showing within the PowerShell screen, but in a separate window! Within this window, you can very easy add some search criteria….for example: specific user, quota or an overview per database.
One requirement is that the Windows Feature “Windows PowerShell Integrated Scripting Environment (ISE)” is installed on the Exchange servers or mangement server from where you’re running the commands.
1.) Open the Exchange Management Shell (EMS)
2.) For an overview of the current mailbox quota, use the following command.
Get-Mailbox -Identity mswinkels | ft Name, IssueWarningQuota, ProhibitSendQuota, ProhibitSendReceiveQuota
3.) The results of this command is shown within the PowerShell window
4.) Now we’re running the same command, but replace “ft” (format-table) with “select” and add the parameter “Out-GridView”
Get-Mailbox -Identity mswinkels | Select Name, IssueWarningQuota, ProhibitSendQuota, ProhibitSendReceiveQuota | Out-GridView
5.) Now the results are in a separate window! Extreme usefull when you’ve have to search for a specific result or results.
Microsoft has released a free ebook of “Introducing Windows 10 for IT Professionals, Preview Edition”. You can download the ebook here.
Microsoft has released a new version of Microsoft Server 2016 Technical Preview 2, so I’ve installed this version immediately within my Hyper-V environment. After starting the setup, you’ll see there’re two versions:
- Windows Server Technical Preview 2
- Windows Server Technical Preview 2 (with local admin tools)
The difference between theese two versions is the User Experience. In previous version of Windows, it was called Windows Server Core Edition. So the version without the local admin tools, the user has no option to enable/install the graphical user interface (GUI).
After the installation, you’ll see that there’s a difference between the User Experience. One version, the Server Manager is available and the other version has only a command prompt available. You’ve to manage this server from another server with the Remote Server Administrative Tools (RSAT). The version with the admin tools included, there’s a possibility to enable the Graphical User Interface (GUI).
After a reboot, the server is turned on with a Graphical User Interface (GUI) and it looks pretty cool!! And YESSSS, the start menu is back again 🙂 What a great time for some users!! With this new version of Windows Server, there’s is a complete new “world of bits and bytes”….
When you do a lot of deployments whitin your Windows 8.1 Client Hyper-V machine, the disk space is getting more and more. Because I’ve only one SSD drive of 250 GB, the free space becomes critical. I’ve got to find a way to reduce it. I read a few blogs and found a solution which is the dedup. But data deduplication is not available whitin Windows 8.1.
This method is not officially supported by Microsoft ,however found a way to save my disk space.
This method requires the CAB files from the Windows Server 2012 R2. Either you can get those files from a Windows Server 2012 R2 or you can download the files from my OneDrive here.
The files are as follow :
I downloaded the files to a folder as below and installed all the CAB files:
Next step is to install the CAD files on your Windows 8.1 machine. I’ve used DISM to install these files.
After you’ve succesfully installed the CAB files, you’re able to install the “Data Deduplication” role. I’ve also used DISM (see screenshot below).
The next step is to enable Data Deduplication on the volume or volumes. First I’ve readthe current free space on my E: drive. After enabling Data Deduplication on this volume, I’ve manually started the Data Dedup task.
But after enabling Data Depuplication and running the Dedup Job, there’s nothing happening!! Why?? Because the minimumFileAgeDays is 3 and my files on the hard drives are 2 days old 🙂 So I’ve added the MinimumFileAgeDays to 0 (zero days). After running the Dedup Job again, let’s have a look on the current free space!! Dedup is doing his job!!! 🙂 Cool!
The final screenshot are the commands I’ve used to configure this in my lab environment. Once again, this method is not officially supported by Microsoft.It’s a great way to save some disk space on your expensive SSD hard drive! Now you can deploy more virtual machines on the same hard drive, so happy automation and deployment!! 🙂
Today I’ve cleaned up my data folders on my laptop. Look what I’ve found between all those virtual machines and ISO’s….yes indead, some comics of TechEddie 🙂 That’s a long time ago, but it was a good and funny time!
Today I have installed a new MDT 2012 environment. After diving deeper into the scripts directory on the deployment share, I found a great thing in one of the WSF files. If you’re looking for the answer to anything, just open the ZTIConnect.wsf file in the scripts directory on your deployment share. Navigate to ling 29 and there’s the answer 😉 ……42! Have cool is that!! 🙂
Finally my new home lab environment is up and running. After building a copple of hours, my new monster was ready to rock!! I’ve installed Windows Server 2012 with the Hyper-V server role….and WOW, it really rocks!! The next few moths I’m going to build a big environment, with System Center 2012, Exchange 2013, Windows Server 2012 and many, many, many more cool products!! 🙂
* AMD A8 3870K 3.00GHz 4MB FM1 Box
* Asus F1A75-V PRO AMD A75, SATA600 RAID, HDMI
* Corsair 32GB PC3-14900 DDR3 SDRAM Vengeance (4x 8GB, 1866MHz)