<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Petri IT Knowledgebase</title>
	
	<link>http://www.petri.co.il</link>
	<description>Petri IT Knowledgebase is one of the most comprehensive IT related web sites. With hundreds of MS Windows Client and Server related tips, tricks and how-to articles, Petri.co.il has become one of the world's leading MCSE and IT related knowledge bases.</description>
	<lastBuildDate>Fri, 25 May 2012 19:59:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<image>
	<title>Petri</title>
	<url>http://www.petri.co.il/media/logo.gif</url>
	<link>http://www.petri.co.il/</link>
	<width>151</width>
	<height>74</height>
	</image>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Petri" /><feedburner:info uri="petri" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>Petri</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>vSphere Advanced Networking – Creating a New vDS</title>
		<link>http://feedproxy.google.com/~r/Petri/~3/9ZroF9Ddvxo/vsphere-vds-setup.htm</link>
		<comments>http://www.petri.co.il/vsphere-vds-setup.htm#comments</comments>
		<pubDate>Fri, 25 May 2012 19:58:38 +0000</pubDate>
		<dc:creator>Petri IT Knowledgebase Team</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.petri.co.il/?p=27429</guid>
		<description><![CDATA[In this video post, VCDX &#38; vExpert Jason Nash provides a walkthrough of the configurations you’ll need when creating a new vDS  - vNetwork Distributed Switch, including settings for the main switch, uplinks, and port groups.]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>The vNetwork Distributed Switch (vDS) streamlines the process of setting up virtual machine networking by providing you with a centralized point of control for provisioning, administration and monitoring through vSphere's vCenter. In today's video and how-to article, vExpert Jason Nash walks you through the configurations required to setup a new vDS in your vSphere environment.  </p>
<p><center><em>(Instructional video below provides a walkthrough of the steps contained in this article.)</em><br />
<iframe width="420" height="236" src="http://www.youtube.com/embed/CWJz7PdE50Y" frameborder="0" allowfullscreen></iframe></center></p>
<p>Let's start by briefly reviewing the relevant information associated with the main switch and the uplinks group. First up is the main switch.</p>
<div id="adkit_content-block" class="adkit content-block"  rel="nofollow"><a href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0" rel="nofollow" style="font-size:12px;border:none"><strong style="display: block; clear: both;">Hyper-V™ vs. vSphere™</strong></a><a href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0" rel="nofollow"><img src="/media/3037.gif"  alt=" " style="float: left; padding: 5px;font-size: 1em;"/></a> <p><b>Problem:</b>  Microsoft’s planned enhancements for Hyper-V version 3 have more and more customers planning for a dual hypervisor environment.  Unfortunately, multiple management consoles are hard to use, clunky, and don’t provide the flexibility needed in measuring & managing virtual infrastructures. <br />
<br />
<b>Solution:</b>  SolarWinds Virtualization Manager now allows you to see both VMware and Hyper-V environments in a single pane of glass.  </p><a  href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" class="link-title" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="Hyper-V™ vs. vSphere™" style="clear: both;" rel="nofollow">FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0</a></div>
<h3>vCenter vDS - Summary Tab</h3>
<p>The Summary tab is where you’ll find information telling you the number of hosts, number of VMs, number of networks, total ports, available ports, and so on. As you start rolling out hosts and VMs, those numbers will go up.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/01-main-switch-summary.png"><img class="alignnone size-full wp-image-27432" title="vDS main switch summary" src="http://www.petri.co.il/wp-content/uploads/01-main-switch-summary.png" alt="vDS main switch summary" width="580" /></a></p>
<div id="adkit_freestyle" class="adkit freestyle"><a  href="/uri/?id=1054&amp;host=msevents.microsoft.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '1054', 'Click']);" title="" rel="nofollow"><span><div style="min-height:46px;"><p style=" padding:10px 10px 10px 10px; background-color:#ffffed; font-weight:bold">See Also >> What are the capabilities of Exchange Online?</p></div></span></a></div>
<h3>vCenter vDS - Networks Tab</h3>
<p>The Networks tab contains all your networks, which equate to port groups. Other information includes port binding, VLAN ID, number of VMs, number of ports used, and whether alarms are enabled.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/02-main-switch-networks-tab.png"><img class="alignnone size-full wp-image-27433" title="vDS main switch networks tab" src="http://www.petri.co.il/wp-content/uploads/02-main-switch-networks-tab.png" alt="vDS main switch networks tab" width="580" /></a></p>
<h3>vCenter vDS - Ports Tab</h3>
<p>This tab contains vital information related to Port Mirroring and Netflow. When you plug a VM into a vSwitch or a VMs NIC into a vSwitch (as a VM may have multiple NICs), it gets assigned a port. That is, a port ID on the distributed switch.</p>
<p>So, for example, MediaXP is assigned Port 11, while Media SAB is assigned Port 10. Domain Controller (DC) is Port 1 and ViewCon is Port 0.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/03-main-switch-ports-tab.png"><img class="alignnone size-full wp-image-27434" title="vDS main switch ports tab" src="http://www.petri.co.il/wp-content/uploads/03-main-switch-ports-tab.png" alt="vDS main switch ports tab" width="580" /></a></p>
<p>One scenario wherein these port IDs are going to come in handy is when you’re doing some troubleshooting concerning Port Mirroring and Netflow. That’s because those two reference these port IDs.</p>
<p>So, for instance, you notice that Port 11 is sending a whole lot of traffic. You can go in here and see what Port 11 is. Then you can check what its corresponding VM is, what its MAC is, and what its DirectPath I/O is.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/04-ports-tab-connectee.png"><img class="alignnone size-full wp-image-27435" title="vDS ports tab connectee" src="http://www.petri.co.il/wp-content/uploads/04-ports-tab-connectee.png" alt="vDS ports tab connectee" width="580" /></a></p>
<p>You can also see whether the link is up and which VLAN it corresponds to.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/05-ports-tab-link-up.png"><img class="alignnone size-full wp-image-27436" title="vDS ports tab link up" src="http://www.petri.co.il/wp-content/uploads/05-ports-tab-link-up.png" alt="vDS ports tab link up" width="580" /></a></p>
<h3>vCenter vDS - Resource Allocation Tab</h3>
<p>This is where you configure Network I/O Control and other related stuff.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/06-main-switch-resource-allocation.png"><img class="alignnone size-full wp-image-27437" title="vDS main switch resource allocation" src="http://www.petri.co.il/wp-content/uploads/06-main-switch-resource-allocation.png" alt="vDS main switch resource allocation" width="580" /></a></p>
<h3>vCenter vDS - Configuration Tab</h3>
<p>The Configuration tab features a GUI showing your current configuration. On the left are your port groups and any VMs you’ve got plugged into them.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/07-main-switch-configurations-tab-port-groups.png"><img class="alignnone size-full wp-image-27438" title="vDS main switch configurations tab port groups" src="http://www.petri.co.il/wp-content/uploads/07-main-switch-configurations-tab-port-groups.png" alt="vDS main switch configurations tab port groups" width="580" /></a></p>
<p>Then on the right are your physical uplinks, which vmnic is plugged in, and which servers they are.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/08-main-switch-configurations-tab-physical-nics.png"><img class="alignnone size-full wp-image-27439" title="vDS main switch configurations tab physical nics" src="http://www.petri.co.il/wp-content/uploads/08-main-switch-configurations-tab-physical-nics.png" alt="vDS main switch configurations tab physical nics" width="580" /></a></p>
<p>Now, if you click on a port group (e.g. FT), it will show you which physical uplinks are being used.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/09-main-switch-configurations-tab-physical-nics-being-used.png"><img class="alignnone size-full wp-image-27447" title="main switch configurations tab physical nics being used" src="http://www.petri.co.il/wp-content/uploads/09-main-switch-configurations-tab-physical-nics-being-used.png" alt="main switch configurations tab physical nics being used" width="580" /></a></p>
<p>Also, if you click on an “i” icon (enclosed by a blue circle) on the right side, you’ll be able to pull up say CDP for Cisco or LLDP for non-Cisco.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/10-cisco-discovery-protocol.png"><img class="alignnone size-full wp-image-27448" title="cisco discovery protocol" src="http://www.petri.co.il/wp-content/uploads/10-cisco-discovery-protocol.png" alt="cisco discovery protocol" width="580" /></a></p>
<p>On the other hand, if you click on a similar “i” icon on the left side, you’ll get basic information about the port group in question.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/11-port-group-information.png"><img class="alignnone size-full wp-image-27449" title="port group information" src="http://www.petri.co.il/wp-content/uploads/11-port-group-information.png" alt="port group information" width="580" /></a></p>
<h3>vCenter vDS - Virtual Machines Tab</h3>
<p>This tab will just show you all the VMs that are using your distributed switch.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/12-main-switch-virtual-machines-tab.png"><img class="alignnone size-full wp-image-27450" title="main switch virtual machines tab" src="http://www.petri.co.il/wp-content/uploads/12-main-switch-virtual-machines-tab.png" alt="main switch virtual machines tab" width="580" /></a></p>
<h3>vCenter vDS - Hosts Tab</h3>
<p>Similarly, this will show you all the hosts using your distributed switch.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/13-main-switch-hosts-tab.png"><img class="alignnone size-full wp-image-27451" title="main switch hosts tab" src="http://www.petri.co.il/wp-content/uploads/13-main-switch-hosts-tab.png" alt="main switch hosts tab" width="580" /></a></p>
<p>The rest of the tabs include Tasks &amp; Events, Alarms, and Permissions.</p>
<p>Now let’s look at the main options for the main switch. We right-click on the main switch and select <strong>Edit Settings</strong> from the context menu.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/14-edit-settings-of-main-switch.png"><img class="alignnone size-full wp-image-27452" title="edit settings of main switch" src="http://www.petri.co.il/wp-content/uploads/14-edit-settings-of-main-switch.png" alt="edit settings of main switch" width="580" /></a></p>
<h3>vDS Settings - Properties Tab</h3>
<p>In the <strong>General</strong> section of the <strong>Properties</strong> tab, you can set the <strong>number of uplink ports</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/15-number-of-uplink-ports.png"><img class="alignnone size-full wp-image-27453" title="number of uplink ports" src="http://www.petri.co.il/wp-content/uploads/15-number-of-uplink-ports.png" alt="number of uplink ports" width="556" height="434" /></a></p>
<p>You can also edit the uplink names by clicking on the <strong>Edit uplink names</strong> button and then changing the uplink names you find in the window that pops up. Notice that there are 4 boxes in our screenshot. That’s because we have 4 uplink ports. The number of boxes will always be equal to the number of uplink ports.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/16-edit-uplink-names.png"><img class="alignnone size-full wp-image-27454" title="edit uplink names" src="http://www.petri.co.il/wp-content/uploads/16-edit-uplink-names.png" alt="edit uplink names" width="554" height="434" /></a></p>
<p>In the <strong>Advanced</strong> section, one thing you can set there is the Maximum MTU. If you want to do Jumbo Frames (9000-byte frames), you can set it right here.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/17-maximum-mtu.png"><img class="alignnone size-full wp-image-27455" title="maximum mtu" src="http://www.petri.co.il/wp-content/uploads/17-maximum-mtu.png" alt="maximum mtu" width="558" height="435" /></a></p>
<p>You can also enable the <strong>Discovery Protocol</strong> and then set the type to either CDP (<strong>Cisco Discovery Protocol</strong>) or LLDP (<strong>Link Layer Discovery Protocol</strong>). In addition to that, you can set its Operation to <strong>Listen</strong>, <strong>Advertise</strong>, or <strong>Both</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/18-discovery-protocol.png"><img class="alignnone size-full wp-image-27456" title="discovery protocol" src="http://www.petri.co.il/wp-content/uploads/18-discovery-protocol.png" alt="discovery protocol" width="556" height="433" /></a></p>
<p>Finally, you can enter some <strong>Administrator contact information</strong>, such as the Name and other details like email address, phone number, etc. This can show up in CDP or other similar protocols.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/19-administrator-contact-information.png"><img class="alignnone size-full wp-image-27457" title="administrator contact information" src="http://www.petri.co.il/wp-content/uploads/19-administrator-contact-information.png" alt="administrator contact information" width="558" height="436" /></a></p>
<h3>vDS Settings - Network Adapters Tab</h3>
<p>Here, if you select a host on the left, it will show you vmnics on the right and how they match up with the uplink numbers.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/20-network-adapters.png"><img class="alignnone size-full wp-image-27458" title="network adapters" src="http://www.petri.co.il/wp-content/uploads/20-network-adapters.png" alt="network adapters" width="557" height="436" /></a></p>
<h3>vDS Settings - Private VLAN Tab</h3>
<p>This is where you configure stuff like Layer-2 Segmentation or VLANs within VLANs.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/21-private-vlan.png"><img class="alignnone size-full wp-image-27462" title="private vlan" src="http://www.petri.co.il/wp-content/uploads/21-private-vlan.png" alt="private vlan" width="556" height="434" /></a></p>
<h3>vDS Settings - Netflow Tab</h3>
<p>This is where you configure the system to send IP statistics to what’s known as a NetFlow collector.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/22-netflow.png"><img class="alignnone size-full wp-image-27463" title="netflow" src="http://www.petri.co.il/wp-content/uploads/22-netflow.png" alt="netflow" width="556" height="434" /></a></p>
<h3>vDS Settings - Port Mirroring Tab</h3>
<p>These settings allow you to do traffic sniffing.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/23-port-mirroring.png"><img class="alignnone size-full wp-image-27464" title="port mirroring" src="http://www.petri.co.il/wp-content/uploads/23-port-mirroring.png" alt="port mirroring" width="557" height="434" /></a></p>
<p>Those are your main switch settings.</p>
<h3>vDS Uplink Port Group Settings</h3>
<p>Then you have what are called <strong>Uplinks</strong>. For the distributed switch, you only have one set of uplinks. This is in contrast to, say, the Cisco Nexus 1000V, which does allow you to have multiple uplink groups. You may have one uplink group connected to a DMZ network and a second one connected to the production network.</p>
<p>The DMZ uplink group cares about all the VLANs in the DMZ. The one for the production network cares about the VLANs found there. You can’t do that with the vSphere Distributed Switch. If you have a DMZ network and a separate physical production network, you’ll need to segment that, but you only have one uplink group in each vDS.</p>
<p>Let’s now see what we can set for uplinks. You can get to those settings by clicking the <strong>Manage this uplink port group</strong> link.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/24-manage-this-uplink-port-group.png"><img class="alignnone size-full wp-image-27465" title="manage this uplink port group" src="http://www.petri.co.il/wp-content/uploads/24-manage-this-uplink-port-group.png" alt="manage this uplink port group" width="580" /></a></p>
<h3>vDS Uplinks - General Section</h3>
<p>The General section is where you set the uplink’s name. It’s also where you put in a Description, Number of ports, and the Port binding option.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/25-dvuplink-general.png"><img class="alignnone size-full wp-image-27466" title="dvuplink general" src="http://www.petri.co.il/wp-content/uploads/25-dvuplink-general.png" alt="dvuplink general" width="548" height="412" /></a></p>
<h3>vDS Uplinks - Policies Section</h3>
<p>This is where you’ll see a whole bunch of policy settings, including: Security, Traffic Shaping, VLAN, Teaming and Failover, Resource Allocation, Monitoring, and Miscellaneous. The items in the subsections (e.g. Security, Traffic Shaping, etc.) are exactly the same items you’ll see in the main Policies section, except that they’re just grouped accordingly.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/26-policies.png"><img class="alignnone size-full wp-image-27468" title="policies section" src="http://www.petri.co.il/wp-content/uploads/26-policies.png" alt="policies section" width="550" height="411" /></a></p>
<p>One thing to take note of is that most of the items are going to be uneditable. That’s because they’re mainly going to be set at the port group level.</p>
<p>There are still a couple of things you can set. One of them is the VLAN trunk range. The default for that setting is 0 - 4094, meaning, everything. That includes tagged and untagged VLANs. If you follow your security best practices, you should only be configuring this for VLANs that the switch should actually expect to see on the physical world.</p>
<p>Most people leave the setting to the default (0 - 4094), but you can actually set it as shown in the screenshot.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/27-VLAN-trunk-range.png"><img class="alignnone size-full wp-image-27469" title="VLAN trunk range" src="http://www.petri.co.il/wp-content/uploads/27-VLAN-trunk-range.png" alt="VLAN trunk range" width="549" height="412" /></a></p>
<h3>vDS Uplinks - Advanced Section</em></p>
<p>In the Advanced section, you can allow the system to override certain port policies. You specify which policies can be overridden by clicking the <strong>Edit Override Settings</strong> link.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/28-override-port-policies.png"><img class="alignnone size-full wp-image-27472" title="override port policies" src="http://www.petri.co.il/wp-content/uploads/28-override-port-policies.png" alt="override port policies" width="548" height="412" /></a></p>
<p>Then as you can see, you simply choose either <strong>Yes</strong> or <strong>No</strong> if you want to allow or disallow overrides for a particular item.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/29-port-group-override-settings.png"><img class="alignnone size-full wp-image-27473" title="port group override settings" src="http://www.petri.co.il/wp-content/uploads/29-port-group-override-settings.png" alt="port group override settings" width="399" height="290" /></a></p>
<p>Basically, there are a lot of things under the uplink settings. But really, the only thing you’ll ever set there is the one concerning VLANs.</p>
<h3>Creating a New Distributed Port Group</h3>
<p>Let me show you now how to create a new Distributed Port Group.</p>
<p>Just select the main switch and then click <strong>New Port Group</strong> under the <strong>Summary</strong> tab.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/30-new-port-group.png"><img class="alignnone size-full wp-image-27474" title="new port group" src="http://www.petri.co.il/wp-content/uploads/30-new-port-group.png" alt="new port group" width="580" /></a></p>
<p>Give that port group a <strong>name</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/31-distributed-port-group-name.png"><img class="alignnone size-full wp-image-27475" title="distributed port group name" src="http://www.petri.co.il/wp-content/uploads/31-distributed-port-group-name.png" alt="distributed port group name" width="580" /></a></p>
<p>Next, assign a number for the <strong>Number of ports</strong>. Remember that when you plug in a VM's NIC, a VM kernel, or something like that, and then you attach it into one of these port groups, it uses a port.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/32-number-of-ports.png"><img class="alignnone size-full wp-image-27476" title="number of ports" src="http://www.petri.co.il/wp-content/uploads/32-number-of-ports.png" alt="number of ports" width="580" /></a></p>
<p>Make sure you set that number to something reasonable. For instance, vMotion might only need 1 port per server. So for that, you can probably set 10 or even 5 and still be OK. If you’re setting for production VM traffic and that particular VM had a /24-network, you might have to put 256 in there.</p>
<p>Just don’t go crazy. Don’t set it to some wacky number like 1024 when all you’ve got is a /24 network. You’re going to use up more ports as you go, and you don’t want to get to that 30,000-limit right away.</p>
<p>For the <strong>VLAN type</strong>, the choices are None, VLAN, VLAN Trunking, and Private VLAN. None means un-tagged.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/33-vlan-type.png"><img class="alignnone size-full wp-image-27477" title="vlan type" src="http://www.petri.co.il/wp-content/uploads/33-vlan-type.png" alt="vlan type" width="580" /></a></p>
<p>VLAN means that as a frame leaves this distributed switch, it’s going to stick a tag unto it for the VLAN number, and the uplink switch is gonna expect those frames to be tagged.</p>
<p>So for instance, in my case, I would set the VLAN ID to 110.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/34-vlan-id.png"><img class="alignnone size-full wp-image-27479" title="vlan id" src="http://www.petri.co.il/wp-content/uploads/34-vlan-id.png" alt="vlan id" width="580" /></a></p>
<p>Another option is VLAN Trunking. So if I want to do a trunk, I set VLANs up to my VMs. My VMs are going to expect to see tagged frames. They can have that special guest tagging driver installed.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/35-vlan-trunking.png"><img class="alignnone size-full wp-image-27480" title="vlan trunking" src="http://www.petri.co.il/wp-content/uploads/35-vlan-trunking.png" alt="vlan trunking" width="580" /></a></p>
<p>Finally, there’s Private VLAN. If you see a notice saying Private VLAN is not configured, you then have to configure it in the main switch. Once you’re done with that, you go back here and set the relevant options.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/36-private-vlan.png"><img class="alignnone size-full wp-image-27481" title="private vlan" src="http://www.petri.co.il/wp-content/uploads/36-private-vlan.png" alt="private vlan" width="580" /></a></p>
<p>After you click <strong>Next</strong>, you’ll be shown a summary of the things you just set. Click <strong>Finish</strong> to proceed with creating the port group.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/37-port-group-will-be-created.png"><img class="alignnone size-full wp-image-27482" title="port group will be created" src="http://www.petri.co.il/wp-content/uploads/37-port-group-will-be-created.png" alt="port group will be created" width="580" /></a></p>
<h3>Configuring a New Distributed Port Group</h3>
<p>Now, let’s say you want to configure some settings. Select that newly created port group and then click <strong>Manage this distributed port group</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/38-manage-this-distributed-port-group.png"><img class="alignnone size-full wp-image-27483" title="manage this distributed port group" src="http://www.petri.co.il/wp-content/uploads/38-manage-this-distributed-port-group.png" alt="manage this distributed port group" width="580" /></a></p>
<p>The first settings you can specify, which are found in the General section, are the Name, Description, Number of ports, and Port binding type. Port binding type can be set to either Static, Dynamic, or Ephemeral. This has to do with how it assigns those port numbers that we just talked about. Mostly, you’re going to leave that on Static.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/39-port-binding.png"><img class="alignnone size-full wp-image-27484" title="port binding" src="http://www.petri.co.il/wp-content/uploads/39-port-binding.png" alt="port binding" width="547" height="410" /></a></p>
<p>When you proceed to the Policies section, you’ll notice a lot of familiar settings. You’ll see the policy settings for Security, Traffic Shaping, VLAN, and so on.</p>
<p>Here’s where you change your VLAN tagging information and number.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/40-vlan-type.png"><img class="alignnone size-full wp-image-27485" title="vlan type" src="http://www.petri.co.il/wp-content/uploads/40-vlan-type.png" alt="vlan type" width="549" height="412" /></a></p>
<p>Here’s your Teaming and Failover, set at the port group level. This kind of confuses people because they think you set this at the uplink level. The answer to that is, No. You don’t, because you may do different hashing types and things like that. This depends on the type of traffic and the port group.</p>
<p>By default, it’s just going to be set like a standard vSwitch, and that is <strong>Route based on originating virtual port ID</strong>. There are actually several options, like:</p>
<ul>
<li>Route based on IP hash;</li>
<li>Route based on source MAC hash;</li>
<li>Route based on physical NIC load; and</li>
<li>Use explicit failover order</li>
</ul>
<p><a href="http://www.petri.co.il/wp-content/uploads/41-teaming-and-failover.png"><img class="alignnone size-full wp-image-27487" title="teaming and failover" src="http://www.petri.co.il/wp-content/uploads/41-teaming-and-failover.png" alt="teaming and failover" width="543" height="407" /></a></p>
<p><strong>Route based on physical NIC load</strong> is what is known as Load-based Teaming, which is the coolest one because it really looks at the NICs’ load.</p>
<p>All the rest, including Network Failover Detection, Notify Switches, Failback, and others, are standard VMware vSwitch settings.</p>
<center><div id="adkit_in-content-lower-block" class="adkit lower-block"><a  href="/uri/?id=2965&amp;host=go.appassure.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 37', '2965', 'Click']);" title="" rel="nofollow"><img src="/media/2965.gif"  alt=" " /> </a></div></center>
<p>In the Failover Order list, you can do things relevant to Traffic Separation. For example, if we just want to just use dvUplink4 for vMotion traffic, we can select dvUplink1, 2, and 3 and then click the <strong>Move Down</strong> button until they’re under the Unused Uplinks.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/42-move-down-uplinks.png"><img class="alignnone size-full wp-image-27488" title="move down uplinks" src="http://www.petri.co.il/wp-content/uploads/42-move-down-uplinks.png" alt="move down uplinks" width="549" height="410" /></a></p>
<p><a href="http://www.petri.co.il/wp-content/uploads/43-uplinks-moved-down.png"><img class="alignnone size-full wp-image-27489" title="uplinks moved down" src="http://www.petri.co.il/wp-content/uploads/43-uplinks-moved-down.png" alt="uplinks moved down" width="548" height="412" /></a></p>
<p>Or we can select dvUplink3 and move it to <strong>Standby Uplinks</strong>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/44-move-up-uplink.png"><img class="alignnone size-full wp-image-27490" title="move up uplink" src="http://www.petri.co.il/wp-content/uploads/44-move-up-uplink.png" alt="move up uplink" width="550" height="409" /></a></p>
<p><a href="http://www.petri.co.il/wp-content/uploads/45-uplink-moved-up.png"><img class="alignnone size-full wp-image-27491" title="uplink moved up" src="http://www.petri.co.il/wp-content/uploads/45-uplink-moved-up.png" alt="uplink moved up" width="549" height="411" /></a></p>
<p>Once you’re done, you just click <strong>OK</strong> and the changes you made will be automatically saved.</p>
<p>The tabs you see for that port group are basically just the same ones you saw in the main switch, except that they’re specific to the port group for certain things.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/46-tabs-for-port-group.png"><img class="alignnone size-full wp-image-27492" title="tabs for port group" src="http://www.petri.co.il/wp-content/uploads/46-tabs-for-port-group.png" alt="tabs for port group" width="580" /></a></p>
<h2>Conclusion</h2>
<p>Well, that’s it. We’ve gone through nearly all the settings for the main switch, uplinks, and port groups, and so we’re done. See you again next time.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/0NcremOKqDxkydDzRtW_u7F-Psc/0/da"><img src="http://feedads.g.doubleclick.net/~a/0NcremOKqDxkydDzRtW_u7F-Psc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/0NcremOKqDxkydDzRtW_u7F-Psc/1/da"><img src="http://feedads.g.doubleclick.net/~a/0NcremOKqDxkydDzRtW_u7F-Psc/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Petri?a=9ZroF9Ddvxo:SL3zK_u6IfQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Petri?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Petri?a=9ZroF9Ddvxo:SL3zK_u6IfQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Petri?i=9ZroF9Ddvxo:SL3zK_u6IfQ:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Petri/~4/9ZroF9Ddvxo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.petri.co.il/vsphere-vds-setup.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.petri.co.il/vsphere-vds-setup.htm</feedburner:origLink></item>
		<item>
		<title>Manage Windows Features with PowerShell</title>
		<link>http://feedproxy.google.com/~r/Petri/~3/F_w4yXgoMFc/manage-windows-features-with-powershell.htm</link>
		<comments>http://www.petri.co.il/manage-windows-features-with-powershell.htm#comments</comments>
		<pubDate>Thu, 24 May 2012 16:28:32 +0000</pubDate>
		<dc:creator>Jeff Hicks</dc:creator>
				<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.petri.co.il/?p=27411</guid>
		<description><![CDATA[Configuring and managing servers can be a bit time consuming, especially if you need to manage a feature on 10 servers. In this post, Jeff Hicks shows you a much quicker and easier way to manage servers running Windows Server 2008 R2 - using Windows PowerShell. ]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>Configuring and managing servers these days can be a time consuming process, unless you work more efficiently and smarter. For example, suppose you need to add a new server feature. Are you going to go to the server, open up server manager, scroll around to find where to add a feature or role and then click through the wizard? Or would you prefer to type a few commands and go to lunch? </p>
<p>With the increasing role of Server Core machines, GUIs aren't even an option. Sure, you could use the Server Manager console from RSAT, but that still takes time to get going. What if you need to manage a feature on 10 servers?</p>
<div id="adkit_content-block" class="adkit content-block"  rel="nofollow"><a href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0" rel="nofollow" style="font-size:12px;border:none"><strong style="display: block; clear: both;">Hyper-V™ vs. vSphere™</strong></a><a href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0" rel="nofollow"><img src="/media/3037.gif"  alt=" " style="float: left; padding: 5px;font-size: 1em;"/></a> <p><b>Problem:</b>  Microsoft’s planned enhancements for Hyper-V version 3 have more and more customers planning for a dual hypervisor environment.  Unfortunately, multiple management consoles are hard to use, clunky, and don’t provide the flexibility needed in measuring & managing virtual infrastructures. <br />
<br />
<b>Solution:</b>  SolarWinds Virtualization Manager now allows you to see both VMware and Hyper-V environments in a single pane of glass.  </p><a  href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" class="link-title" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="Hyper-V™ vs. vSphere™" style="clear: both;" rel="nofollow">FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0</a></div>
<h2>Manage Windows Server 2008 R2 with PowerShell</h2>
<p>Your answer lies with Windows PowerShell - what else! I'm also talking about managing servers running Windows Server 2008 R2, ideally from a Windows 7 desktop. What makes this all possible is the ServerManager module. Unfortunately, this module only resides on server operating systems. I've never been able to find a way to load it on Windows 7, but that's ok. Because the server is also running PowerShell 2.0 with remoting enabled, I can do everything from a remote PowerShell session. </p>
<p>If you need to automate the process across a number of servers, you can use the following as part of a script or scriptblock that you could execute with <strong>Invoke-Command</strong>. For now I'm going to deal with a single server.</p>
<div id="adkit_freestyle" class="adkit freestyle"><a  href="/uri/?id=2748&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '2748', 'Click']);" title="" rel="nofollow"><span><div style="min-height:46px; background:url(http://www.petri.co.il/media/download.jpg) no-repeat left center; padding-top:5px"><p style="font-weight:bold; margin-left:30px; margin-top:3px; padding:6px 0px 6px 10px; ">Get 3 New FREE Windows 7 Certified Tools for Active Directory Administration</p></div></span></a></div>
<pre>
PS C:\> enter-pssession CHI-FP01 -Credential globomantics\administrator
[chi-fp01]: PS C:\Users\administrator.GLOBOMANTICS\Documents> cd \
[chi-fp01]: PS C:\> dir</pre>
<p>I now have a remote session using alternate credentials. The next step is to load the necessary module.</p>
<pre>
[chi-fp01]: PS C:\> import-module ServerManager</pre>
<p>There are only 3 commands we have to work with, but that is plenty.</p>
<pre>
[chi-fp01]: PS C:\> get-command -Module ServerManager | Select Name

Name
----
Add-WindowsFeature
Get-WindowsFeature
Remove-WindowsFeature</pre>
<p>The cmdlet names should be self-explanatory. First, let’s see what features are already installed using <strong>Get-WindowsFeature</strong>.</p>
<pre>
[chi-fp01]: PS C:\> Get-WindowsFeature</pre>
<p>You’ll see a nicely formatted listing of all features with an X indicating those that are installed. See Figure 1:</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/get-windowsfeature.png"><img src="http://www.petri.co.il/wp-content/uploads/get-windowsfeature.png" alt="Get-WindowsFeature Output" title="Get-WindowsFeature Output" width="580" class="alignnone size-full wp-image-27413" /></a><br />
<center>Figure 1 Get-WindowsFeature Output</center></p>
<p>But don’t let the output fool you: we’re still dealing with objects.</p>
<pre>[chi-fp01]: PS C:\> get-windowsfeature dns | select *

DisplayName          : DNS Server
Name                 : DNS
Installed            : True
FeatureType          : Role
Path                 : DNS Server
Depth                : 1
DependsOn            : {}
Parent               :
SubFeatures          : {}
SystemService        : {dns*}
Notification         : {}
BestPracticesModelId : Microsoft/Windows/DNSServer
AdditionalInfo       : {HelpLink, FeedbackLink, TechCenterLink, NumericId...}</pre>
<p>Knowing the property names, I can modify the command to only find installed features.</p>
<pre>
[chi-fp01]: PS C:\> get-windowsfeature | Where {$_.Installed} | Sort FeatureType,Parent,Name | Select Name,Displayname,FeatureType,Parent</pre>
<p>This one line command finds all installed features, sorted by a few properties in order and then displays a subset of object properties. Figure 2 shows the result:</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/installed-features.png"><img src="http://www.petri.co.il/wp-content/uploads/installed-features.png" alt="Installed Features" title="Installed Features" width="580" class="alignnone size-full wp-image-27414" /></a><br />
<center>Figure 2 Installed Features</center></p>
<p>Thinking of building an audit trail? It isn’t much more work to export results to a CSV, XML or plain text file.</p>
<center><div id="adkit_in-content-lower-block" class="adkit lower-block"><a  href="/uri/?id=2861&amp;host=www.microsoft.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '2861', 'Click']);" title="" rel="nofollow"><img src="/media/2861.gif"  alt=" " /> </a></div></center>
<p>Or you might want to drill down to a specific feature or role.</p>
<pre>
[chi-fp01]: PS C:\> $fs=get-Windowsfeature File-Service
[chi-fp01]: PS C:\> $fs | select *

DisplayName          : File Services
Name                 : File-Services
Installed            : True
FeatureType          : Role
Path                 : File Services
Depth                : 1
DependsOn            : {}
Parent               :
SubFeatures          : {FS-FileServer, FS-DFS, FS-Resource-Manager, FS-NFS-Services...}
SystemService        : {}
Notification         : {}
BestPracticesModelId :
AdditionalInfo       : {HelpLink, FeedbackLink, TechCenterLink, NumericId...}</pre>
<p>Some of these properties are going to be nested objects. For example, <strong>SubFeatures</strong> will provide a list of additional features.</p>
<pre>
[chi-fp01]: PS C:\> $fs.SubFeatures
FS-FileServer
FS-DFS
FS-Resource-Manager
FS-NFS-Services
FS-Search-Service
FS-Win2003-Services
FS-BranchCache</pre>
<p>But these are simply names, which means I can pipe them to <strong>Get-WindowsFeature</strong> to see if any of them are installed.</p>
<pre>
[chi-fp01]: PS C:\> $fs.SubFeatures | Get-WindowsFeature

Display Name                                            Name
------------                                            ----
    [X] File Server                                     FS-FileServer
    [ ] Distributed File System                         FS-DFS
    [ ] File Server Resource Manager                    FS-Resource-Manager
    [ ] Services for Network File System                FS-NFS-Services
    [ ] Windows Search Service                          FS-Search-Service
    [ ] Windows Server 2003 File Services               FS-Win2003-Services
    [ ] BranchCache for network files                   FS-BranchCache</pre>
<p>Now I can see what needs to be installed. </p>
<h2>Conclusion</h2>
<p>Configuring and managing servers is a task made easier by using Windows PowerShell. In the next article, we’ll look at adding and removing features.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/qIlK9-Fupe-OeR4OuJhNEJrZX1I/0/da"><img src="http://feedads.g.doubleclick.net/~a/qIlK9-Fupe-OeR4OuJhNEJrZX1I/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/qIlK9-Fupe-OeR4OuJhNEJrZX1I/1/da"><img src="http://feedads.g.doubleclick.net/~a/qIlK9-Fupe-OeR4OuJhNEJrZX1I/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Petri?a=F_w4yXgoMFc:QMyogoeTvRE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Petri?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Petri?a=F_w4yXgoMFc:QMyogoeTvRE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Petri?i=F_w4yXgoMFc:QMyogoeTvRE:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Petri/~4/F_w4yXgoMFc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.petri.co.il/manage-windows-features-with-powershell.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.petri.co.il/manage-windows-features-with-powershell.htm</feedburner:origLink></item>
		<item>
		<title>IPv6 Address Notation</title>
		<link>http://feedproxy.google.com/~r/Petri/~3/GsWVtz3VPjs/ipv6-address-notation.htm</link>
		<comments>http://www.petri.co.il/ipv6-address-notation.htm#comments</comments>
		<pubDate>Wed, 23 May 2012 18:11:30 +0000</pubDate>
		<dc:creator>Sean Wilkins</dc:creator>
				<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://www.petri.co.il/?p=25939</guid>
		<description><![CDATA[Learning IPv6 addressing may look daunting, but once you get over the large hexadecimal numbers, it isn't much different than using IPv4. In this post, Networking Consultant Sean Wilkins shows how IPv6 addresses and subnetting work the same as with IPv4 address when converted to binary.]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>When learning <a href="http://www.petri.co.il/ipv6-address-types.htm">IPv6 addressing</a>, one of the first things that people notice is that it is much more complex to look at than the previous IPv4 addresses; this is compounded by the fact that a single address can be notated in a number of different ways and still refers to the same device. This article takes a look at IPv6 notation, how a single IPv6 address can be notated in a number of different ways, and how to expand and compress them correctly.</p>
<div id="adkit_content-block" class="adkit content-block"  rel="nofollow"><a href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0" rel="nofollow" style="font-size:12px;border:none"><strong style="display: block; clear: both;">Hyper-V™ vs. vSphere™</strong></a><a href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0" rel="nofollow"><img src="/media/3037.gif"  alt=" " style="float: left; padding: 5px;font-size: 1em;"/></a> <p><b>Problem:</b>  Microsoft’s planned enhancements for Hyper-V version 3 have more and more customers planning for a dual hypervisor environment.  Unfortunately, multiple management consoles are hard to use, clunky, and don’t provide the flexibility needed in measuring & managing virtual infrastructures. <br />
<br />
<b>Solution:</b>  SolarWinds Virtualization Manager now allows you to see both VMware and Hyper-V environments in a single pane of glass.  </p><a  href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" class="link-title" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="Hyper-V™ vs. vSphere™" style="clear: both;" rel="nofollow">FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0</a></div>
<h2>IPv6 Address Notation</h2>
<p>An IPv6 address has a total of 128 bits that are represented in hexadecimal form, using 8 – 4 hex character groupings.  Figure 1 below shows a fully expanded IPv6 address:</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/Figure-17.jpg"><img src="http://www.petri.co.il/wp-content/uploads/Figure-17.jpg" alt="Expanded IPv6 Address" title="Expanded IPv6 Address" width="580" class="alignnone size-full wp-image-27398" /></a><br />
<center>Figure 1 - Expanded IPv6 Address</center></p>
<div id="adkit_freestyle" class="adkit freestyle"><a  href="/uri/?id=1918&amp;host=www.microsoft.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '1918', 'Click']);" title="" rel="nofollow"><span><div style="min-height:46px; background:url(http://www.petri.co.il/media/download.jpg) no-repeat left center; padding-top:5px"><p style="font-weight:bold; margin-left:30px; margin-top:3px; padding:6px 0px 6px 10px; ">Download SQL Server 2012</p></div></span></a></div>
<p>There are two ways that an IPv6 address can be additionally compressed: compressing leading zeros and substituting a group of consecutive zeros with a single double colon (::). Both of these can be used in any number of combinations to notate the same address. It is important to note that the double colon (::) can only be used once within a single IPv6 address notation. Figure 2 below shows what the same address shown in Figure 1 would look like if the leading zeros were removed.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/Figure-23.jpg"><img src="http://www.petri.co.il/wp-content/uploads/Figure-23.jpg" alt="Compressing Leading Zeros" title="Compressing Leading Zeros" width="580" class="alignnone size-full wp-image-27399" /></a><br />
<center>Figure 2 - Compressing Leading Zeros</center></p>
<p>Another method is to use the double colon (::).  Figure 3 shows how the use of a double colon (::) could be used to compress the IPv6 address:</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/Figure-33.jpg"><img src="http://www.petri.co.il/wp-content/uploads/Figure-33.jpg" alt="Compressing using Double Colon" title="Compressing using Double Colon" width="580" class="alignnone size-full wp-image-27400" /></a><br />
<center>Figure 3 - Compressing using Double Colon (::)</center></p>
<p>The final compression method removes the leading zeros and uses the double colon (::) to provide the shortest IPv6 notation. Figure 4 shows what this completely compressed IPv6 address would look like:</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/Figure-44.jpg"><img src="http://www.petri.co.il/wp-content/uploads/Figure-44.jpg" alt="Compressing Leading Zeros and using Double Colon" title="Compressing Leading Zeros and using Double Colon" width="580" class="alignnone size-full wp-image-27402" /></a><br />
<center>Figure 4 - Compressing Leading Zeros and using Double Colon (::)</center></p>
<h2>IPv6 Mask Notation</h2>
<p>To notate the number of bits to mask with an IPv4 address, a decimal subnet mask or a CIDR notation was used. For example, to notate an IPv4 C class network range, the subnet address, 172.16.1.0, plus an additional subnet mask, 255.255.255.0 (or /24), were placed and configured together to notate the network range from 172.16.1.0 through 172.16.1.255.</p>
<p>For IPv6, the decimal subnet mask is not used anymore, and only a CIDR notation is used. Figure 5 shows an example of a 64 bit network prefix:</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/Figure-53.jpg"><img src="http://www.petri.co.il/wp-content/uploads/Figure-53.jpg" alt="IPv6 Mask Notation" title="IPv6 Mask Notation" width="580" class="alignnone size-full wp-image-27403" /></a><br />
<center>Figure 5 - IPv6 Mask Notation</center></p>
<p>What this means is that all addresses with the prefix 3001:ABC0:FE00:0034 will be included within a single subnetwork. This works out to be 18,446,744,073,709,551,616 total addresses, which is by far larger than needed on any single organizational network (at least at the moment).</p>
<center><div id="adkit_in-content-lower-block" class="adkit lower-block"><a  href="/uri/?id=2861&amp;host=www.microsoft.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '2861', 'Click']);" title="" rel="nofollow"><img src="/media/2861.gif"  alt=" " /> </a></div></center>
<h2>Summary</h2>
<p>The main stumbling block for most individuals starting to learn IPv6 is getting over looking at a large number of hexadecimal numbers. IPv6 addresses and subnetting work the same as with IPv4 address when converted to binary, and anyone familiar with IPv4 binary addressing and subnetting should be able to understand these IPv6 concepts.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/w0Adygvf-dnGNn0TwbWTkaq1gw8/0/da"><img src="http://feedads.g.doubleclick.net/~a/w0Adygvf-dnGNn0TwbWTkaq1gw8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/w0Adygvf-dnGNn0TwbWTkaq1gw8/1/da"><img src="http://feedads.g.doubleclick.net/~a/w0Adygvf-dnGNn0TwbWTkaq1gw8/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Petri?a=GsWVtz3VPjs:PhluHE8E-_s:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Petri?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Petri?a=GsWVtz3VPjs:PhluHE8E-_s:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Petri?i=GsWVtz3VPjs:PhluHE8E-_s:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Petri/~4/GsWVtz3VPjs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.petri.co.il/ipv6-address-notation.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.petri.co.il/ipv6-address-notation.htm</feedburner:origLink></item>
		<item>
		<title>Print from your Phone or Tablet using Google Cloud Print</title>
		<link>http://feedproxy.google.com/~r/Petri/~3/2_uGfeSBQWo/google-cloud-print.htm</link>
		<comments>http://www.petri.co.il/google-cloud-print.htm#comments</comments>
		<pubDate>Tue, 22 May 2012 20:02:06 +0000</pubDate>
		<dc:creator>John O'Neill Sr.</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>

		<guid isPermaLink="false">http://www.petri.co.il/?p=25655</guid>
		<description><![CDATA[Printing from smartphones and tablet computers is becoming less of an option and more of a necessity. In this post, John O'Neill Sr. demonstrates how to use Google Cloud Print, a simple and free way to answer this need. ]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>The proliferation of mobile devices today is exploding. The consumerization of IT is only accelerating the amount and types of mobile devices we encounter every day. This evolution in IT creates many new opportunities along with many need demands. A perfect example is the need to print easily, effectively, and seamlessly, from our mobile devices. However, enabling print capability from tablets and phones is not as complex as one might think and doesn't require buying a new printer.</p>
<div id="adkit_content-block" class="adkit content-block"  rel="nofollow"><a href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0" rel="nofollow" style="font-size:12px;border:none"><strong style="display: block; clear: both;">Hyper-V™ vs. vSphere™</strong></a><a href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0" rel="nofollow"><img src="/media/3037.gif"  alt=" " style="float: left; padding: 5px;font-size: 1em;"/></a> <p><b>Problem:</b>  Microsoft’s planned enhancements for Hyper-V version 3 have more and more customers planning for a dual hypervisor environment.  Unfortunately, multiple management consoles are hard to use, clunky, and don’t provide the flexibility needed in measuring & managing virtual infrastructures. <br />
<br />
<b>Solution:</b>  SolarWinds Virtualization Manager now allows you to see both VMware and Hyper-V environments in a single pane of glass.  </p><a  href="http://www.petri.co.il/uri/?id=3037&amp;host=www.solarwinds.com" class="link-title" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3037', 'Click']);" title="Hyper-V™ vs. vSphere™" style="clear: both;" rel="nofollow">FREE 30-Day Trial - SolarWinds Virtualization Manager 5.0</a></div>
<h2>Challenges of Printing from Mobile Devices</h2>
<p>The challenges of printing from mobile devices such as tablets or phones include concerns like dealing with different OSes and printing from widespread locations. With conventional PCs, we often find ourselves on common networks that we visit frequently such as work, home, or even the local Starbucks. We set up printing for these networks once and reuse whenever we connect to that network. Mobile devices explode that method since they may connect to dozens, or possibly hundreds, of different networks every day. </p>
<div id="adkit_freestyle" class="adkit freestyle"><a  href="/uri/?id=2789&amp;host=msdn.microsoft.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '2789', 'Click']);" title="" rel="nofollow"><span><div style="min-height:46px; background:url(http://www.petri.co.il/media/download.jpg) no-repeat left center; padding-top:5px"><p style="font-weight:bold; margin-left:30px; margin-top:3px; padding:6px 0px 6px 10px; ">Download Microsoft SQL Server Data Tools CTP4</p></div></span></a></div>
<p>For instance, it isn't too common to find someone with a laptop wandering an aisle at a department store trying to capture a picture of a dress with their webcam. It is, however, becoming more and more common to find someone snapping a picture of a dress, pair of shoes, or some other item they like using the multi-megapixel camera on their smartphone. The same scenario plays out in industry every day. It wouldn't be safe or smart to wander a busy manufacturing floor carrying your laptop trying to capture pictures of some part or process. Managers and executives, though, could capture those things easily using the camera on their phone or tablet. In either of these examples, what happens if these users want to print out their newly captured image without running back to their PC or notebook?</p>
<p>The one common network most phones and tablets connect to is the Internet. That makes the Internet a great option for carrying print data from the mobile device to the printer. Many current printer models are web enabled out of the box. If you own one of these devices, they connect directly to the Internet and support printing by sending documents from a mobile device to a custom email address, or by using a mobile platform app. HP's ePrint capable printers are great examples of this type of technology. </p>
<p>Don't worry, as mentioned early on in this article, there's no need to run out and buy one of these printers if your old non-web enabled printer is still working great. Google Cloud Print enables virtually any printer to become web enabled.</p>
<h2>Setting up Google Cloud Print</h2>
<p>Setting up Google Cloud Print to web enable an older printer requires only a few things. First and foremost is a Google account. Add to that a PC (Windows XP or higher) or a Mac, along with the latest version of Google’s Chrome Browser, and that’s everything needed to get an old workhorse printer pumping out documents from an iPhone, iPad, or Droid.</p>
<p>If you already have a Google or Gmail account, skip this step. Otherwise, the first thing to do is sign up for a free Google account. If you’d like free e-mail with it, then create a Gmail account at <a href="https://accounts.google.com/SignUp" title="Gmail Account Signup">https://accounts.google.com/SignUp</a>. If you’re perfectly happy with your existing email account and don’t want another, just sign up using your existing email address at <a href="https://accounts.google.com/NewAccount" title="New Google Account">https://accounts.google.com/NewAccount</a>.</p>
<p>Step two on our journey to mobile printing happiness is to download and install the Chrome browser from <a href="https://www.google.com/chrome" title="Google Chrome Browser Download">https://www.google.com/chrome</a>. It’s not too large of a download, and installation is both quick and easy. If you have a Mac, use this link instead <a href="https://www.google.com/chrome?platform=mac&amp;hl=en" title="Google Chrome For Mac Users">https://www.google.com/chrome?platform=mac&amp;hl=en</a>.</p>
<p>Now it’s time to get things configured.</p>
<ol>
<li>Double-click the Google Chrome icon on your desktop to start it.</li>
<li>On the far right side of the browser toolbar, click the wrench icon.</li>
<li>Select Options if you're running Windows, or Preferences if you have Mac OS X.<br />
<br />
<a href="http://www.petri.co.il/wp-content/uploads/Screen-Shot-2012-03-25-at-9.46.51-PM1.jpg"><img src="http://www.petri.co.il/wp-content/uploads/Screen-Shot-2012-03-25-at-9.46.51-PM1.jpg" alt="Google Chrome - Options" title="Google Chrome - Options" width="580" class="alignnone size-full wp-image-25661" /></a></li>
<p></p>
<li>Click the Under the Hood tab.</li>
<li>Scroll down to the “Google Cloud Print” section. Click Sign in to Google Cloud Print.<br />
<br />
<a href="http://www.petri.co.il/wp-content/uploads/Screen-Shot-2012-03-25-at-9.48.59-PM.jpg"><img src="http://www.petri.co.il/wp-content/uploads/Screen-Shot-2012-03-25-at-9.48.59-PM.jpg" alt="Under the Hood - Cloud Print" title="Under the Hood - Cloud Print" width="580" class="alignnone size-full wp-image-25662" /></a></li>
<p></p>
<li>In the window that appears, sign in with your Google Account to enable the Google Cloud Print connector.<br />
<br />
<a href="http://www.petri.co.il/wp-content/uploads/Screen-Shot-2012-03-25-at-9.49.15-PM.jpg"><img src="http://www.petri.co.il/wp-content/uploads/Screen-Shot-2012-03-25-at-9.49.15-PM.jpg" alt="Cloud Print Sign In" title="Cloud Print Sign In" width="580" class="alignnone size-full wp-image-25663" /></a></li>
<p></p>
<li>A printer confirmation message will appear. Click the Finish printer registration button.<br />
<br />
<a href="http://www.petri.co.il/wp-content/uploads/Screen-Shot-2012-03-25-at-9.49.57-PM.jpg"><img src="http://www.petri.co.il/wp-content/uploads/Screen-Shot-2012-03-25-at-9.49.57-PM.jpg" alt="Cloud Printer Confirmation" title="Cloud Printer Confirmation" width="580" class="alignnone size-full wp-image-25664" /></a></li>
<p></p>
<li>Success! A confirmation window appears showing that Google Cloud Print has been enabled!<br />
<br />
<a href="http://www.petri.co.il/wp-content/uploads/Screen-Shot-2012-03-25-at-9.50.10-PM.jpg"><img src="http://www.petri.co.il/wp-content/uploads/Screen-Shot-2012-03-25-at-9.50.10-PM.jpg" alt="Cloud Printer Success" title="Cloud Printer Success" width="580" class="alignnone size-full wp-image-25665" /></a></li>
</ol>
<h2>Printing with Google Cloud Print</h2>
<p>Cloud Print will automatically set itself up for all the printers (networked or local) that the PC or Mac running Chrome has configured. You do not need to leave Chrome open once the above steps are complete. You do, however, need to leave your PC or Mac running and connected to the Internet in order to print to its connected printers.</p>
<p>On any PC or Mac, you can print to Cloud Print from within Chrome, by using any other Cloud Print enabled application, or by visiting <a href="https://www.google.com/cloudprint/manage.html" title="Print Using Chrome">https://www.google.com/cloudprint/manage.html</a> and using the upload a file process. That’s not why we did this though; we want to print from mobile devices! </p>
<center><div id="adkit_in-content-lower-block" class="adkit lower-block"><a  href="/uri/?id=2966&amp;host=www.freshdesk.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 35', '2966', 'Click']);" title="" rel="nofollow"><img src="/media/2966.gif"  alt=" " /> </a></div></center>
<p>On an Android phone or tablet, you can print to your Cloud Print printers using any number of apps such as Google Docs, Cloud Print, or PrinterShare™. Many other apps are available and the list grows almost every day. </p>
<p>iPhone and iPad users should check out PrintCentral Pro in the App Store. This $9.99 app not only allows printing to Cloud Print printers, but also performs a number of other handy functions.</p>
<h2>Summary</h2>
<p>Printing from smartphones and tablet computers is becoming less of an option and more of a necessity. Using Google Cloud Print is a simple, free way to answer this need. For those using iOS devices, stay tuned for a coming article where I’ll dive into AirPrint troubleshooting.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/YCXhp4V67ZpjH9FRSz3HJBoXyJ8/0/da"><img src="http://feedads.g.doubleclick.net/~a/YCXhp4V67ZpjH9FRSz3HJBoXyJ8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/YCXhp4V67ZpjH9FRSz3HJBoXyJ8/1/da"><img src="http://feedads.g.doubleclick.net/~a/YCXhp4V67ZpjH9FRSz3HJBoXyJ8/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Petri?a=2_uGfeSBQWo:MsTvgqz8UWc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Petri?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Petri?a=2_uGfeSBQWo:MsTvgqz8UWc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Petri?i=2_uGfeSBQWo:MsTvgqz8UWc:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Petri/~4/2_uGfeSBQWo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.petri.co.il/google-cloud-print.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.petri.co.il/google-cloud-print.htm</feedburner:origLink></item>
		<item>
		<title>8 Awesome Questions Answered By Windows 8</title>
		<link>http://feedproxy.google.com/~r/Petri/~3/4wY_bvPX5po/windows-8-features.htm</link>
		<comments>http://www.petri.co.il/windows-8-features.htm#comments</comments>
		<pubDate>Mon, 21 May 2012 09:00:17 +0000</pubDate>
		<dc:creator>Michael Simmons</dc:creator>
				<category><![CDATA[Windows 8]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows To Go]]></category>

		<guid isPermaLink="false">http://www.petri.co.il/?p=24529</guid>
		<description><![CDATA[Do you still have questions about Windows 8? Are you wondering if Microsoft finally got it right this time? In this post, IT veteran Michael Simmons answers 8 questions about Windows 8. ]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>Microsoft does such a great job of having a full solution for enterprises. I’ve heard some people question the costs of the licenses in contrast to other vendors or open source solutions, but there is no open source solution or vendor that can cover everything that Microsoft products can.</p>
<div id="adkit_content-block" class="adkit content-block"  rel="nofollow"><a href="http://www.petri.co.il/uri/?id=3031&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3031', 'Click']);" title="Learn More or Download a Free 30 Day Trial!" rel="nofollow" style="font-size:12px;border:none"><strong style="display: block; clear: both;">Security Threats Aren’t Subtle!</strong></a><a href="http://www.petri.co.il/uri/?id=3031&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3031', 'Click']);" title="Learn More or Download a Free 30 Day Trial!" rel="nofollow"><img src="/media/3031.gif"  alt=" " style="float: left; padding: 5px;font-size: 1em;"/></a> <p>Your Security Information & Event Management (SIEM) software shouldn’t be either! SolarWinds makes it easy to manage and analyze log files, mitigate threats, and automate compliance processes with our powerful SIEM software, <b>Log & Event Manager (LEM).</b> <br />
<br />
SolarWinds LEM quickly identifies attacks, highlights threats, and uncovers policy violations with real-time log analysis and powerful event correlation. </p><a  href="http://www.petri.co.il/uri/?id=3031&amp;host=www.solarwinds.com" class="link-title" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3031', 'Click']);" title="Security Threats Aren’t Subtle!" style="clear: both;" rel="nofollow">Learn More or Download a Free 30 Day Trial!</a></div>
<p>It can be really easy to love Microsoft if you’re an IT professional that works on their products. Easy to use GUIs, free training and documentation, and market share that can find you a job in any location.</p>
<p>Still, there are a few nagging questions that can get you wondering, "Is Microsoft ever going to get this right?" Sometimes it seems like Microsoft just messed up a feature, or they just don’t understand what we want to do.</p>
<div id="adkit_freestyle" class="adkit freestyle"><a  href="/uri/?id=1066&amp;host=www.microsoft.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '1066', 'Click']);" title="" rel="nofollow"><span><div style="min-height:46px;"><p style=" padding:10px 10px 10px 10px; background-color:#ffffed; font-weight:bold"> Case Study ... VeriSign & Windows Azure</p></div></span></a></div>
<p>So now, in honor of Windows 8, here are my top 8 questions that Windows 8 has an answer to.</p>
<h2>Question 1: Why can’t I have Hyper-V on my laptop? What ever happened to Virtual PC?</h2>
<p><strong>Client Hyper-V, full featured virtualization software, is finally coming to workstations in Windows 8! </strong> Client Hyper-V is installed as a feature, so you don’t have to buy it separately. It includes all of the features that you expect from your virtualization software: virtual networking, shared drives, and most importantly, snapshots.</p>
<p>You can also use the advanced features of Hyper-V on your installation of Windows 8 desktop. For example, Client Hyper-V allows you to automate your virtual environment using PowerShell, and if you’ve got a multipoint touch-enabled device that you’re running client Hyper-V on, you can also use your touch screen on your VMs. </p>
<h2>Question 2: When will I be able to use my own tablet as my work computer? </h2>
<p>One of the key devices Windows 8 has been aimed at is the tablet. It’s touch ready, and ready for you to take it with you. It has also been designed to help IT departments manage the huge rush of personal devices into the workplace. <strong>The consumerization of IT is making end-users the champions of new technology devices, a role that was previously held by the IT staff.</strong></p>
<p>Determining whether or not a computer is yours, or one you’re just using temporarily, is handled by the Windows 8 feature “User Device Affinity.” User device affinity uses usage percentage, amount of time logged in, and number of times logged in to determine if the computer belongs to you enough to call it “your computer.” <strong>If it is the computer that you usually use, regardless of who actually owns the computer, your Windows 8 tablet will identify it as a primary device. </strong>A new feature in System Center Configuration Manager 2012 allows administrators to target those primary devices for software installations, whether they are company owned or employee owned.</p>
<h2>Question 3: How can my Blu-Ray player and TV “boot up” in under a second, but my computer still takes a full minute?</h2>
<p>Windows 8 is faster overall, and in many areas. One area in particular where it is dramatically improved is in its startup time. Using partial hibernation, which stores a set of system files and RAM on the hard drive (but not all of the running programs and RAM that would be used in a full hibernation), <strong>Windows 8 systems have been booting up from a cold start in under 10 seconds</strong>. Solid State Drives report it even faster, almost instantly.</p>
<h2>Question 4: Why can’t I take my programs with me to whatever computer I’m at?</h2>
<p>Brand new with Windows 8 is Windows To Go. <strong>Windows To Go allows IT staff to load a full version of Windows 8 on a USB drive, including the operating system, personal data, and installed programs!</strong>  </p>
<p>There are some differences in using Windows To Go: You’re presented with a pre-boot password prompt; If you remove the USB device, the computer freezes in place until the USB device is plugged back in; and booting into your Windows To Go disables hard drives on the physical computer to help prevent your data from being compromised. </p>
<h2>Question 5: Where is the factory reset button?</h2>
<p>If you’ve wished that your HP or Dell PC came with a factory reset button like your home wireless router does, you’ll be happy to see that Windows 8 provides two features that provide functionality for doing just that: Reset and Refresh. Both are now accessible from the Control Panel metro app, and both will fix problems with your PC. Reset takes it back to the day it was purchased: all apps are gone and all user data is gone. <strong>Refresh performs a full reinstall of Windows, but saves your user data, most of your preferences, and saves your installed metro apps</strong>. </p>
<h2>Question 6: Why does malware start on a PC before anti-malware does?</h2>
<p>In Windows 8, there looks to be some great strides taken to prevent malware that starts early in the boot process from being able to mess up your system. <strong>Trusted Boot in Windows 8 digitally signs your bootup environment, validating the entire process. </strong>The loading of anti-malware software is one of the earliest actions performed by Windows 8, so it is running before malware even has a chance to start.  </p>
<h2>Question 7: How can the world’s largest software company not have an app store? </h2>
<p><strong>Microsoft finally reveals an App store on their desktop operating system with Windows 8</strong>. Microsoft has already had an app marketplace that is still used with Windows Phone (via Zune software), but you can now have apps purchased, stored, and delivered directly to your desktops, laptops, and tablets running Windows 8.  </p>
<h2>Question 8: Why in the world can I not mount an ISO on a Windows machine?</h2>
<p>Now, after many years that I have been asking this question, <strong>you can finally mount ISOs in Windows 8 as part of the operating system</strong>. There are no third party utilities required. You can also mount VHDs (Virtual Hard Disks) natively in Windows 8. </p>
<center><div id="adkit_in-content-lower-block" class="adkit lower-block"><a  href="/uri/?id=2910&amp;host=www.microsoft.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '2910', 'Click']);" title="" rel="nofollow"><img src="/media/2910.gif"  alt=" " /> </a></div></center>
<p>ISOs show up as a new CD or DVD drive, while VHD shows up as a new hard drive. You can access either ISOs or VHDs by either double-clicking them, right clicking them and selecting “mount,” or by selecting the “mount” from the ribbon in Windows Explorer.</p>
<h2>Conclusion</h2>
<p>Improvements such as improved boot times, new features like Windows To Go, and long overdue basics such as the ability to mount an ISO make Windows 8 a very exciting operating system.</p>
<p>What question about Windows is still unanswered for you?</p>

<p><a href="http://feedads.g.doubleclick.net/~a/-NCqcDpYe2F62obwEdgD4jWGvTw/0/da"><img src="http://feedads.g.doubleclick.net/~a/-NCqcDpYe2F62obwEdgD4jWGvTw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/-NCqcDpYe2F62obwEdgD4jWGvTw/1/da"><img src="http://feedads.g.doubleclick.net/~a/-NCqcDpYe2F62obwEdgD4jWGvTw/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Petri?a=4wY_bvPX5po:JP3eRjC8fug:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Petri?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Petri?a=4wY_bvPX5po:JP3eRjC8fug:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Petri?i=4wY_bvPX5po:JP3eRjC8fug:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Petri/~4/4wY_bvPX5po" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.petri.co.il/windows-8-features.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.petri.co.il/windows-8-features.htm</feedburner:origLink></item>
		<item>
		<title>Providing Last-Mile Desktop and Application Lockdown with PolicyPak</title>
		<link>http://feedproxy.google.com/~r/Petri/~3/7g3RMI87oFQ/policypak.htm</link>
		<comments>http://www.petri.co.il/policypak.htm#comments</comments>
		<pubDate>Fri, 18 May 2012 16:08:14 +0000</pubDate>
		<dc:creator>Petri IT Knowledgebase Team</dc:creator>
				<category><![CDATA[Active Directory]]></category>

		<guid isPermaLink="false">http://www.petri.co.il/?p=27353</guid>
		<description><![CDATA[In this video post, Jeremy Moskowitz, Group Policy MVP and founder of PolicyPak software walks us through his Group Policy add-on, PolicyPak, and shows how you can deliver Group Policy settings over VDI to lock down applications.]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>In this video, Group Policy MVP Jeremy Moskowitz walks us through his Group Policy add-on, <a href="http://www.policypak.com/">PolicyPak</a>, and shows how you can deliver Group Policy settings over VDI to lock down applications.</p>
<p><center><iframe width="420" height="243" src="http://www.youtube.com/embed/HQgEv_vJnTc" frameborder="0" allowfullscreen></iframe></center></p>
<h2>Jeremy Moskowitz on PolicyPak</h2>
<p>Hi everybody. This is Jeremy Moskowitz, Group Policy MVP and founder of PolicyPak software. My friends at <a href="http://www.trainsignal.com/">TrainSignal</a> grabbed me by the ear; they said "you got to show this to our friends and viewers and stuff," and I am happy to bring this to you. So let's set the stage about what we are about to see and why you should care.</p>
<div id="adkit_content-block" class="adkit content-block"  rel="nofollow"><a href="http://www.petri.co.il/uri/?id=2612&amp;host=www.enowconsulting.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 29', '2612', 'Click']);" title="Test Drive Mailscape Today!!" rel="nofollow" style="font-size:12px;border:none"><strong style="display: block; clear: both;">Test Drive: Exchange & Mobile Device Management Tool</strong></a><a href="http://www.petri.co.il/uri/?id=2612&amp;host=www.enowconsulting.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 29', '2612', 'Click']);" title="Test Drive Mailscape Today!!" rel="nofollow"><img src="/media/2612.gif"  alt=" " style="float: left; padding: 5px;font-size: 1em;"/></a> <p>Mailscape is an award-winning Exchange and mobile device management tool that provides monitoring, reporting and administrative capabilities in a single, affordable solution.<br><br> Installed in minutes, easy to deploy, and intuitive enough for the help desk to use, Mailscape lets you manage your entire environment in a sleek, one look dashboard.</p><a  href="http://www.petri.co.il/uri/?id=2612&amp;host=www.enowconsulting.com" class="link-title" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 29', '2612', 'Click']);" title="Test Drive: Exchange & Mobile Device Management Tool" style="clear: both;" rel="nofollow">Test Drive Mailscape Today!!</a></div>
<p>A lot of folks now are being told they have to support this idea of "bring your own device" or BYOD to work, and I know what a huge pain in the neck that can be. You don't know if they are bringing in an iPhone or iPad or a tablet computer. You don't know what is around the bend even, or whatever is next basically.</p>
<p>So what I've got here, what I am about to show you is I don't have a real iPad; I have a fake iPad, and so, you just have to play pretend with me. I hope that will be ok. On my fake iPad, you know that if you use a VDI-based solution to remotely give somebody an entire desktop environment, you have to support the applications. Now getting those applications on those target computers, really those target VDI sessions, is kind of like what actually happens from third party vendors. Microsoft, Citrix and VMWare all have solutions around VDI. But this is what I showed my friends at TrainSignal they kind of fell over, which was that they are missing the last mile. And that's what I wanted to show you. </p>
<p>If you've got a Windows 7 rollout planned or if you've got VDI around the edges, kind of getting warmed up, if you've got desktops and laptops or even terminal server, like I said, when I showed my friends at TrainSignal; they wanted me to show you, too.</p>
<p>Here's the good news. Everything I am about to show you is actually absolutely free, up to a point. So there is a free edition of PolicyPak Professional and there is a pay edition. But the kind of stuff I am going to show you here is free up to a point, and you can find out more about what's free and what's not on our website.</p>
<p>I am going to go ahead and get started here. So here is my fake iPad. As you can see, it's got the fake-like iPad background and you can see here, I've got my real applications here. I've got my Adobe Reader. I've got my Firefox and I've got my WinZip. Again, we are pretending that this is like an iPad that actually is using a VDI session with one of those three vendors to remotely give access to our Windows desktop.</p>
<div id="adkit_freestyle" class="adkit freestyle"><a  href="/uri/?id=3012&amp;host=www.microsoft.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '3012', 'Click']);" title="" rel="nofollow"><span><div style="min-height:46px;"><p style=" padding:10px 10px 10px 10px; background-color:#ffffed; font-weight:bold">See Also ... A Case Study of Cypress & Windows Azure</p></div></span></a></div>
<p>In this case, let me go ahead and run WinZip as an application right away, and the user gets kind of a crappy experience as you can see here. They sort of instantly get a popup asking them a question. They don't know what to do and that's what we are going to talk about. We just want to get rid of all the fuzzy edges around the user's experience when they get new applications and get a new laptop, desktop, or VDI session.</p>
<p>So if we got an options config here, we'll see if there is well, actually a lot of settings for a user to screw up. I happen to be using these three applications as sort of like my baseline. I've got WinZip. I've got Firefox and I've got Acrobat Reader. But actually you could think of these as any application you have to deploy.</p>
<p>Now if you have corporate IT settings that you want to make sure that your users can't work around, as a lot of you know, I am a Group Policy MVP and man, I love Group Policy. But it just doesn't do what it's supposed to do for the actual applications on your machine. It does a great job for the stuff in the box, but it kind of falls apart for the actual applications on your machine. And that's what we are going to see.</p>
<p>Here you can see, I've got this password section, this passwords tab, and on the passwords tab, there are some security settings. I am using WinZip and you might not think of WinZip as a big security app but you can think of any application that you have as comparable. In other words, some applications have security, and how you're going to dictate that security to that application.</p>
<p>Here we've got WinZip just waiting to be configured. Unfortunately, and we could see here, we've got the cameras tab and we don't use cameras at our company, so maybe we'll make sure that the cameras tab is locked out. Let's go ahead and get started with this first directive and initiative.</p>
<p>The best part is that PolicyPak hooks rights into your Group Policy engine, so we are going to create a new GPO called "lock down WinZip" here. And I'll go ahead and edit this guy here. I'll just right click there, and here we go. You'll see that I've got the built-in policies, the built-in preferences and now PolicyPak.</p>
<p>PolicyPak applications is a new node that just will snap right into the GPMC; it comes part of what of you get. PolicyPak actually ships with 35 pre-configured applications that lots and lots of folks really want to get delivered. I know a lot of folks are using Acrobat Reader, which we are about to cover. Java, you want to make Java pop-ups go away. You've got Firefox; we are going to show how to configure Firefox in this little video, that's right. When I've shown some people that they can actually configure Firefox using Group Policy, their head is popped right off. So I'll show you that.</p>
<p>Let's go right to WinZip right here and I'll double click on that. Look at that, it looks exactly like the actual application we want to configure. If we kind of hustle over to passwords here, let's go ahead and bump up the minimum password length to 11, thus making this actual application more secure. Again, you can think of this as any application you have that needs increased security. I'll click on all these check boxes and that's cool. I am delivering a setting.</p>
<p>We are going to go one big step greater and we are going to actually lock the setting down so a user can't work around it. Let me go ahead for this middle check box here, this third check box here. And I am going to hide the corresponding setting in the target application. I am literally going to remove it so that it's not available for the user at all to screw up. I'll do the same thing for the last check, except I am going to disable the corresponding control in the target application, and what the heck, I'll do the same thing for minimum password length as well. I'll really crank that guy down and really make sure that user can't work around it.</p>
<p>Remember cameras; we don't want to use cameras at our company, so I'll right click and I'll disable the whole tab in the target application. So that's it. It's as simple as that.</p>
<p>We've got this preconfigured packs ready to rock; just go on to your new VDI session. You can log off or log back on. In this case, I am running GP update. That's going to get me the latest greatest group policy settings and let's go ahead and see what happens.</p>
<p>All right. Only took a second. So now what we do is we'll go ahead and run Winzip and let's check it out as this user. Now again, if the user is running as a standard user or as an admin user, we want to make sure that they are locked down. So let's go to options config, take a look at passwords and look at that. You can see right there that all four check boxes are checked. One of them is completely missing, which is what we said and one is grayed out. And that 11 guy or that minimum password length is jammed up to 11. That's pretty cool because now there is no way for user to work around our settings for the things that we set. And cameras, you can't click on cameras at all. What I want to show next is what happens if you go offline. </p>
<p>So if you've got a standard desktop or a standard laptop, or you are running one of those VDI sessions that you can take offline with you, what happens if the user works around your setting?</p>
<p>Well, if you just run GP update and you don't have the access to the domain controller, the GP update is just going to fall over and die. Now you just saw me uncheck those two checkboxes, but it turns out PolicyPak has a secret weapon.</p>
<p>And this again is all in the box in both the free version and the paid version. You can just run PP update and boom, it took zero seconds, and it will redeliver those settings just like that. I want to go to options config, head on over there, and boom.</p>
<p>Those checkboxes that were unchecked are now checked. So you can keep your corporate and IT settings delivered and maintained even when you are offline. Let's go through another example real quick here.</p>
<p>Let me show you another one that is like constantly in people's minds, which is the security of the actual applications like Acrobat Reader.</p>
<p>I am sure you got the same kind of memo I did, which is that this Java Script thing, this is enable Acrobat Java Script. If it's checked on, which is the default by the way, if some secretary double clicks a PDF that's infected, what's going to happen? They are going to blast infection to the rest of their team. You don't want that.</p>
<p>So what you are going to do is make 500 phone calls asking the secretaries or the other members of your world to uncheck the checkbox. No way. You are going to use the power Group Policy to deliver that setting and then also lock it down so users can't work around it.</p>
<p>That's what we are going to do right now. We are going to make your world more secure, just like that.</p>
<p>Let's go ahead. We'll go back over to the Group Policy editor. We'll right click, new, application, and we'll go ahead and we'll pick Acrobat Reader. Again you can see we've got a whole lot of application preconfigured packs ready to go. We are going to pick Acrobat Reader or Adobe Reader X.</p>
<p>We'll go over right to the Java Script guy, uncheck that enable Adobe Java Script, right click over it and disable that guy. We'll go ahead and click OK, locking and loading that directive right in the group policy land.</p>
<p>Again, the very next time a user runs GP update or logs off or logs back on, they magically get the settings. Let's run GP update and see what happens.</p>
<p>All right. Let's go head over to Adobe Reader, go right to edit preferences. Remember that check box was checked, and we don't want that. If we go look at that, we can see right there it's unchecked, and it's grayed out.</p>
<p>The best part is this stuff doesn't just work for your desktops and laptops, which you have a lot of them. It also works for those kinds of things we were just talking about - having iPads and tablets and actually, it also works for environments like this.</p>
<p>This environment, which is another PC here, is actually using Citrix terminal service dial stuff. If you just click on that and we've got Winzip, published. This is coming from my Citrix server. All I got to do is log on, run it, and the Citrix server would get the same signal that the desktop does to restrict that application, and lock it down exactly the way you expect.</p>
<center><div id="adkit_in-content-lower-block" class="adkit lower-block"><a  href="/uri/?id=2780&amp;host=" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 18', '2780', 'Click']);" title="" rel="nofollow"><span><!-- begin ad tag (tile=1) -->
<script type="text/javascript">
//<![CDATA[
ord = window.ord || Math.floor(Math.random()*1E16);
document.write('<script type="text/javascript" src="http://ad2.netshelter.net/adj/ns.petri/general;ppos=btf;kw=;tile=1;sz=300x600,300x250;ord=' + ord + '?"><\/script>');
//]]&gt;
</script>
<noscript><a href="http://ad2.netshelter.net/jump/ns.petri/general;ppos=btf;kw=;tile=1;sz=300x600,300x250;ord=123456789?" target="_blank" ><img src="http://ad2.netshelter.net/ad/ns.petri/general;ppos=btf;kw=;tile=1;sz=300x600,300x250;ord=123456789?" border="0" alt="" /></a></noscript>
<!-- end ad tag --></span></a></div></center>
<p>So you can see, the application is starting up right here, and as soon as it's done, the application will be presented from that server over to the workstation. The best part is the workstation, or if it's a Thinbox or if it's a terminal or if it's a tablet or anything like that, as soon as that application is started, it's going to have the actual application locked down and ready to rock.</p>
<p>Alright. There is the Winzip started from our Citrix machine. If you go to options config, go over to passwords, boom, there it is. So you can see, this application doesn't actually live on our machine at all. It's actually installed over there on the terminal server.</p>
<p>PolicyPak can do the exact same thing for your virtualized application, so if you've got thin app from VMware, if you've got a Citrix streaming, or if you have Microsoft App V, we can deliver the settings inside your virtual applications and lock it down.</p>
<h2>Summary</h2>
<p>I think that's all we have time for today. I know I chewed your ear off. We got a lot of stuff in the website. I'd love to see you come to one of my hour long weekly webinars on PolicyPak and if you do, we'll hand over the bits and you can play with it yourself and see if it's right for you. We have a lot of folks who think it's great.</p>
<p>My friends at TrainSignal saw this and they fell over and said we have to show this to our friends. I am really glad they did. So thank you very much for having me here. Appreciate it.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/uC4jUkV6aQxeohHckOFMw1ct5gE/0/da"><img src="http://feedads.g.doubleclick.net/~a/uC4jUkV6aQxeohHckOFMw1ct5gE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/uC4jUkV6aQxeohHckOFMw1ct5gE/1/da"><img src="http://feedads.g.doubleclick.net/~a/uC4jUkV6aQxeohHckOFMw1ct5gE/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Petri?a=7g3RMI87oFQ:64JYxMSavK0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Petri?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Petri?a=7g3RMI87oFQ:64JYxMSavK0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Petri?i=7g3RMI87oFQ:64JYxMSavK0:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Petri/~4/7g3RMI87oFQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.petri.co.il/policypak.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.petri.co.il/policypak.htm</feedburner:origLink></item>
		<item>
		<title>Managing Local User Accounts with Windows PowerShell</title>
		<link>http://feedproxy.google.com/~r/Petri/~3/7Q8xgYwkTyI/managing-local-user-accounts-with-powershell.htm</link>
		<comments>http://www.petri.co.il/managing-local-user-accounts-with-powershell.htm#comments</comments>
		<pubDate>Thu, 17 May 2012 16:16:57 +0000</pubDate>
		<dc:creator>Jeff Hicks</dc:creator>
				<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.petri.co.il/?p=27308</guid>
		<description><![CDATA[In the first part of this series, PowerShell MVP Jeff Hicks demonstrated how to create a local user account with Windows Powershell.  In this follow-up article, Jeff walks you through some basic management tasks accomplished with PowerShell.]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>In my previous article, I demonstrated how to <a href="http://www.petri.co.il/create-local-accounts-with-powershell.htm" title="Creating Local Accounts with Windows PowerShell">create a local user account with Windows PowerShell</a>. In today's article, I want to cover some basic management tasks that can be done with PowerShell. </p>
<div id="adkit_content-block" class="adkit content-block"  rel="nofollow"><a href="http://www.petri.co.il/uri/?id=244&amp;host=www.manageengine.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 21', '244', 'Click']);" title="Monitor 10 Servers for Free! Download a 30-day Trial Here »" rel="nofollow" style="font-size:12px;border:none"><strong style="display: block; clear: both;">Your Windows Infrastructure Will Want This Nifty Tool!</strong></a><a href="http://www.petri.co.il/uri/?id=244&amp;host=www.manageengine.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 21', '244', 'Click']);" title="Monitor 10 Servers for Free! Download a 30-day Trial Here »" rel="nofollow"><img src="/media/244.gif"  alt=" " style="float: left; padding: 5px;font-size: 1em;"/></a> <p>Wouldn't you love it if you could automatically discover and restart an FTP service before even 30 seconds of it being down?<br />
<br />
OpManager through over 500 built-in monitors, event log rules, SNMP traps and remote troubleshooting tools, gives admins a tight grip over Windows server performance, including even MS Exchange, SQL and Active Directory.<br />
<br />
</p><a  href="http://www.petri.co.il/uri/?id=244&amp;host=www.manageengine.com" class="link-title" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 21', '244', 'Click']);" title="Your Windows Infrastructure Will Want This Nifty Tool!" style="clear: both;" rel="nofollow">Monitor 10 Servers for Free! Download a 30-day Trial Here »</a></div>
<h3>Using ADSI</h3>
<p>The first step is to use ADSI and get the local user account object.</p>
<pre>PS C:\> [ADSI]$HelpDesk="WinNT://CHI-FP01/HelpDesk,User"</pre>
<p>Remember, the WinNT moniker is case sensitive. </p>
<h2>Changing Password</h2>
<p>One task you are most likely to need is changing the local account password. If you pipe the ADSI object to Get-Member, you won't see any methods; you just have to know they are there, such as <strong>SetPassword().</strong> This is the same method we called when we set up the account.</p>
<pre>PS C:\> $HelpDesk.SetPassword("P@ssw0rd")</pre>
<div id="adkit_freestyle" class="adkit freestyle"><a  href="/uri/?id=2584&amp;host=www.microsoft.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '2584', 'Click']);" title="" rel="nofollow"><span><div style="min-height:46px; background:url(http://www.petri.co.il/media/download.jpg) no-repeat left center; padding-top:5px"><p style="font-weight:bold; margin-left:30px; margin-top:3px; padding:6px 0px 6px 10px; ">FREE Poster >> Windows Server 2008 R2: Hyper-V Component Architecture [PDF]</p></div></span></a></div>
<p>The change is immediate and there is no need to call <strong>SetInfo().</strong> By the way, if you want to see how old a password is, you can look at the <strong>PasswordAge</strong> property.</p>
<pre>PS C:\> $helpDesk.PasswordAge
1775</pre>
<p>This is a value in seconds. So if you wanted to get the age in days all you need to do is divide it by 86400.</p>
<pre>
PS C:\> [ADSI]$Admin="WinNT://CHI-FP01/Administrator,user"
PS C:\> $admin.PasswordAge.value/86400
269.749664351852</pre>
<h2>Changing Group Membership</h2>
<p>When I set up the HelpDesk local account, I added it to the Power Users group. Well, the account needs to belong to the local Administrators group so I need to fix group membership. First, I’ll remove the account from the Power Users group.</p>
<pre>
PS C:\> [ADSI]$power="WinNT://CHI-FP01/Power Users,group"
PS C:\> $power.Remove($HelpDesk.Path)</pre>
<p>The change is immediate. Now I’ll get a reference to the local administrators group and add the Help Desk account.</p>
<pre>
PS C:\> [ADSI]$Admins="WinNT://CHI-FP01/Administrators,group"
PS C:\> $Admins.Add($HelpDesk.path)</pre>
<p>I don’t think it can get any easier.</p>
<h2>Disabling the Account</h2>
<p>There may come a time when you need to disable the local account. This is part of the accounts’ userflags bitmask value, which requires some little bitwise operations. We’ll need to work with the value that indicates if an account is disabled.</p>
<pre>
PS C:\> $AccountDisable=0x0002</pre>
<p>First, I’ll verify the account is currently enabled by performing a bitwise AND operation:</p>
<pre>
PS C:\> ($HelpDesk.UserFlags.Value -band $AccountDisable) -as [boolean]
False</pre>
<p>I cast the result as a Boolean to make it easier to interpret the results. To disable the account, I’ll need to do a bitwise OR and assign the value to the userflags property.</p>
<pre>
PS C:\> $new=$HelpDesk.UserFlags.Value -bor $AccountDisable
PS C:\> $HelpDesk.put("userflags",$new)
PS C:\> $HelpDesk.SetInfo()</pre>
<p>I can verify by refreshing my cached copy of the object and re-running my <strong>–band</strong> expression.</p>
<pre>
PS C:\> $helpdesk.refreshcache()
PS C:\> ($HelpDesk.UserFlags.Value -band $AccountDisable) -as [boolean]
True</pre>
<p>To re-enable it almost uses the same steps, except you need to use a bitwise XOR operation.</p>
<pre>
PS C:\> $new=$HelpDesk.UserFlags.Value -bxor $AccountDisable
PS C:\> $HelpDesk.put("userflags",$new)
PS C:\> $HelpDesk.SetInfo()
PS C:\> $helpdesk.refreshcache()
PS C:\> ($HelpDesk.UserFlags.Value -band $AccountDisable) -as [boolean]
False</pre>
<h2>Deleting the Account</h2>
<p>Finally, the day may come when you want to delete the account all together. Remember, the account is a child object of the computer so that’s where we need to do the deletion. First, get an ADSI object for the computer.</p>
<pre>
PS C:\> [ADSI]$server="WinNT://CHI-FP01"</pre>
<p>Then call the <strong>Delete()</strong> method, specifying the type of object and its name.</p>
<pre>
PS C:\> $server.delete("user",$helpdesk.name.value)</pre>
<center><div id="adkit_in-content-lower-block" class="adkit lower-block"><a  href="/uri/?id=2780&amp;host=" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 18', '2780', 'Click']);" title="" rel="nofollow"><span><!-- begin ad tag (tile=1) -->
<script type="text/javascript">
//<![CDATA[
ord = window.ord || Math.floor(Math.random()*1E16);
document.write('<script type="text/javascript" src="http://ad2.netshelter.net/adj/ns.petri/general;ppos=btf;kw=;tile=1;sz=300x600,300x250;ord=' + ord + '?"><\/script>');
//]]&gt;
</script>
<noscript><a href="http://ad2.netshelter.net/jump/ns.petri/general;ppos=btf;kw=;tile=1;sz=300x600,300x250;ord=123456789?" target="_blank" ><img src="http://ad2.netshelter.net/ad/ns.petri/general;ppos=btf;kw=;tile=1;sz=300x600,300x250;ord=123456789?" border="0" alt="" /></a></noscript>
<!-- end ad tag --></span></a></div></center>
<p>The change is immediate and there is no need to call <strong>SetInfo()</strong>.</p>
<h2>Overview</h2>
<p>Managing local user accounts obviously can also be done just as easily with the legacy NET commands, which you could easily incorporate into a PowerShell remoting command or session. If you have a larger PowerShell based task that involves local user accounts, using ADSI object is the right approach.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/CTTvl_K8r57qEJ62IIYGcHvaF88/0/da"><img src="http://feedads.g.doubleclick.net/~a/CTTvl_K8r57qEJ62IIYGcHvaF88/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/CTTvl_K8r57qEJ62IIYGcHvaF88/1/da"><img src="http://feedads.g.doubleclick.net/~a/CTTvl_K8r57qEJ62IIYGcHvaF88/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Petri?a=7Q8xgYwkTyI:VxrYmYfQ9r8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Petri?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Petri?a=7Q8xgYwkTyI:VxrYmYfQ9r8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Petri?i=7Q8xgYwkTyI:VxrYmYfQ9r8:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Petri/~4/7Q8xgYwkTyI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.petri.co.il/managing-local-user-accounts-with-powershell.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.petri.co.il/managing-local-user-accounts-with-powershell.htm</feedburner:origLink></item>
		<item>
		<title>How to Recover Deleted and Lost Files</title>
		<link>http://feedproxy.google.com/~r/Petri/~3/C4bUrKiHNSQ/recover-lost-data-from-hard-drive.htm</link>
		<comments>http://www.petri.co.il/recover-lost-data-from-hard-drive.htm#comments</comments>
		<pubDate>Wed, 16 May 2012 18:40:52 +0000</pubDate>
		<dc:creator>Petri IT Knowledgebase Team</dc:creator>
				<category><![CDATA[Backup & Storage]]></category>

		<guid isPermaLink="false">http://www.petri.co.il/?p=27277</guid>
		<description><![CDATA[Anyone who has relied on a hard drive or other storage device has probably lost an important file.  It may be due to accidental deletion, data corruption, or merely a change of mind - "Shoot, I shouldn't have deleted that file!".  The good news is that these files can almost always be restored. In this post, we walk you through a few simple steps to recover those lost files.]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>Whether you’re an IT pro, a normal home user, or a photographer, you have probably accidentally deleted an important file from a hard drive or memory card before.  Maybe you didn’t mean to delete it or maybe you did delete the file intentionally but changed your mind.  Maybe the storage device is beginning to corrupt and become unreliable. The result is always the same; panic.</p>
<p>In this post, we’re going to try and put your panic at ease. With <strong><a title="Stellar Phoenix Windows Recovery" href="http://www.petri.co.il/uri/?id=3042&amp;host=bww.bluesquad.revenuewire.net">Stellar Phoenix Windows Data Recovery</a>,</strong> virtually any file can be recovered from a storage device, generally within just a few minutes.</p>
<div id="adkit_content-block" class="adkit content-block"  rel="nofollow"><a href="http://www.petri.co.il/uri/?id=3043&amp;host=bww.bluesquad.revenuewire.net" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 12', '3043', 'Click']);" title="Free Trial - Download Windows Data Recovery Pro" rel="nofollow" style="font-size:12px;border:none"><strong style="display: block; clear: both;">Recover Lost Files With Windows Data Recovery Pro</strong></a><a href="http://www.petri.co.il/uri/?id=3043&amp;host=bww.bluesquad.revenuewire.net" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 12', '3043', 'Click']);" title="Free Trial - Download Windows Data Recovery Pro" rel="nofollow"><img src="/media/3043.gif"  alt=" " style="float: left; padding: 5px;font-size: 1em;"/></a> <p><div style="width:415px; margin-left:140px; margin-bottom:-35px; margin-top:-7px; font-size:1.1em;"><strong style="font-size:1.2em; color:#1632B5;">Stellar Phoenix Windows Data Recovery will:</strong><br />
<ul style="width:360px; margin-left:60px;"><br />
  <li style="margin-top:-10px;">Recover <strong>lost and formatted</strong> logical drives & partitions</li><br />
  <li style="margin-top:-20px;">Recover<strong> accidentally deleted files</strong></li><br />
   <li style="margin-top:-20px;">Recover MS <strong>Outlook and Outlook Express</strong> files</li><br />
  <li style="margin-top:-20px;"><strong>Fix boot Sector</strong> Corruption</li><br />
  <li style="margin-top:-20px;">Works with <strong>FAT and NTFS</strong> file systems </li><br />
  </ul><br />
</div></p><a  href="http://www.petri.co.il/uri/?id=3043&amp;host=bww.bluesquad.revenuewire.net" class="link-title" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 12', '3043', 'Click']);" title="Recover Lost Files With Windows Data Recovery Pro" style="clear: both;" rel="nofollow">Free Trial - Download Windows Data Recovery Pro</a></div>
<h2><strong>What Happens When a File is Deleted?</strong></h2>
<p>While the idea of dragging a file to the “Recycle Bin” seems pretty straightforward and certainly feels final, the reality is that the file doesn’t actually go anywhere.  When you delete a file, you are simply telling your computer that the file is no longer needed and your operating system simply acts as though the file isn’t there.  The deleted file will actually remain intact until the hard drive needs that space and overwrites it.</p>
<p>The bad news is that if you are really trying to get rid of a file, you’re going to need to do a little more than just move it to and emptying the recycle bin.  The good news is that if you <strong>accidentally deleted a file</strong>, you have a pretty good chance of<strong> recovering it</strong>.  Here’s how…</p>
<div><div id="adkit_freestyle" class="adkit freestyle"><a  href="/uri/?id=3044&amp;host=www.petri.co.il" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 12', '3044', 'Click']);" title="Download Windows Data Recovery Pro" rel="nofollow"><span><div style="min-height:46px; background:url(http://www.petri.co.il/media/download.jpg) no-repeat left center; padding-top:5px"><p style="font-weight:bold; margin-left:30px; margin-top:3px; padding:6px 0px 6px 10px; ">Download Windows Data Recovery Pro and Scan for Lost Files FREE!</p></div></span></a></div></div>
<h2><strong>Real World Data Recovery Scenario</strong></h2>
<p>Even with the recent growth of cloud storage solutions, portable and external storage devices continue to be very convenient.  Additionally, multi-gig thumb drives are about as affordable as your weekly latte budget.  So to demonstrate how to use Data Recovery Pro, we've set up a sample scenario utilizing a simple 2GB USB thumb drive.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/files.png"><img class="alignnone size-full wp-image-27280" title="Thumb Drive With Files" src="http://www.petri.co.il/wp-content/uploads/files.png" alt="Thumb Drive With Files" width="491" height="308" /></a></p>
<p>In our sample scenario, you have a 2GB thumb drive that contains several folders and documents, including a work folder which contains a folder with files from a recent convention in which you helped sell some product for your company.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/revenue-chart-in-folder.png"><img class="alignnone size-full wp-image-27293" title="revenue-chart-in-folder" src="http://www.petri.co.il/wp-content/uploads/revenue-chart-in-folder.png" alt="Folder showing important file" width="491" height="308" /></a></p>
<p>Most important is an image of a graph showing some sales figures that you need to present to your boss tomorrow morning.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/after-alice.png"><img class="alignnone size-full wp-image-27301" title="After Alice" src="http://www.petri.co.il/wp-content/uploads/after-alice.png" alt="Folder showing missing files" width="491" height="308" /></a></p>
<p>What you didn’t anticipate is that your daughter has recently used the drive to transfer her recent Word document, an essay she’s writing for an upcoming final.  Whether she meant to or not, she deleted all of your files in place of her own.</p>
<p>Although your studious child deleted the file, there is a very good chance that the image you need is still on this storage device and can easily be recovered. All you need is some help, and that's where Windows Data Recovery Pro comes in.</p>
<h2><strong>Recovering Files With Data Recovery Pro</strong></h2>
<p>Open Stellar Phoenix Windows Data Recovery Pro.<em> We suggest that you have administration rights when using the program.</em></p>
<p><a href="http://www.petri.co.il/wp-content/uploads/step-1.png"><img class="alignnone size-full wp-image-27294" title="Step 1" src="http://www.petri.co.il/wp-content/uploads/step-1.png" alt="Recover deleted files with Stellar Data Recovery Pro - Step 1" width="376" height="351" /></a></p>
<p>Here you’re presented with several options:</p>
<ul>
<li><strong>Quick Recovery</strong> is, as the name suggests, the quickest form of data recovery.  In <em>most</em> cases this will be sufficient whether you are trying to recover an accidentally deleted file, or cases in which the storage device has some corruption issues.</li>
<li><strong>Deleted File Recovery</strong>will specifically scan for recently deleted files.  It will perform a “quick” or “deep” scan.  In my experience, the quick scan is sufficient but the deep scan certainly recovers more files.</li>
<li><strong>Formatted/Lost File &amp; Folder Recovery</strong> is a very comprehensive scan of the storage device. I have found that when the drive is in fact formatted, this is the best option (not surprisingly).</li>
<li><strong>Search Lost Volume</strong> is the deepest type of scan. It searches every sector on the drive and will try and piece together lost or deleted volumes on the drive.</li>
</ul>
<p>For our example, we’re going to select the “quick” recovery.  For starters, this will scan the drive very quickly, so rather than waiting around for the deep scan, it’s worth waiting the few seconds to see if this quick scan can find your file and if it doesn't, you can then start using the deeper (and more time consuming) scans.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/step-2.png"><img class="alignnone size-full wp-image-27295" title="Data Recovery Pro Step 2" src="http://www.petri.co.il/wp-content/uploads/step-2.png" alt="Recover deleted files with Stellar Data Recovery Pro - Step 2" width="376" height="351" /></a></p>
<p>Start the scan.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/step-3.png"><img class="alignnone size-full wp-image-27296" title="Data Recovery Pro Step 3" src="http://www.petri.co.il/wp-content/uploads/step-3.png" alt="Recover deleted files with Stellar Data Recovery Pro - 3" width="468" height="371" /></a></p>
<p>You’ll notice that it hasn’t completely recovered the original folder structure.  A deeper scan would most likely recover all of the folders as they were last set up but this doesn’t mean it can’t recover our deleted files with the quick scan.  To check, we search for the file name.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/step-4.png"><img class="alignnone size-full wp-image-27297" title="Data Recovery Pro Step 4" src="http://www.petri.co.il/wp-content/uploads/step-4.png" alt="Recover deleted files with Stellar Data Recovery Pro - 4" width="468" height="371" /></a></p>
<p>Fortunately we knew the name of the file, and Data Recovery Pro found 2 versions of the file.  We can verify that this is the right file because a thumbnail is provided.  This is useful if you can’t remember the exact name too, that way you don’t have to waste time recovering files you don’t need.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/step-5.png"><img class="alignnone size-full wp-image-27298" title="Data Recovery Pro Step 5" src="http://www.petri.co.il/wp-content/uploads/step-5.png" alt="Recover deleted files with Stellar Data Recovery Pro - 5" width="468" height="371" /></a></p>
<p>Once we have found the file, we select the file we want and then click on “recover”. This prompts us with a few options.  A nice perk is the recover to FTP server, for today we don’t need this. Instead we simply recover the file to a new folder we created on our desktop. For simplicity, I named it “Recovery”.  Inside we find images, in-tact and there for our use.</p>
<h2>Other features and Use Cases</h2>
<p>Windows Data Recovery Pro will also:</p>
<ul>
<li>Recover deleted emails (PST and DBX files).</li>
<li>Create disk images and clones</li>
<li>Recover Data from OS drives that will no longer boot</li>
</ul>
<h2><strong>Registration Warning</strong></h2>
<p>Windows Data Recovery Pro is not a free program, however you can run the scans before you are required to pay.  This means you can <strong>try it before you buy it</strong>. Simply download the program and run the scan. If you want to use Windows Data Recovery Pro to recover any files that it finds, then you can <a href="http://www.petri.co.il/uri/?id=3045&amp;host=bww.bluesquad.revenuewire.net">register for the product</a>.</p>
<p><a href="http://www.petri.co.il/wp-content/uploads/register.png"><img class="alignnone size-full wp-image-27306" title="register" src="http://www.petri.co.il/wp-content/uploads/register.png" alt="Recover deleted files with Stellar Data Recovery Pro - Register" width="466" height="371" /></a></p>
<p>In this screen shot, you can see that the program scanned a hard drive and only prompts you to register for the product after you know it can recover the files you need.</p>
<h2>Conclusion</h2>
<p>And that’s it!  For this example, the entire process took less than 2 minutes.  We were working with a small (2gb) USB 2.0 thumb drive.  The larger the drive and the slower the interface, the longer the scan will take.  The software is not free and requires registration.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/6LjOhEA1_0PA-wj7xJxpSRGTqrQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/6LjOhEA1_0PA-wj7xJxpSRGTqrQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/6LjOhEA1_0PA-wj7xJxpSRGTqrQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/6LjOhEA1_0PA-wj7xJxpSRGTqrQ/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Petri?a=C4bUrKiHNSQ:I7donMH9AiM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Petri?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Petri?a=C4bUrKiHNSQ:I7donMH9AiM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Petri?i=C4bUrKiHNSQ:I7donMH9AiM:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Petri/~4/C4bUrKiHNSQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.petri.co.il/recover-lost-data-from-hard-drive.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.petri.co.il/recover-lost-data-from-hard-drive.htm</feedburner:origLink></item>
		<item>
		<title>IPv6 Header vs IPv4 Header</title>
		<link>http://feedproxy.google.com/~r/Petri/~3/7-POt1QQUCU/ipv6-header-vs-ipv4.htm</link>
		<comments>http://www.petri.co.il/ipv6-header-vs-ipv4.htm#comments</comments>
		<pubDate>Wed, 16 May 2012 14:45:56 +0000</pubDate>
		<dc:creator>Sean Wilkins</dc:creator>
				<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://www.petri.co.il/?p=25952</guid>
		<description><![CDATA[Since the IPv4 address space will soon be replaced, now is a great time to familiarize yourselves with IPv6. In this post, Sean Wilkins discusses the differences between the IPv6 header and the IPv4 header.]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>When studying IPv6, one of the main things that differs from IPv4 is the complexity of the <a href="http://www.petri.co.il/ipv6-header.htm">IPv6 header</a> compared with that of its predecessor’s header. The IPv6 header was designed to be less complex and easier to process than the IPV4 header, and with efficiency as one of the main design elements. This article takes a look at the contents of the IPv6 header and how they compare with the contents of the IPv4 header.</p>
<div id="adkit_content-block" class="adkit content-block"  rel="nofollow"><a href="http://www.petri.co.il/uri/?id=3025&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3025', 'Click']);" title="Download a FREE 30-Day Trial >>" rel="nofollow" style="font-size:12px;border:none"><strong style="display: block; clear: both;">Get More Out of System Center Configuration Manager</strong></a><a href="http://www.petri.co.il/uri/?id=3025&amp;host=www.solarwinds.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3025', 'Click']);" title="Download a FREE 30-Day Trial >>" rel="nofollow"><img src="/media/3025.gif"  alt=" " style="float: left; padding: 5px;font-size: 1em;"/></a> <p>Extend the power of System Center Configuration Manager (SCCM) with <b>SolarWinds Patch Manager.</b> <br />
<br />
<ul style="padding-left:200px"><li>Automate patching applications across tens of thousands of servers and workstations</li><li>Perform enterprise-wide discovery and inventory quickly and identify rogue, unauthorized, and unpatched computers instantly</li><li>Get visibility into patch compliance with an extensive collection of simple, built-in reports</li><li>Leverage your existing WSUS and System Center Configuration Manager (SCCM) deployments</li></ul></p><a  href="http://www.petri.co.il/uri/?id=3025&amp;host=www.solarwinds.com" class="link-title" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '3025', 'Click']);" title="Get More Out of System Center Configuration Manager" style="clear: both;" rel="nofollow">Download a FREE 30-Day Trial >></a></div>
<h2>IPv6 Header</h2>
<p>Figure 1 below shows the contents of the main contents of the IPv4 header and will be used as a comparison to the IPv6 header elements.</p>
<p style="text-align: center"> <a href="http://www.petri.co.il/wp-content/uploads/ipv4-header.jpg"><img src="http://www.petri.co.il/wp-content/uploads/ipv4-header.jpg" alt="ipv4 header" title="ipv4 header" width="580" class="alignnone size-full wp-image-25953" /></a></p>
<p style="text-align: center">Figure 1 - IPv4 Main Header</p>
<p>The main IPv6 header is shown in Figure 2 below:</p>
<p style="text-align: center"> <a href="http://www.petri.co.il/wp-content/uploads/ipv6-header.jpg"><img src="http://www.petri.co.il/wp-content/uploads/ipv6-header.jpg" alt="ipv6 header" title="ipv6 header" width="580" class="alignnone size-full wp-image-25954" /></a></p>
<p style="text-align: center">Figure 2 - IPv6 Header</p>
<div id="adkit_freestyle" class="adkit freestyle"><a  href="/uri/?id=2834&amp;host=info.eminentware.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 3', '2834', 'Click']);" title="" rel="nofollow"><span><div style="min-height:46px; background:url(http://www.petri.co.il/media/download.jpg) no-repeat left center; padding-top:5px"><p style="font-weight:bold; margin-left:30px; margin-top:3px; padding:6px 0px 6px 10px; ">Download FREE Trial >> Patching Your 3rd Party Apps Has Never Been Easier</p></div></span></a></div>
<p>There are a number of unfamiliar fields within the IPv6 header but each of them replicates some of the functionality of the IPv4 header fields. Table 1 takes a look at each of these fields and what they are used for:</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="145">Version</td>
<td valign="top" width="493">The version field is 4 bits long and contains the IP version to be expected in the following contents; since this article is talking about IPv6, this value is always going to be 6 (0110).</td>
</tr>
<tr>
<td valign="top" width="145">Traffic Class</td>
<td valign="top" width="493">The traffic class field is 8 bits long and operates the same as the IPv4 Type of Service field; this includes support for the marking of traffic based on a differentiated services code point (DSCP).</td>
</tr>
<tr>
<td valign="top" width="145">Flow Label</td>
<td valign="top" width="493">The flow label field is 20 bits long and is new to IPv6 and enables the ability to track specific traffic flows at the network layer.</td>
</tr>
<tr>
<td valign="top" width="145">Payload Length</td>
<td valign="top" width="493">The payload length field is 16 bits long and operates the same as the IPv4 length field; this field includes the length of the data portion of the IPv6 packet.</td>
</tr>
<tr>
<td valign="top" width="145">Next Header</td>
<td valign="top" width="493">The next header field is 8 bits long and operates similarly to the IPv4 protocol field. The next header field indicates what to expect after the basic IPv6 header; this includes options like a TCP or UDP header and packet.</td>
</tr>
<tr>
<td valign="top" width="145">Hop Limit</td>
<td valign="top" width="493">The hop limit field is 8 bits long and operates similarly to the IPv4 Time to Live field. This field is used to specify the maximum number of routers that the packet is allowed to travel through before being discarded.</td>
</tr>
<tr>
<td valign="top" width="145">Source Address</td>
<td valign="top" width="493">The source address field is 128 bits long and operates the same as the IPv4 source address field, with the exception of the length differences.</td>
</tr>
<tr>
<td valign="top" width="145">Destination Address</td>
<td valign="top" width="493">The destination address field is 128 bits long and operates the same as the IPv4 destination address field, with the exception of the length differences.</td>
</tr>
</tbody>
</table>
<p></p>
<center><div id="adkit_in-content-lower-block" class="adkit lower-block"><a  href="/uri/?id=2869&amp;host=www.trainsignal.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 10', '2869', 'Click']);" title="" rel="nofollow"><img src="/media/2869.gif"  alt=" " /> </a></div></center>
<h2>Summary</h2>
<p>With the exhaustion of the IPv4 address space just a short time away, it is in the best interest of any current or future network engineers to become familiar with IPv6. This includes the different header fields and address types, as well as how the different routing protocols are configured compared with their IPv4 counterparts. Keep on the lookout for a number of different IPv6 based articles, which should be coming out shortly.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/SSQrF0QhfU22VC05hVswwNyuVCI/0/da"><img src="http://feedads.g.doubleclick.net/~a/SSQrF0QhfU22VC05hVswwNyuVCI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/SSQrF0QhfU22VC05hVswwNyuVCI/1/da"><img src="http://feedads.g.doubleclick.net/~a/SSQrF0QhfU22VC05hVswwNyuVCI/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Petri?a=7-POt1QQUCU:hD29NVt9epM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Petri?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Petri?a=7-POt1QQUCU:hD29NVt9epM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Petri?i=7-POt1QQUCU:hD29NVt9epM:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Petri/~4/7-POt1QQUCU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.petri.co.il/ipv6-header-vs-ipv4.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.petri.co.il/ipv6-header-vs-ipv4.htm</feedburner:origLink></item>
		<item>
		<title>4 Reasons ReFS (Resilient File System) is Better Than NTFS</title>
		<link>http://feedproxy.google.com/~r/Petri/~3/cV2JmnEwUvM/4-reasons-refs-is-better-than-ntfs.htm</link>
		<comments>http://www.petri.co.il/4-reasons-refs-is-better-than-ntfs.htm#comments</comments>
		<pubDate>Tue, 15 May 2012 15:45:03 +0000</pubDate>
		<dc:creator>Michael Simmons</dc:creator>
				<category><![CDATA[Windows Server 2012]]></category>

		<guid isPermaLink="false">http://www.petri.co.il/?p=27241</guid>
		<description><![CDATA[Resilient File System (ReFS) is a new file system introduced in Windows Server 2012, which, before long, we will all be using on our boot partitions. In this post, Michael Simmons explains how ReFS will likely replace NTFS completely within the next versions of Windows, and why you will love this new file system.]]></description>
			<content:encoded><![CDATA[<h2>Overview</h2>
<p>Resilient File System (ReFS) is a new file system introduced in Windows Server 2012. Initially, it is being targeted for implementation as a file system that is primarily used for file servers. However, starting as the file system for a file server is just the beginning. Like its predecessor, NTFS, ReFS will begin as a file server system, then become a mainstream file system. Before long, we will all be using ReFS on our boot partitions. </p>

<p>So why would you want to change file systems? If NTFS is working, why should anybody even consider switching to ReFS? ReFS is better and faster in many ways than NTFS, but in one way more than all others: its resiliency. </p>
<p>Resilient File System will likely replace NTFS completely within the next versions of Windows, and here are some reasons why you are going to really love the new file system.</p>
<div id="adkit_freestyle" class="adkit freestyle"><a  href="/uri/?id=2935&amp;host=www.microsoft.com" onClick="_gaq.push(['_trackEvent', 'AdKit ** Client 13', '2935', 'Click']);" title="" rel="nofollow"><span><div style="min-height:46px; background:url(http://www.petri.co.il/media/download.jpg) no-repeat left center; padding-top:5px"><p style="font-weight:bold; margin-left:30px; margin-top:3px; padding:6px 0px 6px 10px; ">FREE 90-Day Trial of Windows Azure: An Open & Flexible Cloud Platform Built For You</p></div>
</span></a></div>
<h2>4) ReFS Supports Long File Names and File Path. Really Long.</h2>
<p>Capacity is just one of the ways that ReFS is making changes. There will no longer be a limitation of 255 characters for a long file name. A file name in ReFS can be up to 32,768 unicode characters long! The limitation on full path size has also been updated from 255 characters for the total path size to 32K (32,768). </p>
<p>The legacy 8.3 naming convention is no longer stored as part of the file data. There is only one file name, and it can be a very long name.</p>
<p>Other changes have increased the capacity as well, though it is unlikely that the maximum size of a single volume will impact a real person. NTFS already had a maximum volume size of 16 Exabytes. The ReFS format allows a maximum volume size of 262,144 Exabytes.</p>
<h2>3) ReFS is Much Better at Handling Power Outages</h2>
<p>NTFS stores all of its file information in metadata. The filename is stored in the metadata. The location on the hard disk is stored in the metadata. When you rename a file, you’re changing the metadata. Likewise, ReFS stores its file information in metadata.</p>
<p>One big difference in how NTFS and ReFS are different is in the way they update the metadata. NTFS performs like metadata updates, which means that the metadata is updated “in-place.” The metadata says your new folder is named “New Folder,” and then you rename it to “Downloaded Files.” When you make the change, the actual metadata itself is written over. When a power outage occurs at the time you’re updating a disk, the metadata can be partially or completely overwritten, causing data corruption (called a “torn write”). You may <a href="http://www.petri.co.il/crash-dump-analysis-how-to-install-the-windows-debugger.htm" title="Petri IT Knowledgebase - Crash Dump Analysis, Part 1">experience a BSOD</a> when you try to restart, or you may find that your data is no longer accessible. </p>
<p>ReFS does not update the metadata in-place. Instead, it creates a new copy of the metadata, and only once the new copy of the metadata is intact and all the writes have taken place does the file update itself with the new metadata. There are further improvements to the way that ReFS handles writes to the metadata, but for the most part the other changes are performance improvements. This new way of updating metadata allows you to reliably and consistently recover from power outages without disk corruption.</p>
<blockquote><p>“We perform significant testing where power is withdrawn from the system while the system is under extreme stress, and once the system is back up, all structures are examined for correctness. This testing is the ultimate measure of our success. We have achieved an unprecedented level of robustness in this test for Microsoft file systems. We believe this is industry-leading and fulfills our key design goals.” </p></blockquote>
<p>- Surendra Verma, <a href="http://blogs.msdn.com/b/b8/archive/2012/01/16/building-the-next-generation-file-system-for-windows-refs.aspx" title="Building Windows 8 Blog – Building the next generation file system for windows: ReFS">“Building the Next Generation File System for Windows 8”</a><br />
Development Manager, Storage and File Systems<br />
Microsoft  </p>
<h2>2) ReFS works with Storage Spaces to Better Detect and Repair Problems</h2>
<p>Storage Spaces is a storage virtualization technology. Storage Spaces was not made to run exclusively with ReFS, but they do work great together. ReFS has improved functionality when used in conjunction with Storage Spaces. Likewise, some of the redundancy features that Storage Spaces offers are able to be leveraged because of the abilities of ReFS. </p>
<p>So ReFS can be used without Storage Spaces, and Storage Spaces can be used without ReFS, but when they are used together, both ReFS and Storage Spaces both work more effectively. Storage Spaces uses mirroring, spreading copies of data across multiple physical data drives. When Storage Spaces finds a problem with even one piece of corrupt data on a drive, the corrupt data will be removed from the drive, and will be replaced with a known good copy of the data from another one of the physical drives.</p>
<p>ReFS uses checksums on the metadata to ensure that the data has not been corrupted. When Storage Spaces finds mismatched data between two or more copies of the same file, it can rely on the built-in metadata checksums that are a feature of ReFS. Once the checksums are validated, the correct data is copied back to the other physical drives, and the corrupted data is removed.</p>
<p>Occasionally, an ReFS drive controlled by Storage Spaces will undergo routine maintenance called <em>“scrubbing.”</em> Scrubbing is a task that runs on each file in a Storage Space. Checksums are verified, and if there are any checksums that are found to be invalid, the corrupted data is replaced with known good data from a physical drive that has a valid checksum. Scrubbing is on by default, but can be customized and configured even on individual files.</p>
<center></center>
<h2>1) ReFS Volumes can Stay Live even if they have Irreparable Corruption</h2>
<p>With NTFS, even a small amount of data corruption can cause big problems. With ReFS you are much less likely to have problems. In a case where a system is not using Storage Spaces and mirroring, or if for some strange reason one part of the data across the whole mirror is corrupt, only the corrupt parts will be removed from the volume, and the volume itself will stay active, thanks to <em>“salvage.”</em></p>
<p>Salvage can remove even a single file that is corrupt. Once the corrupt data is removed, the volume is brought back. This turns what is usually a server that is brought offline for time consuming disk checking utilities to find and repair the entries, to a volume which is repaired except for the corrupt data files and brought back online in under one second.</p>
<h2>Conclusion</h2>
<p>Just like NTFS, ReFS brings with it some major improvements which will become a normal part of our industry for the likely future. Specifically, ReFS brings improvements in the way that metadata is updated, and by using checksums to ensure that corrupt data is easily found and repaired.</p>
<p>ReFS is the most robust file system from Microsoft to date, with reliability built in to make the most of our time and reduce the total cost of ownership on Windows Servers.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/xGOUTmLejPO6MgQDxJPbfbOx4F4/0/da"><img src="http://feedads.g.doubleclick.net/~a/xGOUTmLejPO6MgQDxJPbfbOx4F4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/xGOUTmLejPO6MgQDxJPbfbOx4F4/1/da"><img src="http://feedads.g.doubleclick.net/~a/xGOUTmLejPO6MgQDxJPbfbOx4F4/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/Petri?a=cV2JmnEwUvM:zz7CE0MyuDQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/Petri?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/Petri?a=cV2JmnEwUvM:zz7CE0MyuDQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/Petri?i=cV2JmnEwUvM:zz7CE0MyuDQ:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/Petri/~4/cV2JmnEwUvM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.petri.co.il/4-reasons-refs-is-better-than-ntfs.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.petri.co.il/4-reasons-refs-is-better-than-ntfs.htm</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 0.606 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-05-26 23:25:51 -->

