<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1351022600069510114</id><updated>2026-06-19T12:18:26.293-07:00</updated><category term="create form"/><category term="crm server"/><category term="crm2011 reporting"/><category term="explicit filtering"/><category term="form state"/><category term="multi form"/><category term="reporting services"/><category term="security for multiform"/><category term="update form"/><title type='text'>CRM 2011</title><subtitle type='html'>I am using this blog as sticky notes.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>233</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-8387135696297715971</id><published>2016-12-20T04:00:00.000-08:00</published><updated>2016-12-20T04:00:03.228-08:00</updated><title type='text'>email issues</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
http://www.powerobjects.com/2013/09/19/dynamics-crm-email-router-troubleshooting-101-outgoing-emails/&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/8387135696297715971/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/12/email-issues.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/8387135696297715971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/8387135696297715971'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/12/email-issues.html' title='email issues'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-8727133429058338575</id><published>2016-10-26T04:45:00.001-07:00</published><updated>2016-10-26T04:45:10.933-07:00</updated><title type='text'>Displaying image for branding site</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
We got a common site and then branding sites, One of the site wants to show the image before a particular text and other didn&#39;t want to show that image at all.&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
&lt;br /&gt;
Update the common site to have a Div or Span and specify css class on it place this span before the text, e.g. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;span class=&quot;summaryimage&quot;&amp;gt;&amp;lt;/span&amp;gt; Some text is shown here&lt;br /&gt;
&lt;br /&gt;
now in CSS class specify&lt;br /&gt;
&lt;br /&gt;
span.summaryimage{&lt;br /&gt;
background: url(&lt;a href=&quot;http://url%20of%20the%20image/&quot;&gt;http://url of the image&lt;/a&gt;) no-repeat 96% 96%;&lt;br /&gt;
float: left;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Syntax: background: &amp;lt;background-color&amp;gt; | &amp;lt;background-image&amp;gt; | &amp;lt;background-repeat&amp;gt; | &amp;lt;background-attachment&amp;gt; | &amp;lt;background-position&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.htmlgoodies.com/beyond/css/article.php/3868361&quot;&gt;http://www.htmlgoodies.com/beyond/css/article.php/3868361&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;background-color: white;
background-image: url(logo.gif);
background-position: 50% 50%;
background-repeat: no-repeat;
background-attachment: fixed;
&lt;/pre&gt;
And change it to this:&lt;br /&gt;
&lt;pre&gt;background: white url(log.gif) no-repeat fixed 50% 50%;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/8727133429058338575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/10/displaying-image-for-branding-site.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/8727133429058338575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/8727133429058338575'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/10/displaying-image-for-branding-site.html' title='Displaying image for branding site'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-594760833148574352</id><published>2016-10-21T02:35:00.003-07:00</published><updated>2016-10-21T03:45:28.444-07:00</updated><title type='text'>Revert bad checkin in tfs</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Problem:&lt;br /&gt;
&lt;div&gt;
When working on one of the project I checked in some wrong code and relaised that I need to rollback to previous version.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Solution:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Right click the folder/file (the one to revert) and click view history and find the last changeset number you like to revert to. Open Visual Studio Command Prompt (Run as administrator) and write the following command&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
Preferred (worked for me)&lt;br /&gt;
&lt;br /&gt;
tf rollback /toversion:C&amp;lt;&amp;lt;write your previous changeset number you like to rever to&amp;gt;&amp;gt; /recursive &amp;lt;&amp;lt;path to folder&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
e.g.&lt;br /&gt;
tf rollback /toversion:C378 /recursive c:\tfs\dev1\projectxyz&lt;br /&gt;
&lt;br /&gt;
(use . to use the current working space for this)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
tf rollback /changeset: &amp;lt;&amp;lt;write your previous changeset number you like to revert to&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
e.g.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
tf rollback /changeset:378&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/594760833148574352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/10/revert-bad-checkin-in-tfs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/594760833148574352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/594760833148574352'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/10/revert-bad-checkin-in-tfs.html' title='Revert bad checkin in tfs'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-2021007476444705817</id><published>2016-09-02T07:44:00.002-07:00</published><updated>2016-09-02T07:44:28.405-07:00</updated><title type='text'>SQL Management Studio not showing shared/mapped drives in the Restore Database window</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I was running out of diskspace and had a databaes .bak file at UNC to restore locally, if I copy that then won&#39;t left with enough disk space to restore that as well. When I mapped the shared folder to local drive and tried to restore database I couldn&#39;t see mapped drive nor was I able to use share path as is&lt;br /&gt;
&lt;br /&gt;
Reason: SQL management studio run under a different session.&lt;br /&gt;
&lt;br /&gt;
Resolution: In order to use share folder path go to the remote computer and share that folder with everyone (or find which account SQL management studio is running and share it with that account). Then on SQL MS go to restore database option then disk option and click add and then paste the share path in the folder path and in the file name enter the .bak file name and click OK though SQLMS won&#39;t show shared drive it will accept the share folder path.&lt;br /&gt;
&lt;br /&gt;
https://blogs.msdn.microsoft.com/sql_scratchpad/2014/03/11/restore-database-from-a-unc-path-why-ssms-doesnt-show-network-drivespaths-in-the-restore-wizard/&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/2021007476444705817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/09/sql-management-studio-not-showing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/2021007476444705817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/2021007476444705817'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/09/sql-management-studio-not-showing.html' title='SQL Management Studio not showing shared/mapped drives in the Restore Database window'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-7959283378027296614</id><published>2016-07-14T08:45:00.002-07:00</published><updated>2016-07-14T10:21:46.279-07:00</updated><title type='text'>CRM Tracing/Debugging Service</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
When writing plugin we try to make sure all possible scenarios are covered however when application is deployed at client side they enter some data which we didn&#39;t think of when writing code or use application which causes Business Process error BPE, In this case CRM shows BPE dialog window and use can click on download log button to&amp;nbsp;view the stack trace, sometimes that&#39;s not enough, and we should use tracing service so that we can trace to be bit more understandable about which code been executed and with what values been passed by showing including that to trace.&lt;br /&gt;
&lt;br /&gt;
ITracingService tracingService = (ITracingService)serviceProvider.GetService(typeof(ITracingService));&lt;br /&gt;
&lt;br /&gt;
then use the Trace method to write trace&lt;br /&gt;
&lt;br /&gt;
tracingService.Trace(&quot;Cost provided&quot;+ entityObject.prefix_fieldname);&lt;br /&gt;
&lt;br /&gt;
Now when plugin throws BPE we will get more of an idea about what happened in code.&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
Remote Debugging&lt;br /&gt;
&lt;br /&gt;
Go to google and seach for Remote tools download and install it on the machine which needs to be debugged, if this is a UAT environment within same network where the bug is reported and not able to reproduce locally, Then install it on their. Either to start and stop remote debugger go to start and then select Remote debugger windows app Or else go to windows services area and set the Remote debugger service to run as always.&lt;br /&gt;
&lt;br /&gt;
Run the Remote debugger under local system account.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Depending how the plugin is registered we need to attached to respective process e.g. if the plugin is registered to run under sand box then we need to attach to sandbox process or in case of custom assemblies sandbox async service. If plugin is set to run under full privilege (none/not sandbox) then select w3wp for sync plugin or async service for customer assemblies or async plugins.&lt;br /&gt;
&lt;br /&gt;
To debug with in visual studio go to debug -&amp;gt; attach to process&lt;br /&gt;
Attach to : Automatic: Native code (when service to attach is selected then the value might change to Automatic)&lt;br /&gt;
on qualifier field click on find and it will discover any remote debuggers running with in local network/subnet, or type manually default to 4016 port&lt;br /&gt;
&lt;br /&gt;
Then trigger the process to debug the code (debug sysmbole won&#39;t load initially unless they are triggered an cached first time) if the symbols still doesn&#39;t load, then look if there are any more process pending to attached if there are then attached them e.g. w3wp or aysnc service, if this isn&#39;t the case cancel attached process and rebuild solution and redeploy and do the attach to process again.&lt;br /&gt;
&lt;br /&gt;
Please note there is default 2 mins time out for Sandbox CRM process to terminate and restart if process take long to process&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/7959283378027296614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/07/crm-tracing-service.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/7959283378027296614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/7959283378027296614'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/07/crm-tracing-service.html' title='CRM Tracing/Debugging Service'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-4419859570747223199</id><published>2016-07-14T05:19:00.001-07:00</published><updated>2016-07-14T05:19:25.434-07:00</updated><title type='text'>Different ways of doing converting list to custom arrays</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;

&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;List&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;lt;&lt;span style=&quot;color: #2b91af;&quot;&gt;EntityReference&lt;/span&gt;&amp;gt;
list = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;List&lt;/span&gt;&amp;lt;&lt;span style=&quot;color: #2b91af;&quot;&gt;EntityReference&lt;/span&gt;&amp;gt; { &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt;
&lt;span style=&quot;color: #2b91af;&quot;&gt;EntityReference&lt;/span&gt;(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;contact&quot;&lt;/span&gt;,
&lt;span style=&quot;color: #2b91af;&quot;&gt;Guid&lt;/span&gt;.NewGuid()), &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt;
&lt;span style=&quot;color: #2b91af;&quot;&gt;EntityReference&lt;/span&gt;(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;contact&quot;&lt;/span&gt;,
&lt;span style=&quot;color: #2b91af;&quot;&gt;Guid&lt;/span&gt;.NewGuid()) };&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;Option 1&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;Entity&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;[] listArray = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Entity&lt;/span&gt;[toList.Count];&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;for&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; (&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt;
i = 0; i &amp;lt; toList.Count; i++)&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt 36pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;Entity&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;
toParty = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Entity&lt;/span&gt;(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;activityparty&quot;&lt;/span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;toParty[&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;partyid&quot;&lt;/span&gt;] = toList[i];&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;listArray[i]
= toParty;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;Option 2&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;Entity&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;[] listArray = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Entity&lt;/span&gt;[toList.Count];&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;list.ForEach(&lt;span style=&quot;color: blue;&quot;&gt;delegate&lt;/span&gt;(&lt;span style=&quot;color: #2b91af;&quot;&gt;EntityReference&lt;/span&gt;
item)&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-indent: 36pt;&quot;&gt;
&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;Entity&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;
ccParty = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Entity&lt;/span&gt;(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;activityparty&quot;&lt;/span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ccParty[&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;partyid&quot;&lt;/span&gt;]
= item;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;listArray.SetValue(ccParty,
listArray.Count());&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;});&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;Option 3&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin: 0cm 0cm 0pt; mso-layout-grid-align: none;&quot;&gt;
&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: 9.5pt;&quot;&gt;Entity&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;[] listArray =
ccList.ConvertAll&amp;lt;&lt;span style=&quot;color: #2b91af;&quot;&gt;Entity&lt;/span&gt;&amp;gt;(&lt;span style=&quot;color: blue;&quot;&gt;delegate&lt;/span&gt;(&lt;span style=&quot;color: #2b91af;&quot;&gt;EntityReference&lt;/span&gt;
item) { &lt;span style=&quot;color: blue;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt;
&lt;span style=&quot;color: #2b91af;&quot;&gt;Entity&lt;/span&gt; { LogicalName = &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;activityparty&quot;&lt;/span&gt;, Attributes = { { &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;partyid&quot;&lt;/span&gt;, item }&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;} }; }).ToArray();&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/4419859570747223199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/07/different-ways-of-doing-converting-list.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/4419859570747223199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/4419859570747223199'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/07/different-ways-of-doing-converting-list.html' title='Different ways of doing converting list to custom arrays'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-4978060700060624743</id><published>2016-06-09T05:24:00.001-07:00</published><updated>2016-06-09T05:24:31.131-07:00</updated><title type='text'>Compare 2 objects[] in powershell</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
compare-object command is used to compare two object arrays they can be different types of objects for example an object array from xml compared to object array of csv file data&lt;br /&gt;
&lt;br /&gt;
for my example I used it to compare two different types of crm objects&lt;br /&gt;
we use bespoke tool to get crm records with in powershell, but idea here to show the use of compare-object&lt;br /&gt;
&lt;br /&gt;
Compare-object -referenceobject (get-crmrecord -connect &lt;a href=&quot;http://kuksolutiondev01/org1&quot;&gt;http://kuksolutiondev01/org1&lt;/a&gt; -entityname kuk_configurations) -differenceobject (get-crmrecord -connect &lt;a href=&quot;http://kuksolutiondev02/org4&quot;&gt;http://kuksolutiondev02/org4&lt;/a&gt; -entityname kuk_configurations)&lt;br /&gt;
&lt;br /&gt;
Output of above command is like &lt;br /&gt;
&lt;br /&gt;
InputObject&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SideIndicator&lt;br /&gt;
@{Id=7215239d-ddkd-kdld-kdkdfd44c342; Ent...&amp;nbsp;&amp;nbsp; =&amp;gt;&lt;br /&gt;
@{Id=7215239d-ddkd-kdld-kdkdkdkf4das; Ent...&amp;nbsp;&amp;nbsp; =&amp;gt;&lt;br /&gt;
@{Id=7215fdsf-ddkd-kdld-kdkdfdsa23dkd; Ent...&amp;nbsp;&amp;nbsp; &amp;lt;=&lt;br /&gt;
@{Id=72152342-ddkd-kdld-d543fsdakdkd; Ent...&amp;nbsp;&amp;nbsp; =&amp;gt;&lt;br /&gt;
@{Id=721523jkl-fdsad-kdk34fdsajkdkdkd; Ent...&amp;nbsp;&amp;nbsp; &amp;lt;=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=&amp;gt; says the difference is found in the&amp;nbsp;&lt;a href=&quot;http://kuksolutiondev02/org2=4&quot;&gt;http://kuksolutiondev02/org2=4&lt;/a&gt; and &amp;lt;= says difference is in &lt;a href=&quot;http://kuksolutiondev01/org1&quot;&gt;http://kuksolutiondev01/org1&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
to find the full details of the input object use fl * in the pipeline&lt;br /&gt;
&lt;br /&gt;
Compare-object -referenceobject (get-crmrecord -connect &lt;a href=&quot;http://kuksolutiondev01/org1&quot;&gt;http://kuksolutiondev01/org1&lt;/a&gt; -entityname kuk_configurations) -differenceobject (get-crmrecord -connect &lt;a href=&quot;http://kuksolutiondev02/org4&quot;&gt;http://kuksolutiondev02/org4&lt;/a&gt; -entityname kuk_configurations) | fl *&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/4978060700060624743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/06/compare-2-objects-in-powershell.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/4978060700060624743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/4978060700060624743'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/06/compare-2-objects-in-powershell.html' title='Compare 2 objects[] in powershell'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-6970977083180410730</id><published>2016-03-31T07:09:00.001-07:00</published><updated>2016-03-31T07:49:33.111-07:00</updated><title type='text'>allow opening of emails saved in sharepoint to directly open in outlook</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Got a client request where they manually upload draft email to SharePoint so that team can work on it to provide extra info, for this they don&#39;t like the option to click on email and then get prompt to save the msg file first and then edit it and then manually overwrite it. This takes too much time.&lt;br /&gt;
&lt;br /&gt;
they wanted the email to open directly in outlook/third part client when they click on msg in SharePoint. &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: orangered;&quot;&gt;$webApp&lt;/span&gt; &lt;span style=&quot;color: darkgrey;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Get-SPWebApplication&lt;/span&gt; &lt;span style=&quot;color: darkred;&quot;&gt;&quot;&amp;lt;&amp;lt;web application url&amp;gt;&amp;gt;&quot;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;span style=&quot;color: orangered;&quot;&gt;$webApp&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;AllowedInlineDownloadedMimeTypes&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;Add&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: darkred;&quot;&gt;&quot;application/msg&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;span style=&quot;color: orangered;&quot;&gt;$webApp&lt;/span&gt;&lt;span style=&quot;color: darkgrey;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;Update&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
Also add MIME type to web application level i.e. windows -&amp;gt; Run -&amp;gt; InetMgr -&amp;gt; Go to application -&amp;gt; Go to MIME Types and then click Add &lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
Enter &lt;br /&gt;
msg to &quot;file name extension&quot; to text field and&lt;br /&gt;
&quot;application/vnd.ms-outlook&quot; to text field MIME Types&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
Do IISReset&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;a href=&quot;https://kerseub.wordpress.com/2012/04/23/add-new-file-type-in-sharepoint/&quot;&gt;https://kerseub.wordpress.com/2012/04/23/add-new-file-type-in-sharepoint/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://social.technet.microsoft.com/wiki/contents/articles/8073.sharepoint-browser-file-handling-deep-dive.aspx&quot;&gt;http://social.technet.microsoft.com/wiki/contents/articles/8073.sharepoint-browser-file-handling-deep-dive.aspx&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/6970977083180410730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/03/allow-opening-of-emails-saved-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/6970977083180410730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/6970977083180410730'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/03/allow-opening-of-emails-saved-in.html' title='allow opening of emails saved in sharepoint to directly open in outlook'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-8383481784961828580</id><published>2016-02-02T01:31:00.000-08:00</published><updated>2017-02-01T01:53:39.824-08:00</updated><title type='text'>Check user last login time when user last accessed CRM</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://mscrm-chandan.blogspot.co.uk/2013/04/get-last-log-in-datetime-of-crm-user_30.html&quot;&gt;http://mscrm-chandan.blogspot.co.uk/2013/04/get-last-log-in-datetime-of-crm-user_30.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;SELECT&lt;br /&gt;&amp;nbsp;SU.SystemUserId&lt;br /&gt;&amp;nbsp;,SU.DomainName&lt;br /&gt;&amp;nbsp;,SU.FullName&lt;br /&gt;&amp;nbsp;,SUO.LastAccessTime&lt;br /&gt;&amp;nbsp;FROM SystemUser SU&lt;br /&gt;&amp;nbsp;INNER JOIN [MSCRM_CONFIG].[dbo].[SystemUserOrganizations] SUO ON SUO.CrmUserId = SU.SystemUserId&lt;br /&gt;&amp;nbsp;INNER JOIN [MSCRM_CONFIG].[dbo].[SystemUserAuthentication] SUA ON SUA.UserId = SUO.UserId&lt;br /&gt;&amp;nbsp;ORDER BY SUO.LastAccessTime DESC,SU.DomainName&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/8383481784961828580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/02/check-user-last-login-time-when-user.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/8383481784961828580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/8383481784961828580'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/02/check-user-last-login-time-when-user.html' title='Check user last login time when user last accessed CRM'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-1159670733312496253</id><published>2016-01-22T04:01:00.001-08:00</published><updated>2016-01-22T04:01:52.304-08:00</updated><title type='text'>smart javascript writing</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.smashingmagazine.com/2010/04/seven-javascript-things-i-wish-i-knew-much-earlier-in-my-career/&quot;&gt;https://www.smashingmagazine.com/2010/04/seven-javascript-things-i-wish-i-knew-much-earlier-in-my-career/&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/1159670733312496253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/01/smart-javascript-writing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/1159670733312496253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/1159670733312496253'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/01/smart-javascript-writing.html' title='smart javascript writing'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-701534723497365727</id><published>2016-01-21T03:38:00.002-08:00</published><updated>2016-01-21T03:38:49.735-08:00</updated><title type='text'>Dealing with SQL disk space issue</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://www.simple-talk.com/sql/database-administration/managing-the-sql-server-transaction-log-dealing-with-explosive-log-growth/&quot;&gt;https://www.simple-talk.com/sql/database-administration/managing-the-sql-server-transaction-log-dealing-with-explosive-log-growth/&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/701534723497365727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/01/dealing-with-sql-disk-space-issue.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/701534723497365727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/701534723497365727'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2016/01/dealing-with-sql-disk-space-issue.html' title='Dealing with SQL disk space issue'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-2507301154189719148</id><published>2015-12-10T06:44:00.002-08:00</published><updated>2015-12-10T06:44:43.760-08:00</updated><title type='text'>Using fiddler to auto respond </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Scenario:&lt;br /&gt;
&lt;br /&gt;
We have got something working in Live but not in test&amp;nbsp;environment&amp;nbsp;after the release of new version, we were using&amp;nbsp;the knockout framework on one of the SharePoint portal page. I had to check if the knockout different version is causing issue with our script. In order to quickly see if the same version which we got on live would work against Test environment. I did following&lt;br /&gt;
&lt;br /&gt;
Using Fiddler:&lt;br /&gt;
&lt;br /&gt;
1. Download Fiddler&lt;br /&gt;
2. Make a request to the portal Page&lt;br /&gt;
3. In fiddler session listing find the script file you like to replace&lt;br /&gt;
4. Right click on file and select decode Selected Session&lt;br /&gt;
5. On the AutoResponder Tab&lt;br /&gt;
&amp;nbsp; Enable the &#39;Enable Rules&#39; checkbox&lt;br /&gt;
&amp;nbsp; Enable &amp;nbsp;the &#39;Unmatched Requests Pass through&#39; check box&lt;br /&gt;
&lt;br /&gt;
6. &amp;nbsp;Drag and drop the file to AutoResponder Rule Area&lt;br /&gt;
7. &amp;nbsp;At a bottom under Rule Editor section&lt;br /&gt;
Select the second drop down list and select the option of select a file&lt;br /&gt;
8. Select the file which you like fiddler to use to mimic response from server by using local file&lt;br /&gt;
9. Click Save&lt;br /&gt;
10. Refresh page&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/2507301154189719148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/12/using-fiddler-to-auto-respond.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/2507301154189719148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/2507301154189719148'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/12/using-fiddler-to-auto-respond.html' title='Using fiddler to auto respond '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-3545256811889754117</id><published>2015-10-26T03:23:00.001-07:00</published><updated>2015-10-26T03:23:09.250-07:00</updated><title type='text'>Invalid Action</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
When trying to browse for CRM org, I started to get following Error&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
Invalid Action&lt;br /&gt;
The selected action was not valid.&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
When looking into event viewer got following information.&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;span lang=&quot;EN&quot;&gt;Current key (KeyType : CrmWRPCTokenKey) is expired.  This can indicate that a key is not being regenerated correctly.  Current Key : CrmKey(Id:4e1d5f40-4d60-e511-a481-00155dc1050c, ScaleGroupId:00000000-0000-0000-0000-000000000000, KeyType:CrmWRPCTokenKey, Expired:True, ValidOn:09/21/2015 10:41:04, ExpiresOn:10/24/2015 10:41:04, CreatedOn:09/21/2015 10:41:04, CreatedBy:&amp;lt;domain&amp;gt;\&amp;lt;domain user name&amp;gt;.&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
Resolution:&lt;br /&gt;
Start the async service (this could be stopped for many reasons, running out of space/performace and developer thought to stop, service was configured to run under user account and the useraccount either expired or disabled and now async service no longer running). Once async service started restart IIS after 5 minutes, so that new generated keys can be used.&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/3545256811889754117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/10/invalid-action.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/3545256811889754117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/3545256811889754117'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/10/invalid-action.html' title='Invalid Action'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-1320203649580000487</id><published>2015-10-12T05:07:00.000-07:00</published><updated>2015-10-12T05:07:35.907-07:00</updated><title type='text'>windows shortcut commands</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Windows -&amp;gt; Run&lt;br /&gt;
&lt;br /&gt;
1. inetcpl.cpl : opens internet options&lt;br /&gt;
&lt;br /&gt;
2. iexplore.exe -extoff : opens internet explorer with addons as disabled&lt;br /&gt;
&lt;br /&gt;
3. inetmgr : opens IIS manager&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/1320203649580000487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/10/windows-shortcut-commands.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/1320203649580000487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/1320203649580000487'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/10/windows-shortcut-commands.html' title='windows shortcut commands'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-423715988126002130</id><published>2015-09-21T09:37:00.001-07:00</published><updated>2015-09-21T09:37:10.230-07:00</updated><title type='text'>Enable-WSManCredSSP : Root element is missing.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp;Enable-WSManCredSSP -Role Server&lt;br /&gt;
&lt;br /&gt;
Enable-WSManCredSSP -Role client -DelegateComputer *.&amp;lt;&amp;lt;FQDN e.g kuk.solutions.com&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Error:&lt;br /&gt;
 &lt;span style=&quot;color: red; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: red; font-family: Lucida Console; font-size: xx-small;&quot;&gt;Enable-WSManCredSSP : Root element is missing.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: Lucida Console; font-size: xx-small;&quot;&gt;
&lt;br /&gt;
At line:1 char:1&lt;br /&gt;

&lt;br /&gt;
+ Enable-WSManCredSSP -Role client -DelegateComputer *.mydomain.com&lt;br /&gt;

&lt;br /&gt;
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;br /&gt;

&lt;br /&gt;
    + CategoryInfo          : NotSpecified: (:) [Enable-WSManCredSSP], XmlException&lt;br /&gt;

&lt;br /&gt;
    + FullyQualifiedErrorId : System.Xml.XmlException,Microsoft.WSMan.Management.EnableWSManCredSSPCommand &lt;/span&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Solution applied was to run the script provided in the link below to directly update values.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/18113651/powershell-remoting-policy-does-not-allow-the-delegation-of-user-credentials&quot;&gt;http://stackoverflow.com/questions/18113651/powershell-remoting-policy-does-not-allow-the-delegation-of-user-credentials&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/423715988126002130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/09/enable-wsmancredssp-root-element-is.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/423715988126002130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/423715988126002130'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/09/enable-wsmancredssp-root-element-is.html' title='Enable-WSManCredSSP : Root element is missing.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-7750302055680162645</id><published>2015-09-18T04:36:00.004-07:00</published><updated>2015-09-18T04:37:37.459-07:00</updated><title type='text'>get crm service users and app pool identitiy and add them to sharepoint</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: darkgreen; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgreen; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgreen; font-family: Lucida Console; font-size: xx-small;&quot;&gt;#$SPSiteURL = &#39;http://lbh.ntlm/sites/rnbtest&#39;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: darkgreen; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgreen; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgreen; font-family: Lucida Console; font-size: xx-small;&quot;&gt;
#$GroupName = &#39;CRM Docs Members &#39;&lt;br /&gt;
&lt;br /&gt;

&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: deepskyblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: deepskyblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: deepskyblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;CmdletBinding&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;()&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;param&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; (&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: deepskyblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: deepskyblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: deepskyblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;Parameter&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;(Mandatory&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$true&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$SPSiteURL&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;,[&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: deepskyblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: deepskyblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: deepskyblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;Parameter&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;(Mandatory&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$true&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$GroupName&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$ErrorActionPreference&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&quot;Stop&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;
　&lt;br /&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;br /&gt;
$CRMAPPUsers = &lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;Get-WmiObject&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blueviolet; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blueviolet; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blueviolet; font-family: Lucida Console; font-size: xx-small;&quot;&gt;win32_service&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;|&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;Where-Object&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;{ (&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$_&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;Name &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;-like&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&quot;MSCRMUnzipService&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;) &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;-or&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; (&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$_&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;Name &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;-like&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&quot;MSCRMSandboxService&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;) &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;-or&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; (&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$_&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;Name &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;-like&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&#39;MSCRMAsyncService$maintenance&#39;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;) &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;-or&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; (&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$_&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;Name &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;-like&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&quot;MSCRMAsyncService&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;) } &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;|&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;%&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$_&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;StartName}&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;|&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;Get-Unique &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$CRMAppUser&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;Get-WmiObject&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;-Class&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blueviolet; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blueviolet; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blueviolet; font-family: Lucida Console; font-size: xx-small;&quot;&gt;IISApplicationPoolSetting&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;-namespace&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&quot;root\microsoftiisv2&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;|&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;Where-Object&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; {&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$_&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;Name &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;-like&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&#39;W3SVC/APPPOOLS/CRMAppPool&#39;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;|&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;%&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$_&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;WAMUserName}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$Users&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$CRMAsyncUser&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$CRMAPPUsers&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$Users&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$Users&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;|&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;Get-Unique&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;if&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; (&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$ver&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;Version&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;Major &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;-gt&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: purple; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: purple; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: purple; font-family: Lucida Console; font-size: xx-small;&quot;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;) {&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$host&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;Runspace&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;ThreadOptions &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&quot;ReuseThread&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;} &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;if&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; ((&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;Get-PSSnapin&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&quot;Microsoft.SharePoint.PowerShell&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;-ErrorAction&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blueviolet; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blueviolet; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blueviolet; font-family: Lucida Console; font-size: xx-small;&quot;&gt;SilentlyContinue&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;) &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;-eq&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$null&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;Add-PSSnapin&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&quot;Microsoft.SharePoint.PowerShell&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;}&lt;br /&gt;


&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: teal; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: teal; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: teal; font-family: Lucida Console; font-size: xx-small;&quot;&gt;void&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;][&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: teal; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: teal; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: teal; font-family: Lucida Console; font-size: xx-small;&quot;&gt;System.Reflection.Assembly&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;]::&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;LoadWithPartialName(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&quot;Microsoft.SharePoint&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;
 &lt;br /&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$GroupName&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&#39;RNBTest Members&#39;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$web&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;Get-SPWeb&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;-Identity&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$SPSiteURL&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;foreach&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; (&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$User&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkblue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;in&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$Users&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;) { &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$User&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$web&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;EnsureUser(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$User&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$SPUser&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;get-spuser&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;-web&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$sPSiteURL&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;|&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;where-object&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$_&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;userlogin &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;-like&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&quot;*&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$User&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkred; font-family: Lucida Console; font-size: xx-small;&quot;&gt;*&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;} &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;|&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;%&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$_&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgrey; font-family: Lucida Console; font-size: xx-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;Userlogin}    &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;
    &lt;br /&gt;

&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Lucida Console; font-size: xx-small;&quot;&gt;Set-SPUser&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;-UserAlias&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$SPUser&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;-Web&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$SPSiteURL&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Lucida Console; font-size: xx-small;&quot;&gt;-Group&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: orangered; font-family: Lucida Console; font-size: xx-small;&quot;&gt;$GroupName&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: darkgreen; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgreen; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgreen; font-family: Lucida Console; font-size: xx-small;&quot;&gt;#stsadm -o adduser -url $SPSiteURL -userlogin $User -useremail &quot;email@dummy.com&quot;  -group $group -username &#39;dummyusername&#39; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: darkgreen; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgreen; font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: darkgreen; font-family: Lucida Console; font-size: xx-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Lucida Console; font-size: xx-small;&quot;&gt;} &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/7750302055680162645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/09/get-crm-service-users-and-app-pool.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/7750302055680162645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/7750302055680162645'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/09/get-crm-service-users-and-app-pool.html' title='get crm service users and app pool identitiy and add them to sharepoint'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-4890465901475961968</id><published>2015-09-17T07:49:00.000-07:00</published><updated>2015-09-17T07:49:00.527-07:00</updated><title type='text'>Powershell</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Pre-Req .Net 4.0 Framework full&lt;br /&gt;
&lt;a href=&quot;http://www.microsoft.com/en-GB/download/details.aspx?id=17851&quot;&gt;http://www.microsoft.com/en-GB/download/details.aspx?id=17851&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Download PowerShell V3&lt;br /&gt;
&lt;a href=&quot;http://www.microsoft.com/en-us/download/details.aspx?id=34595&quot;&gt;http://www.microsoft.com/en-us/download/details.aspx?id=34595&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enable Remoting&lt;br /&gt;
&lt;br /&gt;
To connect to a different machine (or local) and use that&#39;s feature e.g. I am logged on to Machine A (my deb box)&amp;nbsp;(no SharePoint installed) and Machine B got SharePoint stuff and I got a task to write PowerShell script add x,y and z user to SharePoint site. The solution is use to remoting instead of logging on to Machine B.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On Machine B write following command&lt;br /&gt;
Enable-PSRemoting -Force&lt;br /&gt;
&lt;br /&gt;
On Machine A write following command&lt;br /&gt;
&lt;br /&gt;
Enter-PSSession -ComputerName MachineB -Credential (Get-Credential &amp;lt;domain&amp;gt;/&amp;lt;username&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
now enter SharePoint related command from with in MacihneB like it got SharePoint installed (the commands are executed on remote machine, and PowerShell gets the response with similar objects to work against gets attributes with data but not methods)&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/4890465901475961968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/09/powershell.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/4890465901475961968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/4890465901475961968'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/09/powershell.html' title='Powershell'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-4569770314243274876</id><published>2015-08-26T08:42:00.000-07:00</published><updated>2015-08-26T08:42:00.309-07:00</updated><title type='text'>fetch xml to query expression</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;  Some times its easier to get fetch xml using advance find, but then to use it in query expression use the following command, this take fetchxml and then returns the query expression object&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;var&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt; conversionRequest = &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;new&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt; Microsoft.Crm.Sdk.Messages.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: x-small;&quot;&gt;FetchXmlToQueryExpressionRequest&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span consolas=&quot;&quot; style=&quot;font-family: Consolas; font-size: x-small&amp;gt;&amp;lt;span style=;&quot; x-small=&quot;&quot;&gt;&lt;br /&gt;
            {&lt;br /&gt;

&lt;br /&gt;
                FetchXml = fetchXml&lt;br /&gt;

&lt;br /&gt;
            };&lt;br /&gt;


&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;            &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Consolas; font-size: x-small;&quot;&gt;var&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt; conversionResponse =&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;                (Microsoft.Crm.Sdk.Messages.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: x-small;&quot;&gt;FetchXmlToQueryExpressionResponse&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;)_service.Execute(conversionRequest);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;

&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;            &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-family: Consolas; font-size: x-small;&quot;&gt;QueryExpression&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt; queryExpression = conversionResponse.Query;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/4569770314243274876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/08/fetch-xml-to-query-expression.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/4569770314243274876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/4569770314243274876'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/08/fetch-xml-to-query-expression.html' title='fetch xml to query expression'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-7513090272865250865</id><published>2015-07-28T04:56:00.001-07:00</published><updated>2015-07-28T04:56:59.464-07:00</updated><title type='text'>Update field length/name/property causes SQL timeout</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://support.microsoft.com/en-us/kb/2637855&quot;&gt;https://support.microsoft.com/en-us/kb/2637855&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/7513090272865250865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/07/update-field-lengthnameproperty-causes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/7513090272865250865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/7513090272865250865'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/07/update-field-lengthnameproperty-causes.html' title='Update field length/name/property causes SQL timeout'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-8151384294252764008</id><published>2015-07-23T03:37:00.002-07:00</published><updated>2015-07-23T03:37:35.662-07:00</updated><title type='text'>Creating document library to site using powershell script</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;Creating document library to site using powershell script&lt;br /&gt;
&lt;br /&gt;
[CmdletBinding()]&lt;br /&gt;

&lt;br /&gt;
param ([Parameter(Mandatory=$true)] $SPSiteURL)&lt;br /&gt;


&lt;br /&gt;
$ErrorActionPreference = &quot;Stop&quot;&lt;br /&gt;


&lt;br /&gt;
[void][System.Reflection.Assembly]::LoadWithPartialName(&quot;Microsoft.SharePoint&quot;)&lt;br /&gt;


&lt;br /&gt;
function CreateSharePointFolder(&lt;br /&gt;

&lt;br /&gt;
 [Parameter(Mandatory=$true)] $SPWeb, &lt;br /&gt;

&lt;br /&gt;
 [Parameter(Mandatory=$true)] $ListTemplate, &lt;br /&gt;

&lt;br /&gt;
 [Parameter(Mandatory=$true)] $FolderName, &lt;br /&gt;

&lt;br /&gt;
 [Parameter(Mandatory=$true)] $Title,&lt;br /&gt;

&lt;br /&gt;
 [Parameter(Mandatory=$true)] $Description&lt;br /&gt;

&lt;br /&gt;
 )&lt;br /&gt;

&lt;br /&gt;
{&lt;br /&gt;

&lt;br /&gt;
 $Folder = $spWeb.Lists.TryGetList($Title)&lt;br /&gt;


&lt;br /&gt;
 if($Folder -eq $NULL){&lt;br /&gt;

&lt;br /&gt;
  write-host &quot;Creating new Document Library $Title&quot;&lt;br /&gt;

&lt;br /&gt;
  $listId = $spWeb.Lists.Add($FolderName,$Description,$listTemplate) &lt;br /&gt;

&lt;br /&gt;
  $newList = $spWeb.Lists[$listId]&lt;br /&gt;

&lt;br /&gt;
  $newList.Title = $Title&lt;br /&gt;

&lt;br /&gt;
  $newList.OnQuickLaunch = &quot;true&quot;&lt;br /&gt;

&lt;br /&gt;
  $newList.Update()&lt;br /&gt;

&lt;br /&gt;
 }else&lt;br /&gt;

&lt;br /&gt;
 {&lt;br /&gt;

&lt;br /&gt;
  write-host &quot;$Title already exists&quot;&lt;br /&gt;

&lt;br /&gt;
 }&lt;br /&gt;

&lt;br /&gt;
}&lt;br /&gt;


&lt;br /&gt;
$spWeb = Get-SPWeb -Identity $SPSiteURL #http://splocal.ntlm&lt;br /&gt;


&lt;br /&gt;
$listTemplate = [Microsoft.SharePoint.SPListTemplateType]::DocumentLibrary&lt;br /&gt;


&lt;br /&gt;
CreateSharePointFolder -ListTemplate $listTemplate -FolderName &quot;prefix_entityname1&quot; -Title &quot;Entity Display Name1&quot; -Description &quot;Entity description&quot; -SPWeb $spWeb&lt;br /&gt;

&lt;br /&gt;
CreateSharePointFolder -ListTemplate $listTemplate -FolderName &quot;prefix_entityname2&quot; -Title &quot;Entity Display Name2&quot; -Description &quot;Entity description&quot; -SPWeb $spWeb&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/8151384294252764008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/07/creating-document-library-to-site-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/8151384294252764008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/8151384294252764008'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/07/creating-document-library-to-site-using.html' title='Creating document library to site using powershell script'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-3926740882471365927</id><published>2015-07-20T08:28:00.001-07:00</published><updated>2015-07-20T09:44:19.832-07:00</updated><title type='text'>sharepoint keeps asking for credentials when opening documents</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://www.techrepublic.com/blog/smb-technologist/prevent-unwanted-credentials-prompts-with-sharepoint-document-libraries/&quot;&gt;http://www.techrepublic.com/blog/smb-technologist/prevent-unwanted-credentials-prompts-with-sharepoint-document-libraries/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://blogs.technet.com/b/office_integration__sharepoint/archive/2014/02/24/users-are-prompted-for-username-and-password-when-opening-an-office-file-from-a-web-server.aspx&quot;&gt;http://blogs.technet.com/b/office_integration__sharepoint/archive/2014/02/24/users-are-prompted-for-username-and-password-when-opening-an-office-file-from-a-web-server.aspx&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/3926740882471365927/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/07/sharepoint-keeps-asking-for-credentials.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/3926740882471365927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/3926740882471365927'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/07/sharepoint-keeps-asking-for-credentials.html' title='sharepoint keeps asking for credentials when opening documents'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-5645485382258833331</id><published>2015-07-16T09:15:00.003-07:00</published><updated>2015-07-16T09:15:24.632-07:00</updated><title type='text'>The document records could not be loaded from SharePoint. Try refreshing the grid. If the problem persists, contact your system administrator</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
One of the project where we were using sharepoint and crm 2011 integration, user was able to see crm list component fine but when he/she tries to upload a document and then try to refresh the grid (using refresh icon on the list component), the document already present where no longer shown and also the whole grids gone blank with following error message&lt;br /&gt;
&lt;br /&gt;
The document records could not be loaded from SharePoint. Try refreshing the grid. If the problem persists, contact your system administrator&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Solution: Make sure &lt;br /&gt;
&lt;br /&gt;
1. User has got the site contributor permission (in this case user had)&lt;br /&gt;
2. Execute&amp;nbsp;latest related&amp;nbsp;crm 2011 sharepoint list component&amp;nbsp;&amp;nbsp;(in this case we already done this)&lt;br /&gt;
3. Upload the lastest related crm 2011 sharepoint list component solution file having extension of wsp (this was the error, as we were thinking we had the same version but that wasn&#39;t the case), we can check this by downloading the uploaded solution wsp file from sharepoint and then compare it with the latest one ( i normally use beyound compare for this) but normally if there is a differnt you would tell normally by just looking at the file size.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://community.dynamics.com/crm/f/117/t/141177&quot;&gt;https://community.dynamics.com/crm/f/117/t/141177&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/5645485382258833331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/07/the-document-records-could-not-be.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/5645485382258833331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/5645485382258833331'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/07/the-document-records-could-not-be.html' title='The document records could not be loaded from SharePoint. Try refreshing the grid. If the problem persists, contact your system administrator'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-6282459735789538831</id><published>2015-07-01T04:28:00.004-07:00</published><updated>2015-07-01T04:28:40.238-07:00</updated><title type='text'>customising N:N add existing lookup view</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://www.magnetismsolutions.com/blog/paulnieuwelaar/2013/02/04/filter-n-n-add-existing-lookup-dynamics-crm-2011-rollup-12&quot;&gt;http://www.magnetismsolutions.com/blog/paulnieuwelaar/2013/02/04/filter-n-n-add-existing-lookup-dynamics-crm-2011-rollup-12&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/6282459735789538831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/07/customising-nn-add-existing-lookup-view.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/6282459735789538831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/6282459735789538831'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/07/customising-nn-add-existing-lookup-view.html' title='customising N:N add existing lookup view'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-9116470889269959837</id><published>2015-06-29T03:12:00.000-07:00</published><updated>2015-06-29T03:12:11.258-07:00</updated><title type='text'>internet explorer options are disable by network policies enforced</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div id=&quot;imcontent&quot;&gt;
&lt;span style=&quot;-ms-word-wrap: break-word; color: black; font-family: Lucida Grande; font-size: 9pt;&quot;&gt;when I try to add a url to trusted sites the page is disabled and I am not able to do so, in order to enable this go to run and write regedit and go to following path and delete the &quot;Internet Settings&quot; sub nodes, and then close and restart internet explorer.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-ms-word-wrap: break-word; color: black; font-family: Lucida Grande; font-size: 9pt;&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;-ms-word-wrap: break-word; color: black; font-family: Lucida Grande; font-size: 9pt;&quot;&gt;HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/9116470889269959837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/06/internet-explorer-options-are-disable.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/9116470889269959837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/9116470889269959837'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/06/internet-explorer-options-are-disable.html' title='internet explorer options are disable by network policies enforced'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1351022600069510114.post-26701542438551888</id><published>2015-05-07T02:54:00.000-07:00</published><updated>2015-05-07T02:54:14.195-07:00</updated><title type='text'>Shrink Database - SQL JOB that runs every mornign</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
1. Open &quot;Microsoft SQL Server Management Studio&quot; MSSMS &lt;br /&gt;
2 Connect to server&lt;br /&gt;
3. In Object explorer expand &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I. Server Instance&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; II. SQL Server Agent&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; III. Jobs&lt;br /&gt;
4. Right click on Jobs folder and click on &quot;New Job...&quot; and provider following information&lt;br /&gt;
&amp;nbsp;&amp;nbsp; I. In General Tab&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a. Name (e.g. Shrink Database)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b. Description (e.g. Currntly having issue with disk space, setting up the job so that it runs every morning and I don&#39;t have to restart box or run sql manually)&lt;br /&gt;
&amp;nbsp; II. In Steps Tab&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;a. Click New button&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.&amp;nbsp;In General Tab&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I. Step name (e.g. SHRINK DATABASE)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; II. Command (e.g. EXEC sp_MSForEachDB &#39;DBCC SHRINKDATABASE (&quot;?&quot;,0)&#39;&amp;nbsp; )&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2. Advanced Tab&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I. Run as user (e.g. xyz\kaleemkhan)&lt;br /&gt;
&amp;nbsp; III. In Schedules Tab&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;a. Name (e.g. Run every morning)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b. Schedule Type (e.g. Recurring)&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c. Enable: yes&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; d. Frequency: Daily&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e. Recurs: 1 day(s)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f. Occurs once at 08:00:00 &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g. Start date (e.g. creation date)&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Click Okay to opened windows to setup the SQL job.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://crm2011andsilverlight.blogspot.com/feeds/26701542438551888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/05/shrink-database-sql-job-that-runs-every.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/26701542438551888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1351022600069510114/posts/default/26701542438551888'/><link rel='alternate' type='text/html' href='http://crm2011andsilverlight.blogspot.com/2015/05/shrink-database-sql-job-that-runs-every.html' title='Shrink Database - SQL JOB that runs every mornign'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>