<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 - Entries tagged with POW2</title>
    <atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Tags/pow2/RSS"></atom:link>
    <itunes:summary></itunes:summary>
    <itunes:author>Microsoft</itunes:author>
    <itunes:subtitle></itunes:subtitle>
    <image>
      <url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
      <title>Channel 9 - Entries tagged with POW2</title>
      <link>http://channel9.msdn.com/Tags/pow2</link>
    </image>
    <itunes:image href=""></itunes:image>
    <itunes:category text="Technology"></itunes:category>
    <description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
    <link>http://channel9.msdn.com/Tags/pow2</link>
    <language>en</language>
    <pubDate>Fri, 24 May 2013 00:43:34 GMT</pubDate>
    <lastBuildDate>Fri, 24 May 2013 00:43:34 GMT</lastBuildDate>
    <generator>Rev9</generator>
    <c9:totalResults>5</c9:totalResults>
    <c9:pageCount>1</c9:pageCount>
    <c9:pageSize>25</c9:pageSize>
  <item>
      <title>Windows PowerShell V2 IIS Provider</title>
      <description><![CDATA[This video demonstration provides and introduction to the new Windows PowerShell provider for IIS available new&nbsp;with Windows Server 2008 R2.<br>
<br>
See additional information via <a shape="rect" href="http://code.msdn.microsoft.com/psv2" title="Samples and Links" target="_blank" shape="rect">
MSDN Code Gallery</a>.<br>
 <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/pow2/RSS&WT.dl=0&WT.entryid=Entry:RSSView:fcb135366ef5416cb1de9deb000b65dd">]]></description>
      <comments>http://channel9.msdn.com/Blogs/philpenn/How-to-use-the-New-PowerShell-V2-IIS-Provider</comments>
      <itunes:summary>This video demonstration provides and introduction to the new Windows PowerShell provider for IIS available new&amp;nbsp;with Windows Server 2008 R2.

See additional information via 
MSDN Code Gallery.
</itunes:summary>
      <link>http://channel9.msdn.com/Blogs/philpenn/How-to-use-the-New-PowerShell-V2-IIS-Provider</link>
      <pubDate>Tue, 05 May 2009 20:16:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/Blogs/philpenn/How-to-use-the-New-PowerShell-V2-IIS-Provider</guid>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/100/468071_100x75.jpg" height="75" width="100"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/220/468071_220x165.jpg" height="165" width="220"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/320/0e295a51-d5ad-4300-bdce-5d79d7a52954.jpg" height="240" width="320"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/85/9ccfa6e5-25ee-484a-a10d-b6095c5d212f.jpg" height="64" width="85"></media:thumbnail>
      <media:group>
        <media:content url="http://dl.getdropbox.com/u/205482/PowerShellV2-IIS.wmv" expression="full" fileSize="5305167" type="video/x-ms-wmv" medium="video"></media:content>
      </media:group>      
      <enclosure url="http://dl.getdropbox.com/u/205482/PowerShellV2-IIS.wmv" length="5305167" type="video/x-ms-wmv"></enclosure>
      <dc:creator>Phil Pennington</dc:creator>
      <itunes:author>Phil Pennington</itunes:author>
      <slash:comments>0</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/Blogs/philpenn/How-to-use-the-New-PowerShell-V2-IIS-Provider/RSS</wfw:commentRss>
      <category>POW2</category>
      <category>PowerShell</category>
      <category>PSV2</category>
      <category>R2</category>
      <category>R2IIS</category>
      <category>w2k8r2</category>
      <category>Windows Server 2008 R2</category>
    </item>
  <item>
      <title>Windows PowerShell V2 Remote Sessions</title>
      <description><![CDATA[This video demonstrates using Windows PowerShell V2 remote sessions.&nbsp;&nbsp; This is a new feature with V2 and available natively within Windows 7 and Windows Server 2008 R2.<br>
<br>
See more info about Windows PowerShell V2 at <a shape="rect" href="http://code.msdn.microsoft.com/psv2" shape="rect">
<span>MSDN Code Gallery</span></a>.<br>
<br>
 <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/pow2/RSS&WT.dl=0&WT.entryid=Entry:RSSView:fbb1abac47bd460a9cad9deb000b69f8">]]></description>
      <comments>http://channel9.msdn.com/Blogs/philpenn/PowerShell-V2-Remote-Sessions</comments>
      <itunes:summary>This video demonstrates using Windows PowerShell V2 remote sessions.&amp;nbsp;&amp;nbsp; This is a new feature with V2 and available natively within Windows 7 and Windows Server 2008 R2.

See more info about Windows PowerShell V2 at 
MSDN Code Gallery.

</itunes:summary>
      <itunes:duration>510</itunes:duration>
      <link>http://channel9.msdn.com/Blogs/philpenn/PowerShell-V2-Remote-Sessions</link>
      <pubDate>Sat, 02 May 2009 23:32:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/Blogs/philpenn/PowerShell-V2-Remote-Sessions</guid>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/100/467770_100x75.jpg" height="75" width="100"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/220/467770_220x165.jpg" height="165" width="220"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/320/b9937f99-a4a1-4397-99b2-654af9a8c6f9.jpg" height="240" width="320"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/85/a3698a2d-3482-426a-8df4-5c98654ce936.jpg" height="64" width="85"></media:thumbnail>
      <media:group>
        <media:content url="http://dl.getdropbox.com/u/205482/Powershell-Remoting.wmv" expression="full" duration="510" fileSize="7022821" type="video/x-ms-wmv" medium="video"></media:content>
      </media:group>      
      <enclosure url="http://dl.getdropbox.com/u/205482/Powershell-Remoting.wmv" length="7022821" type="video/x-ms-wmv"></enclosure>
      <dc:creator>Phil Pennington</dc:creator>
      <itunes:author>Phil Pennington</itunes:author>
      <slash:comments>0</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/Blogs/philpenn/PowerShell-V2-Remote-Sessions/RSS</wfw:commentRss>
      <category>POW2</category>
      <category>PowerShell</category>
      <category>PSV2</category>
      <category>R2efficient</category>
      <category>w2k8r2</category>
      <category>Windows Server 2008 R2</category>
    </item>
  <item>
      <title>Windows PowerShell V2 Modules</title>
      <description><![CDATA[
<p>This video demonstrates converting a Windows PowerShell script to a Windows PowerShell module.<br>
<br>
See more info at <a shape="rect" href="http://code.msdn.microsoft.com/psv2" title="Links and Samples" target="_blank" shape="rect">
MSDN Code Gallery</a>.<br>
<br>
The video starts by introducing a simple script file, <b>counter.ps1</b>, with three functions and two variables.<br>
<br>
The script file is dot sourced into the environment.&nbsp; All variables and functions are now in scope.&nbsp; The intent is to only have two of the functions in scope, with the rest being private implementation details.<br>
<br>
Next, the file is renamed from <b>counter.ps1</b> to <b>counter.psm1</b> for the correct module extension.&nbsp; Using the
<b>Import-Module</b> cmdlet, the module is loaded into scope.&nbsp; It is demonstrated that the variables are private, however all functions are public.&nbsp; This is shown using
<b>Get-Command -module counter </b>to list the exported commands.<br>
<br>
Before changing the module it is necessary to remove it from scope.&nbsp; This is accomplished using
<b>Get-Module |</b> <b>Remove-Module </b>to<b> </b>pipe any modules (only one in this sample) to be removed.<br>
<br>
In order to hide certain functions, it is necessary to specific which are public using
<b>Export-ModuleMember function_name</b>.&nbsp; By specifying only the intended public functions, others remain private, only accessible from within the module.</p>
<p>&nbsp;</p>
 <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/pow2/RSS&WT.dl=0&WT.entryid=Entry:RSSView:0440f9fc7ba34cbe85ac9deb000b7085">]]></description>
      <comments>http://channel9.msdn.com/Blogs/philpenn/PowerShell-V2-Modules</comments>
      <itunes:summary>
This video demonstrates converting a Windows PowerShell script to a Windows PowerShell module.

See more info at 
MSDN Code Gallery.

The video starts by introducing a simple script file, counter.ps1, with three functions and two variables.

The script file is dot sourced into the environment.&amp;nbsp; All variables and functions are now in scope.&amp;nbsp; The intent is to only have two of the functions in scope, with the rest being private implementation details.

Next, the file is renamed from counter.ps1 to counter.psm1 for the correct module extension.&amp;nbsp; Using the
Import-Module cmdlet, the module is loaded into scope.&amp;nbsp; It is demonstrated that the variables are private, however all functions are public.&amp;nbsp; This is shown using
Get-Command -module counter to list the exported commands.

Before changing the module it is necessary to remove it from scope.&amp;nbsp; This is accomplished using
Get-Module | Remove-Module to pipe any modules (only one in this sample) to be removed.

In order to hide certain functions, it is necessary to specific which are public using
Export-ModuleMember function_name.&amp;nbsp; By specifying only the intended public functions, others remain private, only accessible from within the module. 
&amp;nbsp; 
</itunes:summary>
      <itunes:duration>346</itunes:duration>
      <link>http://channel9.msdn.com/Blogs/philpenn/PowerShell-V2-Modules</link>
      <pubDate>Thu, 09 Apr 2009 19:41:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/Blogs/philpenn/PowerShell-V2-Modules</guid>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/100/464640_100x75.jpg" height="75" width="100"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/220/464640_220x165.jpg" height="165" width="220"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/320/f47b981e-7c41-4577-9b57-00d3325d8761.jpg" height="240" width="320"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/85/98ec9271-f8b6-46c1-b8be-80ea83f73af5.jpg" height="64" width="85"></media:thumbnail>
      <media:group>
        <media:content url="http://dl.getdropbox.com/u/205482/PowerShellV2Modules.wmv" expression="full" duration="346" fileSize="6174961" type="video/x-ms-wmv" medium="video"></media:content>
      </media:group>      
      <dc:creator>Phil Pennington</dc:creator>
      <itunes:author>Phil Pennington</itunes:author>
      <slash:comments>1</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/Blogs/philpenn/PowerShell-V2-Modules/RSS</wfw:commentRss>
      <category>POW2</category>
      <category>PowerShell</category>
      <category>PSV2</category>
      <category>w2k8r2</category>
      <category>Windows 7</category>
      <category>Windows Server 2008 R2</category>
    </item>
  <item>
      <title>Windows PowerShell V2 Sessions and Debugging</title>
      <description><![CDATA[
<p>This video demonstration walks through the steps of creating and using sessions in Windows PowerShell v2.&nbsp; It also introduces the debugging functions such as working with breakpoints.<br>
<br>
See additional information via <a shape="rect" href="http://code.msdn.microsoft.com/psv2" title="Samples and Links" target="_blank" shape="rect">
MSDN Code Gallery</a>.<br>
<br>
<strong>Demo:</strong></p>
<p>The Universal Code Execution Model means that you can run your cmdlets, scripts, and functions in any session, locally or remotely.&nbsp; A Windows PowerShell session is actually a persistent connection to the computer using the Windows Remote Management (WinRM)
 service.&nbsp; Creating sessions is performed using the New-PSSession cmdlet.&nbsp; </p>
<p>First, display the current process ID using the $pid environment variable.&nbsp; Next, create a new session on the localhost using New-PSSession.</p>
<p>The Invoke-Command cmdlet will cause script to be invoked on the given session, and in this case will simply output the value of $pid, the process ID, on the given session.&nbsp; This is a quick way to verify that the session is truly a different process from
 the original state.</p>
<p>The Get-PSSession cmdlet will display any running sessions.&nbsp; This does not include your terminal window which is not managed as a connection.&nbsp; Without running New-PSSession, the Get-PSSession cmdlet will not return any objects.</p>
<p>Next, execute the Some-Functions.ps1 script file containing a simple Square-Root function.&nbsp; Once invoked, you can execute the functions in the session, but not in the local terminal.&nbsp; The Import-PSSession cmdlet, run next, imports the sqrtAdvance function
 so it can be used locally.</p>
<p>Finally, the Remove-PSSession cmdlet is invoked to destroy the session and its underlying connection.&nbsp; Calling Get-PSSession confirms that it is no longer active.</p>
<p>Next, the video covers debugging using the Integrated Scripting Environment (ISE).&nbsp; The Set-PSBreakpoint cmdlet allows you to declare a breakpoint on a line, variable, or command.&nbsp; In the video, the breakpoint is placed on the variable &quot;s1&quot; which is the
 session variable.&nbsp; A breakpoint also specifies AccessMode, by default, Write.&nbsp; As soon as anything attempts to modify the value of &quot;s1&quot; code execution will break.</p>
<p>The existing script for working with sessions is started and as soon as the New-PSSession cmdlet is run, the breakpoint takes effect.&nbsp; ISE has a Debug menu which supports creating and managing breakpoints, stepping through and resuming code, and evening
 showing the call stack.&nbsp; The video steps through the code and demonstrates these features.</p>
 <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/pow2/RSS&WT.dl=0&WT.entryid=Entry:RSSView:5923ba2dd864460b842a9deb000b74af">]]></description>
      <comments>http://channel9.msdn.com/Blogs/philpenn/PowerShell-V2-Sessions-and-Debugging</comments>
      <itunes:summary>
This video demonstration walks through the steps of creating and using sessions in Windows PowerShell v2.&amp;nbsp; It also introduces the debugging functions such as working with breakpoints.

See additional information via 
MSDN Code Gallery.

Demo: 
The Universal Code Execution Model means that you can run your cmdlets, scripts, and functions in any session, locally or remotely.&amp;nbsp; A Windows PowerShell session is actually a persistent connection to the computer using the Windows Remote Management (WinRM)
 service.&amp;nbsp; Creating sessions is performed using the New-PSSession cmdlet.&amp;nbsp;  
First, display the current process ID using the $pid environment variable.&amp;nbsp; Next, create a new session on the localhost using New-PSSession. 
The Invoke-Command cmdlet will cause script to be invoked on the given session, and in this case will simply output the value of $pid, the process ID, on the given session.&amp;nbsp; This is a quick way to verify that the session is truly a different process from
 the original state. 
The Get-PSSession cmdlet will display any running sessions.&amp;nbsp; This does not include your terminal window which is not managed as a connection.&amp;nbsp; Without running New-PSSession, the Get-PSSession cmdlet will not return any objects. 
Next, execute the Some-Functions.ps1 script file containing a simple Square-Root function.&amp;nbsp; Once invoked, you can execute the functions in the session, but not in the local terminal.&amp;nbsp; The Import-PSSession cmdlet, run next, imports the sqrtAdvance function
 so it can be used locally. 
Finally, the Remove-PSSession cmdlet is invoked to destroy the session and its underlying connection.&amp;nbsp; Calling Get-PSSession confirms that it is no longer active. 
Next, the video covers debugging using the Integrated Scripting Environment (ISE).&amp;nbsp; The Set-PSBreakpoint cmdlet allows you to declare a breakpoint on a line, variable, or command.&amp;nbsp; In the video, the breakpoint is placed on the variable &amp;quot;</itunes:summary>
      <itunes:duration>809</itunes:duration>
      <link>http://channel9.msdn.com/Blogs/philpenn/PowerShell-V2-Sessions-and-Debugging</link>
      <pubDate>Thu, 09 Apr 2009 19:17:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/Blogs/philpenn/PowerShell-V2-Sessions-and-Debugging</guid>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/100/464627_100x75.jpg" height="75" width="100"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/220/464627_220x165.jpg" height="165" width="220"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/320/1ff5e20e-a6ff-4892-b3ff-3a378c924087.jpg" height="240" width="320"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/85/5caa0fdb-90ad-4937-ad47-709e7efa1228.jpg" height="64" width="85"></media:thumbnail>
      <media:group>
        <media:content url="http://dl.getdropbox.com/u/205482/PowerShellV2-SessionsAndDebug.wmv" expression="full" duration="809" fileSize="9988345" type="video/x-ms-wmv" medium="video"></media:content>
      </media:group>      
      <dc:creator>Phil Pennington</dc:creator>
      <itunes:author>Phil Pennington</itunes:author>
      <slash:comments>2</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/Blogs/philpenn/PowerShell-V2-Sessions-and-Debugging/RSS</wfw:commentRss>
      <category>POW2</category>
      <category>PowerShell</category>
      <category>PSV2</category>
      <category>w2k8r2</category>
      <category>Windows 7</category>
      <category>Windows Server 2008 R2</category>
    </item>
  <item>
      <title>Windows PowerShell V2 Functions</title>
      <description><![CDATA[
<p>Creating functions in Windows PowerShell is an easy way to extend the environment without resorting to code compilation and complicated deployment steps.</p>
<p>By using functions along with the right attributes and parameters, you can create first-class code extensions in PowerShell v2 without ever opening Visual Studio.&nbsp;
<br>
<br>
See additional details on this and other Windows PowerShell V2 features at <a shape="rect" href="http://code.msdn.microsoft.com/psv2" title="Code Gallery" target="_blank" shape="rect">
MSDN Code Gallery</a>.</p>
 <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Tags/pow2/RSS&WT.dl=0&WT.entryid=Entry:RSSView:09a0b6909be849fc9e309deb000b792b">]]></description>
      <comments>http://channel9.msdn.com/Blogs/philpenn/PowerShell-V2-Functions</comments>
      <itunes:summary>
Creating functions in Windows PowerShell is an easy way to extend the environment without resorting to code compilation and complicated deployment steps. 
By using functions along with the right attributes and parameters, you can create first-class code extensions in PowerShell v2 without ever opening Visual Studio.&amp;nbsp;


See additional details on this and other Windows PowerShell V2 features at 
MSDN Code Gallery. 
</itunes:summary>
      <itunes:duration>384</itunes:duration>
      <link>http://channel9.msdn.com/Blogs/philpenn/PowerShell-V2-Functions</link>
      <pubDate>Thu, 09 Apr 2009 19:01:00 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/Blogs/philpenn/PowerShell-V2-Functions</guid>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/100/464609_100x75.jpg" height="75" width="100"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/220/464609_220x165.jpg" height="165" width="220"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/320/ebb27159-0fac-402e-812a-d3dbf0a425ca.jpg" height="240" width="320"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/85/4f81b188-5eb9-4693-99fa-6b083dc9b9b1.jpg" height="64" width="85"></media:thumbnail>
      <media:group>
        <media:content url="http://dl.getdropbox.com/u/205482/PowerShellV2-Functions.wmv" expression="full" duration="384" fileSize="4956343" type="video/x-ms-wmv" medium="video"></media:content>
      </media:group>      
      <enclosure url="http://dl.getdropbox.com/u/205482/PowerShellV2-Functions.wmv" length="4956343" type="video/x-ms-wmv"></enclosure>
      <dc:creator>Phil Pennington</dc:creator>
      <itunes:author>Phil Pennington</itunes:author>
      <slash:comments>0</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/Blogs/philpenn/PowerShell-V2-Functions/RSS</wfw:commentRss>
      <category>POW2</category>
      <category>PowerShell</category>
      <category>PSV2</category>
      <category>w2k8r2</category>
      <category>Windows 7</category>
      <category>Windows Server 2008 R2</category>
    </item>    
</channel>
</rss>