Archive for the ‘Windows 7’ Category

Deploying Microsoft Windows Server 2008 Networking with Cisco

June 6, 2011

Cisco has published an really useful whitepaper around networking deployments with their Cisco gear and does provide great technical details around the new enhanced capabilities of the new networking features from 2008/Vista stack.

Techniques like Teredo, ISATAP, NAT, SMBv2, IPv6…..will be discussed in detail especially the multisite cluster DNS is also covered here:

image

image

image

image

image

image

image

image

Deploying Microsoft Windows Server 2008 and Vista on a Cisco Network
http://www.cisco.com/en/US/docs/solutions/Enterprise/Data_Center/App_Networking/extmsftw2k8vistacisco.pdf

Stay tuned…. Winking smile

Regards

Ramazan

Powershell–How to write your own custom functions in Powershell?

May 15, 2011

How to write your own functions within Powershell?

As most of you knows, Powershell is a really powerful toy for administrators which are dealing with a lot of systems. Most of the time, you do same operations and need to write your own scripts. I usually use here the "function" method to build my own Powershell functions which I call later in my script anytime.

Function Example: Enumerate all drives/partitions on a server
function GetDrives
    Get-WmiObject Win32_DiskPartition | select-Object Name, VolumeName, DiskIndex, Index 
}
   

Function Example: Start all VMs
function StartVM ([string]$VMName) {
    write-host (‘INFOTEXTBOX: Starting all VM now: ‘+$VMName)
    Get-VM -Suspended $VMName | Start-VM -Force
    Get-VM -Stopped $VMName | Start-VM -Force
    while (!(Get-VM $VMName -Running)) {sleep 1}
}

Function Example: Cleanup or Remove all VM
function RemoveVM ([string]$VMName) {
    write-host (‘INFO: Remove VMs now:’+$VMName)
    Get-VM $VMName| Remove-VM -force | Out-Null
    while (Get-VM $VMName) {sleep 3}
}

Function Example: Remove ISO drive from VM
function RemoveISO ([string]$VMName) {
    $DVD=Get-VMDisk $VMName | Where-Object {$_.DriveName -like ‘DVD Drive’} | Where-Object {$_.DiskImage -like ‘*.iso’}
    if ($DVD) {
        ForEach ($actDVD in $DVD) {
            write-host (‘INFO: Remove Mounted ISO from VM ‘+$VMName)
            Remove-VMDrive $VMName -ControllerID $actDVD.ControllerID -LUN $actDVD.DriveLUN -DiskOnly | Out-Null
        }
    }
}

These are examples for Hyper-V and Cluster Environments where we do utilize command like  “Remove-VMDrive” or “Get-VM” from the Powershell Hyper-V library module from Codeplex or built in Failover Cluster module.

PowerShell: calling a function with parameters
http://weblogs.asp.net/soever/archive/2006/11/29/powershell-calling-a-function-with-parameters.aspx

PowerShell Tutorial 10: Functions and Filters
http://www.powershellpro.com/powershell-tutorial-introduction/powershell-functions-filters/

Stay tuned for further PS examples Winking smile

Regards

Ramazan

Microsoft TechDay Online–Webcast und Expertenchat

February 2, 2011

Microsoft veranstaltet zwischen dem 21.02.- und 23.02.2011 die Techdays Online welche Themengebiete wie z.b. Hochverfügbarkeit, Virtualisierung, Cloud Management beinhalten wird. Dabei werden wirkliche sehr interessante Webcast zur Verfügung stehen.

“Der Microsoft TechDay bietet seit annähernd 3 Jahren geballtes Wissen rund um die neuesten Microsoft-Technologien. Egal ob Sie IT-Führungskraft, technischer Entscheider oder Administrator sind – bei uns erhalten Sie Informationen aus erster Hand!
Wir freuen uns, Ihnen neben den ursprünglichen Offline-Events seit neuestem auch den Microsoft TechDay Online anbieten zu können. Bei diesem Online-Event können Sie die Vorträge live oder auch on Demand anschauen und in unserem Expertenchat offen gebliebene Fragen klären. Unsere Offline-Events ganz in Ihrer Nähe behalten wir natürlich weiterhin bei.“

