<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Andreas Rynes&amp;#39; Blog about Private Cloud and Datacenter Management</title><subtitle type="html" /><id>http://blogs.technet.com/b/arynes/atom.aspx</id><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/arynes/" /><link rel="self" type="application/atom+xml" href="http://blogs.technet.com/b/arynes/atom.aspx" /><generator uri="http://telligent.com" version="5.6.50428.7875">Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><updated>2011-11-15T14:28:00Z</updated><entry><title>Transforming IT with Microsoft Private Cloud</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/arynes/archive/2012/01/25/transforming-it-with-microsoft-private-cloud.aspx" /><id>http://blogs.technet.com/b/arynes/archive/2012/01/25/transforming-it-with-microsoft-private-cloud.aspx</id><published>2012-01-25T15:12:52Z</published><updated>2012-01-25T15:12:52Z</updated><content type="html">&lt;p&gt;Hi everyone,&lt;/p&gt;
&lt;p&gt;just in case you missed the online event last week about &amp;ldquo;&lt;b&gt;Transforming IT with Microsoft Private Cloud&lt;/b&gt;&amp;rdquo; with Satya Nadella and Brad Anderson, here is the link for watching it on demand:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="http://aka.ms/transform"&gt;http://aka.ms/transform&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Hear&lt;/strong&gt; from other senior IT professionals about how cloud computing can help&lt;br /&gt;you gain maximum competitive advantage with minimal risk.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Learn&lt;/strong&gt;&lt;br /&gt;about Microsoft cloud offerings, including private, public, and hybrid cloud&lt;br /&gt;models.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Experience&lt;/strong&gt;&lt;br /&gt;Microsoft private cloud solutions through the Microsoft Technology Center.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Andy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3477181" width="1" height="1"&gt;</content><author><name>Andreas Rynes [MSFT]</name><uri>http://blogs.technet.com/andreasrynes_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author><category term="System Center" scheme="http://blogs.technet.com/b/arynes/archive/tags/System+Center/" /><category term="Private Cloud" scheme="http://blogs.technet.com/b/arynes/archive/tags/Private+Cloud/" /><category term="Cloud Computing" scheme="http://blogs.technet.com/b/arynes/archive/tags/Cloud+Computing/" /></entry><entry><title>IDC study about Cloud Computing (in Germany)</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/arynes/archive/2011/12/20/idc-study-about-cloud-computing-in-germany.aspx" /><id>http://blogs.technet.com/b/arynes/archive/2011/12/20/idc-study-about-cloud-computing-in-germany.aspx</id><published>2011-12-20T09:08:45Z</published><updated>2011-12-20T09:08:45Z</updated><content type="html">&lt;p&gt;A IDC study "Cloud Computing in Deutschland 2011" from mid 2011 shows that 70% of the companies in Germany are working or planning a cloud strategy (29% are looking for a cloud strategy in all aspects and areas, whereas 41% are more conservative and plan only moving specific parts of their IT into&amp;nbsp;the&amp;nbsp;cloud).&lt;/p&gt;
&lt;p&gt;The study also showed that companies tend to go into a Private Cloud than to Public Cloud model, so overall it might be very likely that a lot of hybrid models will be established.&lt;/p&gt;
&lt;p&gt;So what are the main reasons for Private Clouds:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;More efficient use of their IT infrastructure with cloud services (35%)&lt;/li&gt;
&lt;li&gt;Reduce costs (35%)&lt;/li&gt;
&lt;li&gt;Rapid implementation of new solutions/services (30%)&lt;/li&gt;
&lt;li&gt;Higher standardizations (29%)&lt;/li&gt;
&lt;li&gt;Use of newest technolgies with cloud services (28%)&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Improvement of IT security (23%)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Another very interesting question is why companies might not implement Private Cloud scenarios:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Missing skills within the company (32%)&lt;/li&gt;
&lt;li&gt;Company not cloud-ready yet (27%)&lt;/li&gt;
&lt;li&gt;Lacking IT security of the datacenter (26%)&lt;/li&gt;
&lt;li&gt;Lacking of customizations of the solution (25%)&lt;/li&gt;
&lt;li&gt;Concerns about availability/performance (24%)&lt;/li&gt;
&lt;li&gt;Missing visibility of processes and applications (24%)&lt;/li&gt;
&lt;li&gt;Lacking maturity of cloud offerings (23%)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can find more information on that study of IDC on &lt;a href="http://www.idc.de/press/presse_mc_cloud2011.jsp"&gt;http://www.idc.de/press/presse_mc_cloud2011.jsp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="text-decoration: underline;"&gt;Source&lt;/span&gt;&lt;/em&gt;: IDC, Transformation der Unternehmens-IT auf dem Weg in die Cloud in &lt;br /&gt;Deutschland, 2011&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3472143" width="1" height="1"&gt;</content><author><name>Andreas Rynes [MSFT]</name><uri>http://blogs.technet.com/andreasrynes_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author><category term="Private Cloud" scheme="http://blogs.technet.com/b/arynes/archive/tags/Private+Cloud/" /><category term="IDC" scheme="http://blogs.technet.com/b/arynes/archive/tags/IDC/" /><category term="Cloud Computing" scheme="http://blogs.technet.com/b/arynes/archive/tags/Cloud+Computing/" /></entry><entry><title>Customizing Service Manager using PowerShell (SMLets)</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/arynes/archive/2011/12/09/customizing-service-manager-using-powershell-smlets.aspx" /><id>http://blogs.technet.com/b/arynes/archive/2011/12/09/customizing-service-manager-using-powershell-smlets.aspx</id><published>2011-12-09T09:14:47Z</published><updated>2011-12-09T09:14:47Z</updated><content type="html">&lt;p&gt;This is another article that I've wrote for the Service Manager Product team showing how to work with the Service Manager Powershell cmdlet to create a customization within Service Manager 2010.&lt;/p&gt;
&lt;p&gt;The initial problem is how to surface up the contained activity details to the change request level.&amp;nbsp; This makes it easier to format/send notifications and such things. I've wrote a blog post about this solution which uses the &lt;a href="http://smlets.codeplex.com/" target="_blank"&gt;SMLets&lt;/a&gt; PowerShell module (a CodePlex solution) to get the activity and update the parent change request description.&lt;/p&gt;
&lt;p&gt;The overall solution is using custom activity class, custom workflow, using the Service Manager Authoring Tool and the Powershell Cmdlet SMLets from Codeplex.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-60/6646.changerequestsolutionSM2010.png"&gt;&lt;img border="0" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-60/6646.changerequestsolutionSM2010.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Link: &lt;a href="http://blogs.technet.com/b/servicemanager/archive/2011/03/15/updating-a-change-request-when-activities-are-updated-using-powershell-in-a-workflow.aspx"&gt;http://blogs.technet.com/b/servicemanager/archive/2011/03/15/updating-a-change-request-when-activities-are-updated-using-powershell-in-a-workflow.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3469948" width="1" height="1"&gt;</content><author><name>Andreas Rynes [MSFT]</name><uri>http://blogs.technet.com/andreasrynes_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author><category term="Customization" scheme="http://blogs.technet.com/b/arynes/archive/tags/Customization/" /><category term="Service Manager" scheme="http://blogs.technet.com/b/arynes/archive/tags/Service+Manager/" /><category term="Service Manager Authoring Tool" scheme="http://blogs.technet.com/b/arynes/archive/tags/Service+Manager+Authoring+Tool/" /><category term="Powershell" scheme="http://blogs.technet.com/b/arynes/archive/tags/Powershell/" /></entry><entry><title>Creating a virtual network for Hyper-V using Powershell</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/arynes/archive/2011/11/29/creating-a-virtual-network-for-hyper-v-using-powershell.aspx" /><id>http://blogs.technet.com/b/arynes/archive/2011/11/29/creating-a-virtual-network-for-hyper-v-using-powershell.aspx</id><published>2011-11-29T09:12:00Z</published><updated>2011-11-29T09:12:00Z</updated><content type="html">&lt;p&gt;Last week I had the following problem: I need to create a private network to create a guest cluster on a couple of Hyper-V hosts which are all part of a Failover Cluster. For that I had to create that private network on all hosts. I was using the Hyper-V Manager console to connect to the Hyper-V hosts remotely. That worked fine for 4 out of 5 hosts. Unfortunately I had an issue connecting to the 5th host to create the virtual network there as well.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-60/4555.hypervMgmtRemote.JPG"&gt;&lt;img border="0" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-60/4555.hypervMgmtRemote.JPG" width="164" height="185" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There are a couple of reasons for that behaviour: missing port rules in the firewalls, windows remote management not configured, dns issues. Well I've worked on that for a while, but couldn't find the root cause, so I decided to go another way and instead of using the Hyper-V Manager console, I wrote a powershell script that will create the network using WMI.&lt;/p&gt;
&lt;p&gt;So I found the class Msvm_VirtualSwitchManagementService (&lt;a href="http://msdn.microsoft.com/en-us/library/cc136938(v=vs.85).aspx"&gt;http://msdn.microsoft.com/en-us/library/cc136938(v=vs.85).aspx&lt;/a&gt; that takes care of that and the method of create a network is called &lt;a href="http://msdn.microsoft.com/en-us/library/cc136783(v=vs.85).aspx"&gt;&lt;strong xmlns="http://www.w3.org/1999/xhtml"&gt;CreateSwitch&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This is the final powershell script for creating a private network on a specific Hyper-V host:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;em&gt;# generate a GUID (this needs to be a unique ID for the switch&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;em&gt;$guid =&amp;nbsp; [guid]::NewGuid().ToString()&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;em&gt;# set a friendly name for the switch&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;em&gt;$switchname = "myPrivateNetwork"&lt;/em&gt;&lt;/strong&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;em&gt;# set the hyper-v host where to create the network on&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;em&gt;$hyperVhost = "DCSA04"&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;em&gt;# create an instance of the class Msvm_VirtualSwitchManagementService&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;em&gt;$vsms = get-wmiobject Msvm_VirtualSwitchManagementService -namespace "root\virtualization" -computername $hyperVhost &lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;em&gt;# create the switch&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;em&gt;$result = $vsms.CreateSwitch($guid, $switchname, "1024", "")&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The number 1024 means the maximum number of MAC addresses that the switch can learn.&lt;/p&gt;
&lt;p&gt;You can further improve the script to use Read-Host to get data into the script by the enduser in front of the powershell console and of course you can add some error handling routine to it as well.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3467817" width="1" height="1"&gt;</content><author><name>Andreas Rynes [MSFT]</name><uri>http://blogs.technet.com/andreasrynes_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author><category term="Hyper-V" scheme="http://blogs.technet.com/b/arynes/archive/tags/Hyper_2D00_V/" /><category term="FailoverCluster" scheme="http://blogs.technet.com/b/arynes/archive/tags/FailoverCluster/" /><category term="Networking" scheme="http://blogs.technet.com/b/arynes/archive/tags/Networking/" /></entry><entry><title>Microsoft Management Summit 2012 @ Las Vegas (MMS 2012)</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/arynes/archive/2011/11/21/microsoft-management-summit-2012-las-vegas-mms-2012.aspx" /><id>http://blogs.technet.com/b/arynes/archive/2011/11/21/microsoft-management-summit-2012-las-vegas-mms-2012.aspx</id><published>2011-11-21T18:54:00Z</published><updated>2011-11-21T18:54:00Z</updated><content type="html">&lt;p&gt;Probably the most important conference for Datacenter Management and Private Cloud topics, the &lt;span style="text-decoration: underline;"&gt;&lt;strong&gt;Microsoft Management Summit (MMS) 2012&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;will take place in Las Vegas, April 16-20 @ Venetian Hotel.&lt;/p&gt;
&lt;p&gt;Registration is already opened, and I'm looking forward to see you there!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.mms-2012.com/"&gt;http://www.mms-2012.com/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3466485" width="1" height="1"&gt;</content><author><name>Andreas Rynes [MSFT]</name><uri>http://blogs.technet.com/andreasrynes_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author><category term="System Center" scheme="http://blogs.technet.com/b/arynes/archive/tags/System+Center/" /><category term="Private Cloud" scheme="http://blogs.technet.com/b/arynes/archive/tags/Private+Cloud/" /><category term="MMS" scheme="http://blogs.technet.com/b/arynes/archive/tags/MMS/" /></entry><entry><title>Simple start of using Powershell - AD Manipulation using spreadsheets and Active Directory module</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/arynes/archive/2011/11/16/simple-start-of-using-powershell-ad-manipulation-using-spreadsheets-and-active-directory-module.aspx" /><id>http://blogs.technet.com/b/arynes/archive/2011/11/16/simple-start-of-using-powershell-ad-manipulation-using-spreadsheets-and-active-directory-module.aspx</id><published>2011-11-16T11:08:00Z</published><updated>2011-11-16T11:08:00Z</updated><content type="html">&lt;p&gt;For all of you who need some powershell skills this post is about getting started with Powershell with a simple sample on how to import users from a Excel spreadsheet to Active Directory to a specific OU.&lt;/p&gt;
&lt;p&gt;First you need to start a powershell session and you need to load all required modules. There is a module for Active Directory that you need to load using the command &lt;em&gt;&lt;strong&gt;import-module. &lt;/strong&gt;&lt;/em&gt;This command loads the specified module in your active powershell session.&lt;/p&gt;
&lt;p&gt;Modules are packets of different elements including cmdlets, scripts, functions, variables and other tools and files. After importing a module you're able to use them within your session. In this sample here for example you're able to use New-ADUser which is part of the Active Directory module.&lt;/p&gt;
&lt;p&gt;The final command looks like this:&lt;b&gt; &lt;i&gt;Import-Module ActiveDirectory&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;So after that you need to load the CSV file (comma separeted file). The file itself looks like this (the first row keeps the columns name, which is important as this is will be the source of variable names within the script)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;i&gt;LastName,FirstName,Email,Standard Title,Group&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;i&gt;Huber,Andreas,ahuber,Consultant,Group1&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;i&gt;Mueller,Wolfgang,wmueller,Senior Consultant,Group2&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;i&gt;Bauer,Michael ,mbauer,Consultant,Group2&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To load the file enter this command:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;i&gt;Import-CSV filename.csv&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;After that you can use a general functionality called piping to push the result of the last command to the next command as an input. For that we are using the | and add the next command to it. So we are now going to iterate over all the rows in the file and for each row we are going to create a new AD user account.&lt;/p&gt;
&lt;p&gt;The following construct will explain it a little better:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;i&gt;import-csv Userliste2.csv | foreach {}&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Within the brakets you're able to create more commands that will be executed for each row within the file. The creation of AD accounts will be done by New-ADUser from the Active Directory module, which we loaded before.&lt;/p&gt;
&lt;p&gt;Sample:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;i&gt;New-ADUser -Surname &amp;ldquo;Rynes&amp;rdquo; -Name &amp;ldquo;Andreas Rynes&amp;rdquo; -SamAccountName &amp;ldquo;arynes&amp;rdquo; -GivenName &amp;ldquo;Andreas&amp;rdquo; -DisplayName &amp;ldquo;Andreas Rynes&amp;rdquo; -UserPrincipalName &amp;ldquo;arynes@microsoft.com&amp;rdquo; -AccountPassword (ConvertTo-SecureString -AsPlainText "pass@word1" -Force) -Enabled $true -Path "CN=Users,DC=dcsat,DC=global" -PasswordNeverExpires $false -ChangePasswordAtLogon $true &lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Now with that sample we see all the hardcoded values to create a new AD account. The command exists of a couple of parameters, which follows a general syntax within Powershell:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;i&gt;-[name of parameter] value&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;The name is part of the command within the module, the value itself needs to be defined during the execution. In case you need help for a specific account you're always able to use the &lt;strong&gt;&lt;em&gt;Get-Help&lt;/em&gt;&lt;/strong&gt; method to get detailed information about the command and its parameters.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;i&gt;Get-Help New-ADUser&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;This will list all options that are available for &lt;strong&gt;&lt;em&gt;New-ADUser&lt;/em&gt;&lt;/strong&gt;.&amp;nbsp;There are a couple of other ways to get even more help, for example using &lt;b&gt;&lt;i&gt;Get-Help New-ADUser &amp;ndash;examples&lt;/i&gt;&lt;/b&gt; will give you examples on how to use the command.&lt;/p&gt;
&lt;p&gt;Das gesamte Skript f&amp;uuml;r unsere Aufgabe sieht letztendlich dann wie folgt aus und muss f&amp;uuml;r den Eigenbedarf nat&amp;uuml;rlich angepasst werden, z.B. Spaltennamen innerhalb des CSV Files und die OU in dem die User angelegt werden (im Parameter &lt;b&gt;&lt;i&gt;Path)&lt;/i&gt;&lt;/b&gt;:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;i&gt;import-module ActiveDirectory&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;i&gt;import-csv Userliste.csv | foreach {&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;i&gt;$Name = $_.Vorname + " " + $_.Nachname&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;i&gt;$princ = $_.email + "@microsoft.com"&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;i&gt;New-ADUser -Surname $_.Nachname -Name $Name -SamAccountName $_.email.ToLower() -GivenName $_.Vorname -DisplayName $Name -UserPrincipalName $princ -AccountPassword (ConvertTo-SecureString -AsPlainText "pass@word1" -Force) -Enabled $true -Path "CN=Users,DC=microsoft,DC=com" -PasswordNeverExpires $false -ChangePasswordAtLogon $true &lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;i&gt;}&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Wie man au&amp;szlig;erdem im gesamten Skript sieht werden auch noch 2 Variablen definiert, die Vorname und Nachname mit einem Blank zur Variablen $Name vereinen. Des Weiteren wird auch noch der &lt;b&gt;&lt;i&gt;UserPrincipalName&lt;/i&gt;&lt;/b&gt; aus der Spalte &amp;bdquo;email&amp;ldquo; und dem fixen Wert &amp;bdquo;@microsoft.com&amp;ldquo; zusammengebaut. Diese beiden Variablen werden dann im &lt;b&gt;&lt;i&gt;New-ADUser&lt;/i&gt;&lt;/b&gt; verwendet um 2 Parameter zu bef&amp;uuml;llen.&lt;/p&gt;
&lt;p&gt;Das Skript kann auch in ein Textfile mit der Endung &lt;b&gt;&lt;i&gt;ps1&lt;/i&gt;&lt;/b&gt; gespeichert werden und als solches innerhalb der Powershell ausgef&amp;uuml;hrt werden.&lt;/p&gt;
&lt;p&gt;Eine Einf&amp;uuml;hrung zu Powershell und ein paar weiterf&amp;uuml;hrende Informationen finden sich hier:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://technet.microsoft.com/de-de/scriptcenter/dd742419"&gt;&lt;b&gt;&lt;i&gt;http://technet.microsoft.com/de-de/scriptcenter/dd742419&lt;/i&gt;&lt;/b&gt;&lt;/a&gt;&lt;b&gt;&lt;i&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://technet.microsoft.com/de-de/library/dd347730.aspx"&gt;&lt;b&gt;&lt;i&gt;http://technet.microsoft.com/de-de/library/dd347730.aspx&lt;/i&gt;&lt;/b&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3465452" width="1" height="1"&gt;</content><author><name>Andreas Rynes [MSFT]</name><uri>http://blogs.technet.com/andreasrynes_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author><category term="Powershell" scheme="http://blogs.technet.com/b/arynes/archive/tags/Powershell/" /><category term="Active Directory" scheme="http://blogs.technet.com/b/arynes/archive/tags/Active+Directory/" /><category term="Scripting" scheme="http://blogs.technet.com/b/arynes/archive/tags/Scripting/" /></entry><entry><title>Service Manager Customizations using SDK and eMails/Workflows</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/arynes/archive/2011/11/15/service-manager-customizations-using-sdk-and-emails-workflows.aspx" /><id>http://blogs.technet.com/b/arynes/archive/2011/11/15/service-manager-customizations-using-sdk-and-emails-workflows.aspx</id><published>2011-11-15T16:12:00Z</published><updated>2011-11-15T16:12:00Z</updated><content type="html">&lt;p&gt;In this article I'll describe how to customize your Service Manager installation to enable users to take action from&amp;nbsp;an eMail using a&amp;nbsp;web application and web services through the SDK of Service Manager 2010.&lt;/p&gt;
&lt;p&gt;In this scenario I'll show a way to enable an end user to receive an email notification when his incident is resolved and then to click a link to either reactivate or close the incident.&amp;nbsp; The link passes the work item ID on the query string and the web page the user is directed to by clicking on the link either updates the incident status to closed or active depending on the link the user clicked.&lt;/p&gt;
&lt;p&gt;This article was published on the System Center Product Team blog (find link at the end)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-60/5355.eMailSolutionSM2010.png"&gt;&lt;img border="0" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-60/5355.eMailSolutionSM2010.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can go ahead an download the solution from either his blog post or go ahead and see the entire blog post with a very detailed description how I've created the solution at the Service Manager Product blog.&lt;/p&gt;
&lt;p&gt;Link to the entire article: &lt;a href="http://blogs.technet.com/b/servicemanager/archive/2011/01/25/enabling-users-to-take-action-from-email-using-web-pages-web-services.aspx"&gt;http://blogs.technet.com/b/servicemanager/archive/2011/01/25/enabling-users-to-take-action-from-email-using-web-pages-web-services.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3465293" width="1" height="1"&gt;</content><author><name>Andreas Rynes [MSFT]</name><uri>http://blogs.technet.com/andreasrynes_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author><category term="System Center" scheme="http://blogs.technet.com/b/arynes/archive/tags/System+Center/" /><category term="SDK" scheme="http://blogs.technet.com/b/arynes/archive/tags/SDK/" /><category term="Customization" scheme="http://blogs.technet.com/b/arynes/archive/tags/Customization/" /><category term="Service Manager" scheme="http://blogs.technet.com/b/arynes/archive/tags/Service+Manager/" /></entry><entry><title>How to create an IT Lab for Virtual Machines with Virtual Machine Manager 2008</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/arynes/archive/2011/11/15/how-to-create-an-it-lab-for-virtual-machines-with-virtual-machine-manager-2008.aspx" /><id>http://blogs.technet.com/b/arynes/archive/2011/11/15/how-to-create-an-it-lab-for-virtual-machines-with-virtual-machine-manager-2008.aspx</id><published>2011-11-15T16:04:00Z</published><updated>2011-11-15T16:04:00Z</updated><content type="html">&lt;p&gt;I recently wrote an Technet Magazine article&amp;nbsp;(published in September 2011 issue)&amp;nbsp;about how to create an IT Lab for Virtual Machines based on Virtual Machine Manager 2008 R2 and Self-Service Portal 2.0 together with my colleage Thomas Vater.&amp;nbsp;This is another idea how to run a simple private cloud scenario&amp;nbsp;within your IT.&lt;/p&gt;
&lt;p&gt;This scenario is not related to the high-end solution "Datacenter Services Solution v1.1", but it's an low-cost and easy way to get a lot of the Cloud Computing definitions that the National Institute of Standards and Technology (NIST) described&amp;nbsp;at &lt;a href="http://www.nist.gov/itl/cloud/upload/cloud-def-v15.pdf"&gt;http://www.nist.gov/itl/cloud/upload/cloud-def-v15.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-60/0410.hh395484_5F00_0911_5F00_TestLab_5F00_Fig1_2800_en_2D00_us_2C00_MSDN_5F00_10_2900_.jpg"&gt;&lt;img border="0" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-60/0410.hh395484_5F00_0911_5F00_TestLab_5F00_Fig1_2800_en_2D00_us_2C00_MSDN_5F00_10_2900_.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Link: &lt;a href="http://technet.microsoft.com/en-us/magazine/hh395484.aspx"&gt;http://technet.microsoft.com/en-us/magazine/hh395484.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In one of my next article I'm planned to write about the Virtual Machine Manager Self-Service Portal 2.0 SP1 and show how to add automation using Opalis Integration.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3465290" width="1" height="1"&gt;</content><author><name>Andreas Rynes [MSFT]</name><uri>http://blogs.technet.com/andreasrynes_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author><category term="System Center" scheme="http://blogs.technet.com/b/arynes/archive/tags/System+Center/" /><category term="Virtual Machine Manager" scheme="http://blogs.technet.com/b/arynes/archive/tags/Virtual+Machine+Manager/" /><category term="Portal" scheme="http://blogs.technet.com/b/arynes/archive/tags/Portal/" /><category term="Self-Service" scheme="http://blogs.technet.com/b/arynes/archive/tags/Self_2D00_Service/" /></entry><entry><title>Datacenter Services Solution v1.1 - Training</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/arynes/archive/2011/11/15/datacenter-services-solution-v1-1-training.aspx" /><id>http://blogs.technet.com/b/arynes/archive/2011/11/15/datacenter-services-solution-v1-1-training.aspx</id><published>2011-11-15T14:28:00Z</published><updated>2011-11-15T14:28:00Z</updated><content type="html">&lt;p&gt;I'm in the middle of delivering a 5-day training, together with Thomas Ellermann from Denmark, for our colleagues and partners in France about a turnkey private cloud solution from Microsoft.&lt;/p&gt;
&lt;p&gt;If you'd like to have a short intro to what is called &lt;strong&gt;'Datacenter Services Solution v1.1'&lt;/strong&gt;, you can watch a webcast I did 2 weeks ago for the community in Austria.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-60/5314.DCS.JPG"&gt;&lt;img border="0" alt="" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-60/5314.DCS.JPG" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately it's in german only, but I'll post another demo video in english in the next 1-2 weeks. So stay tuned!&lt;/p&gt;
&lt;p&gt;Demo starts at 6.30min&amp;nbsp;&lt;a href="http://katapult.tv/Watch.aspx?webcast=bbeee341-b469-4a4d-b0e4-2a5c0e06f75c"&gt;http://katapult.tv/Watch.aspx?webcast=bbeee341-b469-4a4d-b0e4-2a5c0e06f75c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3465273" width="1" height="1"&gt;</content><author><name>Andreas Rynes [MSFT]</name><uri>http://blogs.technet.com/andreasrynes_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author><category term="Training" scheme="http://blogs.technet.com/b/arynes/archive/tags/Training/" /><category term="Hyper-V" scheme="http://blogs.technet.com/b/arynes/archive/tags/Hyper_2D00_V/" /><category term="System Center" scheme="http://blogs.technet.com/b/arynes/archive/tags/System+Center/" /><category term="DCS" scheme="http://blogs.technet.com/b/arynes/archive/tags/DCS/" /></entry></feed>