<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Ben Shy's Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/benshy/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/benshy/feed.xml</link>
    <description />
    <lastBuildDate>Fri, 17 Apr 2015 02:06:42 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Using PowerShell to create Event log events to validate SCOM Rules</title>
      <link>https://docs.microsoft.com/archive/blogs/benshy/using-powershell-to-create-event-log-events-to-validate-scom-rules</link>
      <pubDate>Thu, 07 Jun 2012 10:10:00 GMT</pubDate>
      <dc:creator><![CDATA[B_Shy]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/benshy/2012/06/07/using-powershell-to-create-event-log-events-to-validate-scom-rules/</guid>
      <description><![CDATA[In our test lab, we have several custom business applications that we create System Center...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">In our test lab, we have several custom business applications that we create System Center Operations Manager rules in order to alert on any errors thrown by the application(s). </span><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">When we create the SCOM rules, we want to validate that the rules function correctly and the SCOM alerts are successfully generated.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"></span><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">To mimic an application error, in order to validate the SCOM rules, we typically leverage PowerShell scripts to create faux events. We then validate that the events are picked up by SCOM and an alert is generated.</span></p>
<p></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">The script must be run as administrator and assuming that the <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/bb648601(v=vs.85).aspx">ExecutionPolicy</a> is set in such a way to allow the script to run.</span></p>
<p><span style="font-family: trebuchet ms,geneva; color: #008000; font-size: small;">## Script Variables</span><br /><span style="font-family: trebuchet ms,geneva; font-size: small;"><span style="color: #ff0000;">$Log</span> <span style="color: #808080;">=</span> <span style="color: #993300;">"System"</span></span><br /><span style="font-family: trebuchet ms,geneva; font-size: small;"><span style="color: #ff0000;">$Source</span> <span style="color: #808080;">=</span> <span style="color: #993300;">"TestWebSource"</span></span><br /><span style="font-family: trebuchet ms,geneva; font-size: small;"><span style="color: #ff0000;">$Message</span> <span style="color: #808080;">=</span> <span style="color: #993300;">"The web service is not responding"</span></span><br /><span style="font-family: trebuchet ms,geneva; font-size: small;"><span style="color: #ff0000;">$ID <span style="color: #808080;">=</span></span> <span style="color: #993300;">"911"</span></span><br /><span style="font-family: trebuchet ms,geneva; font-size: small;"><span style="color: #ff0000;">$AlertType</span> <span style="color: #808080;">=</span> <span style="color: #993300;">"Error"</span> </span><br /><span style="font-family: trebuchet ms,geneva; font-size: small;"><span style="color: #ff0000;">$ComputerName</span> <span style="color: #808080;">=</span> <span style="color: #993300;">"."</span></span><br /><span style="font-family: trebuchet ms,geneva; font-size: small;"><span style="color: #ff0000;">$RawData</span> <span style="color: #808080;">=</span> <span style="color: #993300;">""</span></span></p>
<p><span style="font-family: trebuchet ms,geneva; color: #008000; font-size: small;">##Register the source</span><br /><span style="font-family: trebuchet ms,geneva; font-size: small;"><span style="color: #3366ff;">New-eventlog</span> <span style="color: #0000ff;">-logname</span> <span style="color: #ff0000;">$Log</span> <span style="color: #0000ff;">-ComputerName</span> <span style="color: #ff0000;">$ComputerName</span> <span style="color: #0000ff;">-Source</span> <span style="color: #ff0000;">$Source</span> <span style="color: #0000ff;">-ErrorVariable</span> <span style="color: #800080;">Err</span> <span style="color: #0000ff;">-ErrorAction</span> <span style="color: #800080;">SilentlyContinue</span></span></p>
<p><span style="font-family: trebuchet ms,geneva; color: #008000; font-size: small;">##Write to the system log</span><br /><span style="font-family: trebuchet ms,geneva; font-size: small;"><span style="color: #3366ff;">Write-eventlog</span> <span style="color: #0000ff;">-logname</span> <span style="color: #ff0000;">$Log</span> <span style="color: #0000ff;">-ComputerName</span> <span style="color: #ff0000;">$ComputerName</span> <span style="color: #0000ff;">-Source</span> <span style="color: #ff0000;">$Source</span> <span style="color: #0000ff;">-Message</span> <span style="color: #ff0000;">$Message</span> <span style="color: #0000ff;">-id</span> <span style="color: #ff0000;">$ID</span> <span style="color: #0000ff;">-EntryType</span> <span style="color: #ff0000;">$AlertType</span></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><b>Note:</b> I&rsquo;m using PowerShell in this post, but you can also use Eventcreate.exe <a href="https://technet.microsoft.com/en-us/library/bb490899.aspx">https://technet.microsoft.com/en-us/library/bb490899.aspx</a> for similar results.</span></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Using a PowerShell script to run as a different user &amp; elevate the process.</title>
      <link>https://docs.microsoft.com/archive/blogs/benshy/using-a-powershell-script-to-run-as-a-different-user-elevate-the-process</link>
      <pubDate>Mon, 04 Jun 2012 16:52:00 GMT</pubDate>
      <dc:creator><![CDATA[B_Shy]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/benshy/2012/06/04/using-a-powershell-script-to-run-as-a-different-user-elevate-the-process/</guid>
      <description><![CDATA[There are times when I want to elevate a PowerShell process on one of our lab Windows 7 clients...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: small;" size="3">There are times when I want to elevate a PowerShell process on one of our lab Windows 7 clients &amp; run a script as a user account with administrator privileges. </span></p>
<p><span style="font-size: small;" size="3">Usually I&rsquo;m working on a lab machine running as a non-administrative test user. Since you cannot easily elevate <b>and</b> run as a different user from the right-click context menu, I wrote a simple script that I thought I&rsquo;d share.</span></p>
<p><b>Note:</b> One thing to call out is that our lab machines have their Execution Policy set for Unrestricted.</p>
<p><span style="font-size: small;" size="3">The script:</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;"><span style="color: #008080;"><b>Start-Process</b></span> <span style="color: #993300;">powershell.exe</span> <span style="color: #008080;"><i>-Credential</i></span> <span style="color: #993300;">"TestDomain\Me"</span> <span style="color: #008080;"><i>-NoNewWindow</i> <i>-ArgumentList</i></span> <span style="color: #993300;">"Start-Process powershell.exe -Verb runAs"</span></span></p>
<p></p>
<p><span style="font-size: small;" size="3">The following section starts the PowerShell command-line process with </span><a href="https://technet.microsoft.com/en-us/library/dd347667.aspx"><span style="font-size: small;" size="3">Start-Process</span></a><span style="font-size: small;" size="3"> prompting for user credentials. You may not need this dependent on UAC settings, as you might already get an over-the-shoulder prompt for creds during elevation. &nbsp;</span></p>
<p><b><span style="font-family: arial,helvetica,sans-serif;"><span style="color: #008080;"><b>Start-Process</b></span> <span style="color: #993300;">powershell.exe</span> <span style="color: #008080;"><i>-Credential</i></span> <span style="color: #993300;">"TestDomain\Me"</span></span></b></p>
<p><span style="font-size: small;" size="3">The<span style="font-family: Calibri;" face="Calibri">&nbsp;<span style="color: #008080;"><i>-NoNewWindow</i></span></span></span><i> </i><span style="font-size: small;" size="3">parameter re-uses the same PowerShell command window. </span></p>
<p><span style="font-size: small;" size="3">Here I&rsquo;m using <span style="font-family: Calibri;" face="Calibri"></span></span><span style="color: #008080;"><i><i>-ArgumentList</i> </i></span><span style="font-size: small;" size="3">parameter to pass in the second </span><a href="https://technet.microsoft.com/en-us/library/dd347667.aspx"><span style="font-size: small;" size="3">Start-Process</span></a><span style="font-size: small;" size="3"> leveraging </span><span style="font-family: arial,helvetica,sans-serif; color: #993300;">&ndash;Verb runAs</span> <span style="font-size: small;" size="3">to force the elevation prompt. </span></p>
<p><span style="font-size: small;" size="3">I just saved this PowerShell script to a scratch share on the lab machines, and when I need to elevate and run PowerShell as a different user. I&rsquo;d just double click on the script. It&rsquo;s not the most elegant code, but it gets the job done and ideally shows some fairly cool optional parameters of </span><a href="https://technet.microsoft.com/en-us/library/dd347667.aspx"><span style="font-size: small;" size="3">Start-Process</span></a><span style="font-size: small;" size="3">. &nbsp;</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Windows 8 Release Preview and Windows Server 2012 Release Candidate available!!</title>
      <link>https://docs.microsoft.com/archive/blogs/benshy/windows-8-release-preview-and-windows-server-2012-release-candidate-available</link>
      <pubDate>Thu, 31 May 2012 16:12:00 GMT</pubDate>
      <dc:creator><![CDATA[B_Shy]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/benshy/2012/05/31/windows-8-release-preview-and-windows-server-2012-release-candidate-available/</guid>
      <description><![CDATA[Windows 8 Release Preview as well as Windows Server 2012 Release Candidate have been publically...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><a href="https://windows.microsoft.com/en-US/windows-8/download">Windows 8 Release Preview</a> as well as <a href="https://technet.microsoft.com/en-us/evalcenter/hh670538.aspx?ocid=&amp;wt.mc_id=TEC_108_1_33">Windows Server 2012 Release Candidate</a> have been publically announced today and are available to download&hellip;.exiting times!</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Close SR Task CmdLet for Service Manager</title>
      <link>https://docs.microsoft.com/archive/blogs/benshy/close-sr-task-cmdlet-for-service-manager</link>
      <pubDate>Tue, 29 May 2012 09:38:00 GMT</pubDate>
      <dc:creator><![CDATA[B_Shy]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/benshy/2012/05/29/close-sr-task-cmdlet-for-service-manager/</guid>
      <description><![CDATA[I need to preference this by saying that this script is not officially supported. It is solely meant...]]></description>
      <content:encoded><![CDATA[<p style="text-align: left;"><span style="font-family: Tahoma;" face="Tahoma">I need to preference this by saying that this script is <b>not</b> officially supported. It is solely meant as a demonstrational method to show an example of how we leveraged a SCSM tasks along with integrated PowerShell CmdLets to facilitate one step process of closing Service Requests (SR) </span></p>
<p style="text-align: left;"></p>
<p style="text-align: left;"><span style="font-family: Tahoma;" face="Tahoma"></span><b><span style="font-family: Tahoma;" face="Tahoma">The Scenario:</span></b></p>
<p><span style="font-family: Tahoma;" face="Tahoma">While testing features of Service Manager 2012 (Portal, Exchange Connector) in our lab, we were generating a large amount of SRs. Ideally; after testing was completed we would close out the Service Requests. Unlike IRs in which you can easily resolved/closed from the Task bar option, Service Requests, by design, are meant to go through certain statuses (new-to- submitted, in progress to complete before they can be closed via the Task bar.</span></p>
<p><span style="font-family: Tahoma;" face="Tahoma">&nbsp;</span><span style="font-family: Tahoma;" face="Tahoma">While this is fine if you are a service desk responding to service requests, we wanted a quick option to close out our test SRs in our lab environment. With that in mind, we decided to create a quick Task bar option (calling a PowerShell script) to clean up any of our test generated SRs without having to go through the proper statuses. </span></p>
<p style="text-align: left;"><span style="font-family: Tahoma;" face="Tahoma">For information on setting up SCSM tasks:</span></p>
<p><span style="font-family: Tahoma;" face="Tahoma">How to Create a Task - </span><a href="https://technet.microsoft.com/library/hh499040.aspx"><span style="font-family: Tahoma;" face="Tahoma">https://technet.microsoft.com/library/hh499040.aspx</span></a><span style="font-family: Tahoma;" face="Tahoma"></span></p>
<p><strong><span style="font-family: Tahoma;" face="Tahoma"></span></strong>&nbsp;<strong><span style="font-family: Tahoma;" face="Tahoma">For Task Settings:</span></strong></p>
<p><span style="font-family: Tahoma;" face="Tahoma"></span><span style="font-family: Tahoma;" face="Tahoma">On the General Tab, we set the target class to Service Request so that it would be an available SR Task, and we specified our lab management pack.</span></p>
<p><span style="font-family: Tahoma;" face="Tahoma">For Command Line we configured it as thus:</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/28/8420.CloseSRtask.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-28/8420.CloseSRtask.png"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/28/8420.CloseSRtask.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-28/8420.CloseSRtask.png" /></a></p>
<p style="text-align: left;"><b><span style="font-family: Tahoma;" face="Tahoma">The Command line Parameters:</span></b></p>
<p><b><span style="font-family: Tahoma;" face="Tahoma"></span></b><span style="font-family: Tahoma;" face="Tahoma">Although we are launching PowerShell in the <i>Full path to command</i>, we wanted to hide the PowerShell command line window, and set the execution policy to allow this script run.</span></p>
<p style="padding-left: 30px;"><span style="font-family: Tahoma;" face="Tahoma">powershell.exe -ExecutionPolicy unrestricted -WindowStyle Hidden &ndash;command</span></p>
<p><span style="font-family: Tahoma;" face="Tahoma">Here, we are specifying the <b>$Date</b> variable that will be used to set the closed date on the SR</span></p>
<p style="padding-left: 30px;"><span style="font-family: Tahoma;" face="Tahoma">{$Date = get-date; </span></p>
<p><span style="font-family: Tahoma;" face="Tahoma">If the Service Manager modules are not loaded, the following will import the module from the default Service Manager installation path. </span></p>
<p style="padding-left: 30px;"><span style="font-family: Tahoma;" face="Tahoma">If ( ! (Get-module System.Center.Service.Manager )) { Import-Module 'C:\Program Files\Microsoft System Center 2012\Service Manager\Powershell\System.Center.Service.Manager.psd1'};</span></p>
<p><span style="font-family: Tahoma;" face="Tahoma">The snippet below is getting the SM class instance and service request class, I&rsquo;m also specifying the SM management server with the ComputerName option.</span></p>
<p style="padding-left: 30px;"><span style="font-family: Tahoma;" face="Tahoma">Get-SCSMClassInstance -class (Get-SCSMClass -ComputerName &lt;SCSMServer&gt; -name system.workitem.servicerequest) -<span style="font-size: small;" size="3"> </span>ComputerName &lt;SCSMServer&gt;</span></p>
<p><span style="font-family: Tahoma;" face="Tahoma">Setting the Filter on the selected work item type. </span></p>
<p style="padding-left: 30px;"><span style="font-family: Tahoma;" face="Tahoma">-filter '"Id -eq $Context/Property[Type='CustomSystem_WorkItem_Library!System.WorkItem']/Id$"'</span></p>
<p><span style="font-family: Tahoma;" face="Tahoma">&nbsp;</span><span style="font-family: Tahoma;" face="Tahoma">Setting the closed date based on the <b>$Date</b> parameter</span></p>
<p style="padding-left: 30px;"><span style="font-family: Tahoma;" face="Tahoma">&nbsp;</span><span style="font-family: Tahoma;" face="Tahoma">&nbsp;%{ $_.ClosedDate = $Date ; $_ }</span></p>
<p><span style="font-family: Tahoma;" face="Tahoma">Adding implementation notes signifying that this SR was closed by a console task.</span></p>
<p style="padding-left: 30px;"><span style="font-family: Tahoma;" face="Tahoma">%{ $_.Notes = '"Closed by console task"'; $_ }</span></p>
<p><span style="font-family: Tahoma;" face="Tahoma">Setting the SR status to Closed</span></p>
<p style="padding-left: 30px;"><span style="font-family: Tahoma;" face="Tahoma">%{ $_.Status='"ServiceRequestStatusEnum.Closed"'; $_ }</span></p>
<p><span style="font-family: Tahoma;" face="Tahoma"></span><span style="font-family: Tahoma;" face="Tahoma">And finally, updating the instance.</span></p>
<p style="padding-left: 30px;"><span style="font-family: Tahoma;" face="Tahoma">update-SCClassInstance}</span></p>
<p><span style="font-family: Tahoma;" face="Tahoma"></span><span style="font-family: Tahoma;" face="Tahoma">Hopefully this example demonstrates how you can leverage SCSM CmdLets, along with console Tasks to add additional functionality to fit your business needs. </span></p>
<p><span style="font-family: Tahoma;" face="Tahoma"></span><span style="font-family: Tahoma;" face="Tahoma">A big thank you goes out to Andrew Barton for assistance with the script..</span></p>]]></content:encoded>
    </item>
    <item>
      <title>P2V Migration Toolkit components - what’s going on behind the scenes part 2?</title>
      <link>https://docs.microsoft.com/archive/blogs/benshy/p2v-migration-toolkit-components-whats-going-on-behind-the-scenes-part-2</link>
      <pubDate>Wed, 14 Mar 2012 06:14:00 GMT</pubDate>
      <dc:creator><![CDATA[B_Shy]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/benshy/2012/03/14/p2v-migration-toolkit-components-whats-going-on-behind-the-scenes-part-2/</guid>
      <description><![CDATA[&nbsp;
Sorry I&rsquo;m a bit late in posting this, but as promised in the previous post. Here is...]]></description>
      <content:encoded><![CDATA[<p>&nbsp;</p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Sorry I&rsquo;m a bit late in posting this, but as promised in the <a href="https://blogs.technet.com/b/benshy/archive/2012/01/31/p2v-migration-toolkit-components-what-s-going-on-behind-the-scenes.aspx">previous post</a>. Here is part two.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">The table shown below lists the genericized steps of a task sequence created by P2V Migration Toolkit. The main thing to note, that isn&rsquo;t reflected in this table, is the inherent failsafe built in to the task sequence in that if any of the virtualizations steps fail (non-zero return code), the task sequence will exit. This is designed to ensure that, for any reason, the physical-to-virtual migration was not successful the task sequence <b><span style="text-decoration: underline;">will not</span></b> continue on with the re-installation of the operating system.</span></p>
<p style="padding-left: 30px;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/28/1524.TaskSeqSteps.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-28/1524.TaskSeqSteps.png"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/28/1524.TaskSeqSteps.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-28/1524.TaskSeqSteps.png" /></a></p>]]></content:encoded>
    </item>
    <item>
      <title>P2V Migration Toolkit components - what’s going on behind the scenes?</title>
      <link>https://docs.microsoft.com/archive/blogs/benshy/p2v-migration-toolkit-components-whats-going-on-behind-the-scenes</link>
      <pubDate>Tue, 31 Jan 2012 13:46:00 GMT</pubDate>
      <dc:creator><![CDATA[B_Shy]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/benshy/2012/01/31/p2v-migration-toolkit-components-whats-going-on-behind-the-scenes/</guid>
      <description><![CDATA[I&rsquo;m excited about the RC2 release of the System Center Configuration Manager P2V migration...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">I&rsquo;m excited about the RC2 release of the <a href="https://connect.microsoft.com/ConfigurationManagervnext/program6835">System Center Configuration Manager P2V migration Toolkit</a>, and in this post I wanted to share the components of the task sequence and what they do.</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">This is going to be a two part post&hellip;</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">In this initial post, I&rsquo;ll define each of the programs that are called during the task sequence. In part two, I&rsquo;ll list the steps of task sequence.&nbsp;&nbsp;</span></p>
<p style="padding-left: 60px;"><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/28/5756.ts.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-28/5756.ts.png"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/28/5756.ts.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/500x260/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-28/5756.ts.png" /></a></span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">The bitmap above is a pretty good summary of each component, but I wanted to provide a little more detail in this post.</span></p>
<ul>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><b>VHDCapture.exe</b>: &nbsp;This executable is leveraged by the task sequence to create an exact replica of any of the selected MBR-based physical disks and convert them into Virtual Hard Drives (VHDs). The parameters that are passed to it, in form of tasks sequence variables specify the VHD file save location as well as the disk and partition selected.</span></li>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><b>VHDPrep.exe: </b>Once the VHD(s) are created, this executable is called by the task sequence. Its job is to perform &lsquo;fix-up&rsquo; and compact the disk. &lsquo;Fix-up&rsquo; is a term we&rsquo;ve used to denote the following: </span>
<ul>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Injects critical boot drivers to allow the VHD to properly boot</span></li>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Correct NT Boot Sector issues for Windows Server 2003</span></li>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Align the physical disk layout to virtual disk layout</span></li>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Modifies boot entries to leverage virtual storage drivers <b></b></span></li>
</ul>
</li>
</ul>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Finally, VHDPrep compacts the selected virtualized disks removing any unused space to reduce the overall file size the VHDs. &nbsp;&nbsp;<b>&nbsp;&nbsp;</b></span></p>
<ul>
<li><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;"><b>VMCreator.exe: </b>This executable<b> </b>singular job is to configure Hyper-V specific settings and attach the VHD(s) as Hyper-V Virtual Machines. VMCreator consumes the defined task sequence variables to set the Virtual Machine name, configure the amount of memory to be utilized by the VM as well as creating a Hyper-V network bound to the specified NIC. <b>&nbsp;</b></span></li>
</ul>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Hopefully this post was helpful in providing a deeper understanding of what is actually happening &ldquo;behind the scenes&rdquo; of the P2V Migration Toolkit task sequence. Stay tuned for part two!</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">Cheers,</span></p>
<p><span style="font-family: tahoma,arial,helvetica,sans-serif; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -Ben</span></p>]]></content:encoded>
    </item>
    <item>
      <title>MMS 2011</title>
      <link>https://docs.microsoft.com/archive/blogs/benshy/mms-2011</link>
      <pubDate>Sun, 20 Feb 2011 14:05:00 GMT</pubDate>
      <dc:creator><![CDATA[B_Shy]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/benshy/2011/02/20/mms-2011/</guid>
      <description><![CDATA[If you&rsquo;re going to be at MMS 2011 (Mar 21st-25th) I encourage you to check out this...]]></description>
      <content:encoded><![CDATA[<p class="MsoNormal"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;">If you&rsquo;re going to be at MMS 2011 (Mar 21<sup>st</sup>-25<sup>th</sup>) I encourage you to check out this session:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;"><a href="https://www.mms-2011.com/topic/details/BA17">https://www.mms-2011.com/topic/details/BA17</a> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;">Chris is giving a presentation around running Configuration Manager virtualized. I&rsquo;ll be assisting, and running a demo for the presentation. <o:p></o:p></span></p>]]></content:encoded>
    </item>
    <item>
      <title>AppLockerLet continued…</title>
      <link>https://docs.microsoft.com/archive/blogs/benshy/applockerlet-continued</link>
      <pubDate>Sun, 20 Feb 2011 13:38:00 GMT</pubDate>
      <dc:creator><![CDATA[B_Shy]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/benshy/2011/02/20/applockerlet-continued/</guid>
      <description><![CDATA[In my previous post I mentioned that AppLockerLet reads from the Event Viewer using...]]></description>
      <content:encoded><![CDATA[<p class="MsoNormal"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;">In my previous post I mentioned that AppLockerLet reads from the Event Viewer using <a href="https://technet.microsoft.com/en-us/library/ee424372(WS.10).aspx">Get-AppLockerFileInformation</a> to determine which .exe, .dll, .msi or script has been blocked by policy. For any blocked application log entry that it finds in the Event Log it&rsquo;ll display it in the UI which allows you to select a particular blocked app and create a <b style="mso-bidi-font-weight: normal;">local</b> AppLocker rule and merge this newly created rule with the current rule set. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;">What AppLockerLet is doing programmatically is the following:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoListParagraphCxSpFirst"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;"><span style="mso-list: Ignore;">1.<span style="font: 7pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;">Imports the AppLocker PowerShell Module (Import-Module AppLocker)<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;"><span style="mso-list: Ignore;">2.<span style="font: 7pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;">Queries the AppLocker Event Logs to determine app that where blocked. <o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;"><span style="mso-list: Ignore;">3.<span style="font: 7pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;">For each blocked app determines the file location using FilePath and signing certificate information gleaned from the event log<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpLast"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;"><span style="mso-list: Ignore;">4.<span style="font: 7pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;">From the FilePath it&rsquo;ll query the binary itself to grab the file hash, again using <a href="https://technet.microsoft.com/en-us/library/ee424372(WS.10).aspx">Get-AppLockerFileInformation</a><o:p></o:p></span></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;"><span style="mso-spacerun: yes;">&nbsp;</span>Get-AppLockerFileInformation -path "C:\ test.msi"<span class="MsoHyperlink"><span style="color: windowtext; text-decoration: none; text-underline: none;"><o:p></o:p></span></span></span></b></p>
<p class="MsoNormal"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoListParagraph"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;"><span style="mso-list: Ignore;">5.<span style="font: 7pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;">For the selected application &ndash; It&rsquo;ll create an AppLocker rule, leveraging <a href="https://technet.microsoft.com/en-us/library/ee460963.aspx">New-AppLockerPolicy</a>, setting the rule type to create a hash rule, then path (if the hash information cannot be pulled for some reason).<o:p></o:p></span></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;"><span style="mso-spacerun: yes;">&nbsp;</span>New-AppLockerPolicy -user Everyone -ruletype hash, path <o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoListParagraph"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;"><span style="mso-list: Ignore;">6.<span style="font: 7pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;">Finally, it&rsquo;ll set the AppLocker policy, using <a href="https://technet.microsoft.com/en-us/library/ee460965.aspx">Set-AppLockerPolicy</a>, for the specified local rule, and specify it to merge as to not overwrite any other local AppLocker rules.<o:p></o:p></span></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;"><span style="mso-spacerun: yes;">&nbsp;</span>Set-AppLockerPolicy &ndash;merge<o:p></o:p></span></b></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;"><o:p>&nbsp;</o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;">Some notes on the tool &ndash; Since the UI is written in managed code it requires .Net Framework 3.5 sp1. Also to create the local AppLocker rules, you&rsquo;ll need to have administrator privileges. Also AppLockerLet will need to have a corresponding AppLocker allow rule created, so that it will not be blocked via policy. <span style="mso-spacerun: yes;">&nbsp;</span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;">AppLockerLet is <b style="mso-bidi-font-weight: normal;">not</b> officially supported. AppLockerLet is solely meant as a demonstrational application to show an example of how one can wrap the AppLocker cmdlet functionality into something that can help automate a part of the AppLocker maintenance workflow. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;">Special thanks goes out To Brian Wishan for helping with the development of AppLockerLet.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-family: 'Calibri','sans-serif'; font-size: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin;">Finally, you can download AppLockerLet from the link below.<o:p></o:p></span></p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/01/8328/00/00/03/38/86/94/AppLockerLet.zip" original-url="https://blogs.technet.com/cfs-filesystemfile.ashx/__key/telligent-evolution-components-attachments/01-8328-00-00-03-38-86-94/AppLockerLet.zip">AppLockerLet.zip</a></p>]]></content:encoded>
    </item>
    <item>
      <title>AppLockerLet..</title>
      <link>https://docs.microsoft.com/archive/blogs/benshy/applockerlet</link>
      <pubDate>Sun, 20 Feb 2011 13:17:00 GMT</pubDate>
      <dc:creator><![CDATA[B_Shy]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/benshy/2011/02/20/applockerlet/</guid>
      <description><![CDATA[Last year, one of the areas I was working on was a deployment of AppLocker. In the deployment, we...]]></description>
      <content:encoded><![CDATA[<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">Last year, one of the areas I was working on was a deployment of <a href="https://technet.microsoft.com/en-us/library/dd378941(WS.10).aspx">AppLocker</a>. In the deployment, we did a lot of upfront planning around identifying applications that were prevalent in the environment and created corresponding rules that would allow the applications to install\execute. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">A key area that we focused on was creating a process to handle end-user &lsquo;emergencies&rsquo;, if the application was a business critical app that somehow missed our initial inventory of allowed software. We needed the ability to unblock an end-user during a work stoppage situation.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">One of the nifty features of AppLocker is that they have included several in-box PowerShell <a href="https://technet.microsoft.com/en-us/library/ee460962.aspx">Cmdlets</a> (in Windows 7 &amp; Windows 2008 R2) that assist in AppLocker administration.<span style="mso-spacerun: yes">&nbsp; </span>While these Cmdlets worked well, some of the early feedback from our helpdesk\support staff was that they wanted a GUI to assist them in identification and remediation.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">With that request, AppLockerLet was born&hellip;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">We chose the moniker of AppLockerLet, since it was GUI wrapper for <b style="mso-bidi-font-weight: normal">AppLocker</b> PowerShell Cmd<b style="mso-bidi-font-weight: normal">let</b>s. We wanted to create a GUI that helped the support staff with the following:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin"><o:p>&nbsp;</o:p></span></p>
<p class="MsoListParagraphCxSpFirst"><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-fareast-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin"><span style="mso-list: Ignore">1.<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">Assist the helpdesk technician in quickly identifying a denied application and create a corresponding rule to allow the application to install\execute, removing the time spent in deciphering what kind of rule is needed and creating the rule to unblock the end-user&rsquo;s work stoppage situation.<o:p></o:p></span></p>
<p class="MsoListParagraphCxSpMiddle"><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin"><o:p>&nbsp;</o:p></span></p>
<p class="MsoListParagraphCxSpMiddle"><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-fareast-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin"><span style="mso-list: Ignore">2.<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">You cannot easily elevate <b style="mso-bidi-font-weight: normal">*and*</b> run as a different user from a PowerShell context menu. Since only helpdesk technicians and other support staff have the ability to create local AppLocker rules, they need to launch PowerShell elevated and under their credentials. <o:p></o:p></span></p>
<p class="MsoListParagraphCxSpLast"><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">The helpdesk technicians are local administrators on the end-users machines and commonly use Remote Assistance (running user the end-user&rsquo;s context) to troubleshoot &amp; diagnose issues.<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">What AppLockerLet is and what it does. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">Basically it reads from Event Viewer using <a href="https://technet.microsoft.com/en-us/library/ee424372(WS.10).aspx">Get-AppLockerFileInformation</a> to determine which .exe, .dll, .msi or script has been blocked by policy. <span style="mso-spacerun: yes">&nbsp;</span>It&rsquo;ll then display the list of blocked applications within the UI, allowing the helpdesk or support personal to select and allow the executable or installer via the creation of a local AppLocker rule.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 9pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">More to come in the next blog post&hellip;</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Introduction…</title>
      <link>https://docs.microsoft.com/archive/blogs/benshy/introduction</link>
      <pubDate>Fri, 04 Feb 2011 14:44:00 GMT</pubDate>
      <dc:creator><![CDATA[B_Shy]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/benshy/2011/02/04/introduction/</guid>
      <description><![CDATA[&#160;  Hello there,  I’m finally got around to starting up a blog…&#160; First, I should probably...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>Hello there,</p>  <p>I’m finally got around to starting up a blog…</p>&#160; First, I should probably introduce myself. My name is Ben Shy and I’m a Program Manager on the Management and Security (MSD) arm of the System Center family.   <p>I planning on using this blog to talk about a myriad of things that I find interesting or issues that I’ve encountered and how I’ve resolved them. Most of the articles that I write about will be tailored to System Center products, but Ill also sprinkle in topics on scripting, Group Policy and other “desktop management” type topics. </p>  <p>My hope is that someone somewhere will find useful information on the blog postings.</p>  <p>Cheers,</p>  <p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; -Ben</p>]]></content:encoded>
    </item>
  </channel>
</rss>