Dabei habe ich ebenfalls die Möglichkeit erhalten, meine bisherigen Erfahrungen in Bezug auf die täglichen Herausforderungen für den Datacenter Administrator, in einem Webcast zu komprimieren. Mein Track zu diesem Thema wird heissen “Virtualisierung für den Administrator: Die täglichen Aufgaben für Optimierung und Verfügbarkeit”

Weitere Informationen zu TechDay Online ist zu finden unter:

http://www.techday.ms/default.aspx

Agenda für Virtualisierung

http://www.techday.ms/Virtualisierung/agenda.aspx

Anmeldung

http://www.techday.ms/Virtualisierung/anmeldung.aspx

Stay tuned… Winking smile

Ramazan

Whitepapers around Windows Server 2008

November 20, 2010

Here you can find all relevant whitepapers which are published by Microsoft around Windows Server 2008 Features, Roles like HA, RDS, File and Storage, Virtualization … and some general information’s.

http://www.microsoft.com/windowsserver2008/en/us/white-papers.aspx

Free eBooks around Microsoft Technologies

November 20, 2010
Here are some useful ebooks which are available for free:
Free eBook: Moving to Microsoft Visual Studio 2010
(10 chapters by Patrice Pelland, Pascal Paré, and Ken Haines)

Free eBook: Introducing Microsoft SQL Server 2008 R2
(10 chapters by Ross Mistry and Stacia Misner)

Free eBook: Programming Windows Phone 7 Series (DRAFT Preview)
(6 chapters by Charles Petzold)

Free eBook: Petzold’s Programming Windows Phone 7 (Special Excerpt 2)
(newer than the eBook above; 11 chapters by Charles Petzold)

Free eBook: Own Your Future: Update Your Skills with Resources and Career Ideas from Microsoft
(8 chapters by Katherine Murray)

Free eBook: Understanding Microsoft Virtualization Solutions (Second Edition)
(6 chapters by Mitch Tulloch)

Free eBook: First Look Microsoft Office 2010
(14 chapters by Katherine Murray)

Free eBook: Windows 7 troubleshooting tips
(short eBook by Mitch Tulloch)

Free eBook: Introducing Windows Server 2008 R2
(9 chapters by Charlie Russel and Craig Zacker)

Free eBook: Deploying Windows 7, Essential Guidance
(10 chapters from the
Windows 7 Resource Kit and 6 TechNet articles)

Regards

Terminal Services aka Remote Desktop Services Step-by-Step Guide’s available

October 21, 2010

Here is an summarized list of all step-by-step guides from Microsoft around deploying Terminal Services (RTM) / RDS  – Remote Desktop Services (R2) with Windows Server 2008 RTM/R2. I personally think there are many useful scenarios where this built-in role can be implemented. My personal favourite is the TSGateway (RTM) or RD Gateway (R2) where you can publish all your servers to a.e. Internet on a secured base as the traffic is based on SSL. Also the granular capability of user access rights management – of course Active Directory Groups can be used as well – is a powerful tool, which are realized with CAP (Connection Access Policy) and RAP (Ressource Access Policy).

Try it out:

Deploying Remote Desktop Web Access with Remote Desktop Connection Broker Step-by-Step Guide
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=906b5769-07a2-452a-9783-30137b0d650a

Deploying Remote Desktop Gateway Step-by-Step Guide
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6d146124-e850-4cec-9efa-33a5225e155d

Deploying RemoteFX on a Remote Desktop Session Host Server Step-by-Step Guide
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=d90e841f-d84c-4746-b0f3-3c16e71d1ed1

Deploying RemoteApp Programs to the Start Menu by Using RemoteApp and Desktop Connection Step-by-Step Guide
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=b00819e6-70e2-4a9e-9224-26804eb0ba4e

Deploying RemoteFX for Personal Virtual Desktops Step-by-Step Guide
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=36dfd539-fa39-47de-af89-24f07bd67a7d

Deploying Remote Desktop IP Virtualization Step-by-Step Guide
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=11a2145c-0b61-4b98-848e-3c8e80ee736f

Deploying a Single RemoteFX Server Step-by-Step Guide
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=dab3196b-97ec-4fbf-86b4-cc8023d8c111

Deploying Virtual Desktop Pools by Using Remote Desktop Web Access Step-by-Step Guide
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=e33b0953-e89a-4b97-a6fe-60da44add5c7

Deploying Personal Virtual Desktops by Using Remote Desktop Web Access Step-by-Step Guide
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0d278f5c-37fa-43fb-8032-614c7bf1d617

Installing Remote Desktop Session Host Step-by-Step Guide
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=da934121-f85d-4827-bb11-e17e9db5d53a

Deploying Remote Desktop Web Access with Remote Desktop Connection Broker Step-by-Step Guide
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=906b5769-07a2-452a-9783-30137b0d650a

Deploying USB Redirection with RemoteFX Step-by-Step Guide
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=4b290885-2da1-4432-baab-87346c96b63c

Deploying Remote Desktop Licensing Step-by-Step Guide
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=851819a9-02df-4048-9cee-6a4ee3c52ef7

Customizing RD Web Access by Using Windows SharePoint Services Step-by-Step Guide
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=eb2b786f-2a70-4045-a899-6d7c9a794fbc

Stay tuned…. Smile

Regards

Ramazan Can [MVP Cluster]

Windows7 – WindowsXP Mode –> Access to local drives via published applications ?

June 29, 2009

Is it possible to access my local drives within the virtual machine from published applications ? As the windows tools like explorer will not be published per default you cannot access your drives directly except via going to map a network drive. If required, you can start the explorer.exe from any published application which offers you a “open” or “save to” dialog where you normally access your local drives.

In my case I had gone trough the outlook 2007 menu “File –> Open –> Calender…” dialog to start the explorer.exe which is located at c:\windows\:

Change the “File of Type” to “All Format” and browse to “My Computer –> C:\ –> C:\Windows\” and start via right click on your mouse the advanced menu context and select “Open”.

image

Here we go :

image

Explorer from Windows 7 and Windows XP side-by-side :

image

As the explorer from windows XP is running “isolated” within the WindowsXP virtual machine you cannot use drag&drop or the lovely copy&paste functionality !

Possibly there is a “registry tree” of what applications will be published and this can also be modified but I haven’t investigated yet.

Outlook 2007 and 2010 side-by-side ?

June 29, 2009

Is it possible to run more than 1 outlook instance in the same time ? Exchange Administrators should now what I mean here, normally this isn’t possible due to the MAPI issue. BUT if you are using Windows 7 (or any other application virtualization technology like MED-V from Microsoft) you can easily run that in the new WindowsXP Mode. I had installed within the WindowsXP virtual machine Outlook 2007 and are running the CTP version of Outlook 2010 on my main Windows 7 (RC1) system. When you had enabled – which is the current default setting – the “Auto Publish” mode in the virtual machine setting all application which you install additionally to the OS will be published trough your start menu.

Auto Publish – Setting

 image

Start Menu with published Application’s

image

Outlook 2007/2010 – side-by-side

image

RSAT – Remote Administration Tools for Windows 7 RC

May 21, 2009

If you are already testing the Windows 7 / 2008 R2 release candidate you can get the remote administration tools for managing Windows Server 2008 R2 (core R2) roles and features you can download the RSAT tools here :

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=f6c62797-791c-48e3-b754-c7c0a09f32f3