<?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-6748088653910948993</id><updated>2026-04-06T14:23:37.619-04:00</updated><category term="SharePoint"/><category term="PowerShell"/><category term="K2-Workflows"/><category term="Power Shell"/><category term="K2.Net 2003"/><category term="K2 BlackPearl"/><category term="SharePoint 2010"/><category term="BCS"/><category term="External Content Type"/><category term="External Lists"/><category term="FAST Search"/><category term="Could not load file or assembly"/><category term="Farm"/><category term="Microsoft.Net"/><category term="ODP.Net"/><category term="Send To Connector"/><category term="SharePoint 2010 or 2007"/><category term="Tech-News"/><category term="Word Automation Service"/><category term="bdcm"/><category term="hide"/><category term="self signed certificate"/><category term=".ASMX"/><category term=".Net Core Entity Framework"/><category term=".Net core 2.0"/><category term="64bit Oracle.DataAccess.dll"/><category term="AD Search"/><category term="ADO.Net"/><category term="ASP.NET Architecture e-book"/><category term="ASP.Net Webservices"/><category term="ASP.Net XML WebServices"/><category term="Active Directory Groups"/><category term="AddRegularFilter"/><category term="Administrator Permission"/><category term="Authentication"/><category term="BdcException"/><category term="Central Administration"/><category term="Codeplex"/><category term="Command line error"/><category term="Configure Send To"/><category term="Configure Send To Connector"/><category term="Content DB"/><category term="Content Database"/><category term="Contract First"/><category term="Crawl"/><category term="Crawl Rules"/><category term="Crypto"/><category term="DOCX to PDF using WAS"/><category term="DataFields"/><category term="Default browser"/><category term="Delegation"/><category term="DocId"/><category term="Document ID Service"/><category term="DropOffLibrary"/><category term="Export Content Type"/><category term="FAST Search Certificate"/><category term="FAST Search Crawl Rules"/><category term="Fatal error"/><category term="File not found"/><category term="Force Encryption"/><category term="FreeMaterial"/><category term="General Failure"/><category term="Get Columns"/><category term="Get Tables"/><category term="GetSchema"/><category term="GetSignature"/><category term="Gmail labs"/><category term="Hyper-V"/><category term="IE Settings"/><category term="IISReset"/><category term="IServiceProvider interface"/><category term="Invalid text value exception"/><category term="Iterate through web applications"/><category term="Jobs"/><category term="K2 4.6.2 available"/><category term="K2 Studio"/><category term="K2 blackpearl DataFields"/><category term="K2.Net 2003 workflow"/><category term="K2.Net studio has encountered a problem"/><category term="LDAP Query for groups"/><category term="LobSystem"/><category term="MSBuild"/><category term="MasterPage"/><category term="Microsoft Outlook"/><category term="NT Service"/><category term="Object Reference Exception"/><category term="Oracle Developement for SharePoint 2010"/><category term="Oracle.DataAccess in SharePoint 2010"/><category term="Oracle.DataAccess.Client.OracleClientFactory"/><category term="PDF Conversion"/><category term="PageSize"/><category term="PowerShell ISE"/><category term="RSA"/><category term="Remove Send To Connector List"/><category term="Replace WebPart"/><category term="Root"/><category term="SPN"/><category term="SPNs"/><category term="SPUserCollection"/><category term="SQLServer"/><category term="SQlConnection"/><category term="SSL certificate"/><category term="STSADM"/><category term="Sandboxmode"/><category term="Script-Migration"/><category term="Security Exception"/><category term="Server"/><category term="SharePoint 2007"/><category term="SharePoint Installer"/><category term="SharePoint Manager 2010"/><category term="SharePoint PowerShell"/><category term="SharePoint Solution Package"/><category term="SharePoint Tools"/><category term="SharePoint Web Applications"/><category term="Site Collections. Administrator"/><category term="SizeLimit"/><category term="Smartpart"/><category term="Sort Dictionary"/><category term="Status"/><category term="Telerik Controls"/><category term="Telerik fileupload control"/><category term="The URL was"/><category term="The store provider factory type"/><category term="Token Issuer"/><category term="Trust Certificate"/><category term="Trust Level"/><category term="Trusted Identity Provider"/><category term="Update DataFields"/><category term="VHD"/><category term="VHDX"/><category term="View Process Instance Data"/><category term="WCF Services"/><category term="WSDL.EXE"/><category term="WSP"/><category term="Web Application"/><category term="Windows 2008 R2"/><category term="Word Automation Services"/><category term="WorkflowCriteriaFilter"/><category term="Worklist Item"/><category term="Workllistcriteria"/><category term="XML"/><category term="XML Schema"/><category term="XSD"/><category term="addcontentdb"/><category term="automate document assembly"/><category term="by value"/><category term="certutil"/><category term="connection"/><category term="content fields"/><category term="could not load assembly Oracle.DataAccess.dll"/><category term="delegconfig"/><category term="deletecontentdb"/><category term="enable wifi"/><category term="failed"/><category term="http status 401: Unauthorized"/><category term="icacls"/><category term="ildasm"/><category term="in C#"/><category term="insert images into Gmail"/><category term="keyvaluepair"/><category term="linux"/><category term="makecert"/><category term="outlook"/><category term="private certificate"/><category term="public certificate"/><category term="pvk2pfx"/><category term="serviceaccount"/><category term="setspn"/><category term="sharepoint Shared Services"/><category term="sign .net assembly"/><category term="sign a dll"/><category term="sign assemly"/><category term="sign dll"/><category term="sign dll in visual studio"/><category term="sn -k"/><category term="ubuntu"/><category term="update document content fields throw k2"/><category term="using ADO.Net"/><category term="value.compareto"/><category term="visual ctudio commandprompt"/><category term="wifi disabled"/><category term="word document in k2"/><title type='text'>Code Samples</title><subtitle type='html'>Cloud Computing, Microsoft SharePoint, Microsoft .Net Technologies, K2 blackpearl Workflows,  etc...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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>90</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6748088653910948993.post-4713876078156205097</id><published>2019-02-23T17:10:00.003-05:00</published><updated>2019-02-23T17:10:38.810-05:00</updated><title type='text'>Access to XMLHttpRequest at &#39;from origin has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. .net core angular</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;&lt;u&gt;Issue:&lt;/u&gt;&lt;/b&gt; The angular application was getting error from API that the origin has been blocked by CORS policy.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Solution:&lt;/u&gt;&lt;/b&gt; Make sure that the url configured in angular (usually in environment.ts file missing http or https). Example below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Error Configuration:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
export const environment = {&lt;br /&gt;
&amp;nbsp; production: false,&lt;br /&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp; apiUrl: &#39;localhost:56425/api&#39;&lt;/span&gt;&lt;br /&gt;
};&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;
&lt;b&gt;&lt;u&gt;Correct configuration:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;
export const environment = {&lt;br /&gt;
&amp;nbsp; production: false,&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;background-color: yellow;&quot;&gt;apiUrl: &#39;&lt;b&gt;http://&lt;/b&gt;localhost:56425/api&#39;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/4713876078156205097/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2019/02/access-to-xmlhttprequest-at-from-origin.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/4713876078156205097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/4713876078156205097'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2019/02/access-to-xmlhttprequest-at-from-origin.html' title='Access to XMLHttpRequest at &#39;from origin has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. .net core angular'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-6801243174148526906</id><published>2018-08-20T13:58:00.002-04:00</published><updated>2018-08-20T14:04:12.168-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".Net Core Entity Framework"/><category scheme="http://www.blogger.com/atom/ns#" term="Script-Migration"/><title type='text'>Generate SQL Scripts for the Migration - .Net Core Entity FrameWork</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Script-Migration command helps to generate the SQL Scripts (for code first model) that can be run directly from SQL Server Management Studio&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Syntax:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; overflow: auto; padding: 9.5px; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;code style=&quot;background-color: transparent; border-radius: 0px; box-sizing: border-box; color: inherit; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: inherit; padding: 0px; white-space: pre-wrap;&quot;&gt;SYNTAX
    Script-Migration [-From] &amp;lt;String&amp;gt; [-To] &amp;lt;String&amp;gt; [-Idempotent] [-Context &amp;lt;String&amp;gt;] [-Environment &amp;lt;String&amp;gt;] [-Project &amp;lt;String&amp;gt;] [-StartupProject &amp;lt;String&amp;gt;] [&amp;lt;CommonParameters&amp;gt;]&lt;/code&gt;&lt;/pre&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;u&gt;Example:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Script-Migration&lt;/b&gt; -from &quot;20180523175151_InsertComponentType&quot; -to &quot;20180604012237_OPIDTableInsert&quot;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/6801243174148526906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2018/08/generate-sql-scripts-for-migration-net.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/6801243174148526906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/6801243174148526906'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2018/08/generate-sql-scripts-for-migration-net.html' title='Generate SQL Scripts for the Migration - .Net Core Entity FrameWork'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-2951614749157571225</id><published>2018-05-17T11:37:00.000-04:00</published><updated>2018-05-17T11:37:04.966-04:00</updated><title type='text'>Command For Angular Build with AOT</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
ng build &quot;--verbose&quot; &quot;--environment=test&quot; &quot;--aot&quot;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/2951614749157571225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2018/05/command-for-angular-build-with-aot.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/2951614749157571225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/2951614749157571225'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2018/05/command-for-angular-build-with-aot.html' title='Command For Angular Build with AOT'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-4516392504225624948</id><published>2018-01-11T17:13:00.000-05:00</published><updated>2018-01-11T17:13:13.231-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Farm"/><category scheme="http://www.blogger.com/atom/ns#" term="Jobs"/><category scheme="http://www.blogger.com/atom/ns#" term="PowerShell"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Status"/><title type='text'>Get All Timer Jobs Status from a Farm in GridView using PowerShell</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;clear
&lt;span style=&quot;color: #007020;&quot;&gt;Remove-PSSnapin&lt;/span&gt; Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue
&lt;span style=&quot;color: #007020;&quot;&gt;Add-PSSnapin&lt;/span&gt; Microsoft.SharePoint.Powershell

&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #007020;&quot;&gt;Get-SPTimerJobStatus&lt;/span&gt;
{
    &lt;span style=&quot;color: #007020;&quot;&gt;Get-SPTimerJob&lt;/span&gt; | sort Name | &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;ForEach&lt;/span&gt;-Object {
        &lt;span style=&quot;color: #996633;&quot;&gt;$lastRun&lt;/span&gt; = &lt;span style=&quot;color: #996633;&quot;&gt;$_&lt;/span&gt;.HistoryEntries | &lt;span style=&quot;color: #007020;&quot;&gt;Select-Object&lt;/span&gt; -first 1
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #996633;&quot;&gt;$_&lt;/span&gt;.WebApplication &lt;span style=&quot;color: #333333;&quot;&gt;-eq&lt;/span&gt; &lt;span style=&quot;color: #996633;&quot;&gt;$null&lt;/span&gt;) { &lt;span style=&quot;color: #996633;&quot;&gt;$level&lt;/span&gt; = &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Farm&quot;&lt;/span&gt; }
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;else&lt;/span&gt; { &lt;span style=&quot;color: #996633;&quot;&gt;$level&lt;/span&gt; = &lt;span style=&quot;color: #996633;&quot;&gt;$_&lt;/span&gt;.WebApplication.Url }
        
        &lt;span style=&quot;color: #996633;&quot;&gt;$values&lt;/span&gt; = &lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;@&lt;/span&gt;{
            &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Name&quot;&lt;/span&gt; = &lt;span style=&quot;color: #996633;&quot;&gt;$_&lt;/span&gt;.Name
            &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Level&quot;&lt;/span&gt; = &lt;span style=&quot;color: #996633;&quot;&gt;$level&lt;/span&gt;
            &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;StartTime&quot;&lt;/span&gt; = &lt;span style=&quot;color: #996633;&quot;&gt;$lastRun&lt;/span&gt;.StartTime
            &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;EndTime&quot;&lt;/span&gt; = &lt;span style=&quot;color: #996633;&quot;&gt;$lastRun&lt;/span&gt;.EndTime
            &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Status&quot;&lt;/span&gt; = &lt;span style=&quot;color: #996633;&quot;&gt;$lastRun&lt;/span&gt;.Status
        }
        &lt;span style=&quot;color: #007020;&quot;&gt;New-Object&lt;/span&gt; PSObject -Property &lt;span style=&quot;color: #996633;&quot;&gt;$values&lt;/span&gt; | Select &lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;@&lt;/span&gt;(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Name&quot;&lt;/span&gt;,&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Level&quot;&lt;/span&gt;,&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;StartTime&quot;&lt;/span&gt;,&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;EndTime&quot;&lt;/span&gt;,&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Status&quot;&lt;/span&gt;)
    }
}
&lt;span style=&quot;color: #007020;&quot;&gt;Get-SPTimerJobStatus&lt;/span&gt; | &lt;span style=&quot;color: #007020;&quot;&gt;Out-GridView&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/4516392504225624948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/get-all-timer-jobs-status-from-farm-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/4516392504225624948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/4516392504225624948'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/get-all-timer-jobs-status-from-farm-in.html' title='Get All Timer Jobs Status from a Farm in GridView using PowerShell'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-7595662072093250455</id><published>2018-01-11T17:10:00.001-05:00</published><updated>2018-01-11T17:10:58.335-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PowerShell"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Site Collections. Administrator"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Application"/><title type='text'>Find out all Site Collection Administrators from a Web Application using PowerShell</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;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;clear
&lt;span style=&quot;color: #007020;&quot;&gt;Remove-PSSnapin&lt;/span&gt; Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue
&lt;span style=&quot;color: #007020;&quot;&gt;Add-PSSnapin&lt;/span&gt; Microsoft.SharePoint.Powershell

&lt;span style=&quot;color: #888888;&quot;&gt;############### VARIABLES ################################&lt;/span&gt;

&lt;span style=&quot;color: #996633;&quot;&gt;$rootsiteUrl&lt;/span&gt; = &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;https:/webappurl&quot;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;/pre&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #888888; font-size: x-small;&quot;&gt;################################################################&lt;span style=&quot;background-color: transparent; color: black; display: inline; float: none; font-family: &amp;quot;consolas&amp;quot;; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 17.33px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; white-space: pre; word-spacing: 0px;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #996633;&quot;&gt;$rootSite&lt;/span&gt; = &lt;span style=&quot;color: #007020;&quot;&gt;New-Object&lt;/span&gt; Microsoft.SharePoint.SPSite(&lt;span style=&quot;color: #996633;&quot;&gt;$rootsiteUrl&lt;/span&gt;)
&lt;span style=&quot;color: #996633;&quot;&gt;$spWebApp&lt;/span&gt; = &lt;span style=&quot;color: #996633;&quot;&gt;$rootSite&lt;/span&gt;.WebApplication
 
&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;foreach&lt;/span&gt;(&lt;span style=&quot;color: #996633;&quot;&gt;$site&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;in&lt;/span&gt; &lt;span style=&quot;color: #996633;&quot;&gt;$spWebApp&lt;/span&gt;.Sites)
{
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;foreach&lt;/span&gt;(&lt;span style=&quot;color: #996633;&quot;&gt;$siteAdmin&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;in&lt;/span&gt; &lt;span style=&quot;color: #996633;&quot;&gt;$site&lt;/span&gt;.RootWeb.SiteAdministrators)
    {
        &lt;span style=&quot;color: #007020;&quot;&gt;Write-Host&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;$(&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;$&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;siteAdmin.ParentWeb.Url)&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt; - &lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;$(&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;$&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;siteAdmin.DisplayName)&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;&lt;/span&gt;
    }
    &lt;span style=&quot;color: #996633;&quot;&gt;$site&lt;/span&gt;.Dispose()
}
&lt;span style=&quot;color: #996633;&quot;&gt;$rootSite&lt;/span&gt;.Dispose()
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/7595662072093250455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/find-out-all-site-collection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/7595662072093250455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/7595662072093250455'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/find-out-all-site-collection.html' title='Find out all Site Collection Administrators from a Web Application using PowerShell'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-2618567801867674391</id><published>2018-01-11T17:07:00.000-05:00</published><updated>2018-01-11T17:07:07.530-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PowerShell"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Token Issuer"/><category scheme="http://www.blogger.com/atom/ns#" term="Trusted Identity Provider"/><title type='text'>Remove Trusted Identity Token Issuer from SharePoint using PowerShell</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;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;clear 
&lt;span style=&quot;color: #007020;&quot;&gt;Remove-PSSnapin&lt;/span&gt; Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue 
&lt;span style=&quot;color: #007020;&quot;&gt;Add-PSSnapin&lt;/span&gt; Microsoft.SharePoint.Powershell

&lt;span style=&quot;color: #007020;&quot;&gt;Remove-SPTrustedIdentityTokenIssuer&lt;/span&gt; STSWebSite
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/2618567801867674391/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/remove-trusted-identity-token-issuer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/2618567801867674391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/2618567801867674391'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/remove-trusted-identity-token-issuer.html' title='Remove Trusted Identity Token Issuer from SharePoint using PowerShell'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-7609162000166400247</id><published>2018-01-11T17:04:00.000-05:00</published><updated>2018-01-11T17:04:29.157-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Central Administration"/><category scheme="http://www.blogger.com/atom/ns#" term="PowerShell"/><category scheme="http://www.blogger.com/atom/ns#" term="Root"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Trust Certificate"/><title type='text'>Add Certificate SharePoint Trusted Root using PowerSHell</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;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;clear  
&lt;span style=&quot;color: #007020;&quot;&gt;Remove-PSSnapin&lt;/span&gt; Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue  
&lt;span style=&quot;color: #007020;&quot;&gt;Add-PSSnapin&lt;/span&gt; Microsoft.SharePoint.Powershell 

&lt;span style=&quot;color: #996633;&quot;&gt;$invocation&lt;/span&gt; = (&lt;span style=&quot;color: #007020;&quot;&gt;Get-Variable&lt;/span&gt; MyInvocation).Value
&lt;span style=&quot;color: #996633;&quot;&gt;$currentfolder&lt;/span&gt; = &lt;span style=&quot;color: #007020;&quot;&gt;Split-Path&lt;/span&gt; &lt;span style=&quot;color: #996633;&quot;&gt;$invocation&lt;/span&gt;.MyCommand.Path
&lt;span style=&quot;color: #996633;&quot;&gt;$SolutionPath&lt;/span&gt;=&lt;span style=&quot;color: #996633;&quot;&gt;$currentfolder&lt;/span&gt; + &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;\STSPublicCert.cer&quot;&lt;/span&gt;
&lt;span style=&quot;color: #007020;&quot;&gt;New-SPTrustedRootAuthority&lt;/span&gt; -Name &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;STSTrustRenewed&quot;&lt;/span&gt; -Certificate &lt;span style=&quot;color: #996633;&quot;&gt;$SolutionPath&lt;/span&gt; 
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/7609162000166400247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/add-certificate-sharepoint-trusted-root.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/7609162000166400247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/7609162000166400247'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/add-certificate-sharepoint-trusted-root.html' title='Add Certificate SharePoint Trusted Root using PowerSHell'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-1428383324600616191</id><published>2018-01-11T16:53:00.001-05:00</published><updated>2018-01-11T16:53:34.731-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="FAST Search"/><category scheme="http://www.blogger.com/atom/ns#" term="PowerShell"/><category scheme="http://www.blogger.com/atom/ns#" term="self signed certificate"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Renew FAST Search Certificate using PowerShell</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This script is more useful for the environments that uses self signed certificates for FAST Search&lt;br /&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #888888;&quot;&gt;###################################&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;# Apply Certificate to FAST&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;###################################&lt;/span&gt;

Clear
&lt;span style=&quot;color: #007020;&quot;&gt;Remove-PSSnapin&lt;/span&gt; AdminSnapIn -ErrorAction SilentlyContinue
&lt;span style=&quot;color: #007020;&quot;&gt;Remove-PSSnapin&lt;/span&gt; Microsoft.FASTSearch.PowerShell -ErrorAction SilentlyContinue
&lt;span style=&quot;color: #007020;&quot;&gt;Remove-PSSnapin&lt;/span&gt; Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

&lt;span style=&quot;color: #996633;&quot;&gt;$userName&lt;/span&gt; = &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Domain\ServiceAccountName&quot;&lt;/span&gt;
&lt;span style=&quot;color: #996633;&quot;&gt;$FastContentServiceName&lt;/span&gt; = &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;FAST Content&quot;&lt;/span&gt;

&lt;span style=&quot;color: #007020;&quot;&gt;write-host&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Applying Certificate to FAST&quot;&lt;/span&gt; -ForegroundColor Green
&lt;span style=&quot;color: #888888;&quot;&gt;#Release worker processess with IISRESET&lt;/span&gt;
iisreset

&lt;span style=&quot;color: #007020;&quot;&gt;stop-service&lt;/span&gt; FAST*

&lt;span style=&quot;color: #996633;&quot;&gt;$installerdir&lt;/span&gt; = &lt;span style=&quot;color: #996633;&quot;&gt;$env:FASTSEARCH&lt;/span&gt; + &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;installer\scripts&quot;&lt;/span&gt;
echo &lt;span style=&quot;color: #996633;&quot;&gt;$installerdir&lt;/span&gt;
cd &lt;span style=&quot;color: #996633;&quot;&gt;$installerdir&lt;/span&gt;
&lt;span style=&quot;color: #996633;&quot;&gt;$pw&lt;/span&gt; = &lt;span style=&quot;color: #007020;&quot;&gt;ConvertTo-SecureString&lt;/span&gt; -AsPlainText -force test
.\ReplaceDefaultCertificate.ps1 -generateNewCertificate &lt;span style=&quot;color: #996633;&quot;&gt;$true&lt;/span&gt; -certificatePassword &lt;span style=&quot;color: #996633;&quot;&gt;$pw&lt;/span&gt;
&lt;span style=&quot;color: #996633;&quot;&gt;$cert&lt;/span&gt; = &lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;@&lt;/span&gt;(dir cert&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;:&lt;/span&gt;\LocalMachine\My -recurse | ? { &lt;span style=&quot;color: #996633;&quot;&gt;$_&lt;/span&gt;.Subject &lt;span style=&quot;color: #333333;&quot;&gt;-eq&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&#39;CN=FASTSearchCert&#39;&lt;/span&gt; })[0]
&lt;span style=&quot;color: #996633;&quot;&gt;$thumb&lt;/span&gt; = &lt;span style=&quot;color: #996633;&quot;&gt;$cert&lt;/span&gt;.Thumbprint

&lt;span style=&quot;color: #007020;&quot;&gt;Start-service&lt;/span&gt; FAST*

.\SecureFASTSearchConnector.ps1 -certThumbprint &lt;span style=&quot;color: #996633;&quot;&gt;$thumb&lt;/span&gt; -ssaName &lt;span style=&quot;color: #996633;&quot;&gt;$FastContentServiceName&lt;/span&gt; -username &lt;span style=&quot;color: #996633;&quot;&gt;$userName&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/1428383324600616191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/renew-fast-search-certificate-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/1428383324600616191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/1428383324600616191'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/renew-fast-search-certificate-using.html' title='Renew FAST Search Certificate using PowerShell'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-293941820132510474</id><published>2018-01-11T16:47:00.000-05:00</published><updated>2018-01-11T16:47:18.868-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DOCX to PDF using WAS"/><category scheme="http://www.blogger.com/atom/ns#" term="PDF Conversion"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Word Automation Service"/><title type='text'>Generate DOCX to PDF file using Word Automation Service (WAS) in SharePoint using PowerShell</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Note: This script will be very useful to test whether the WAS service is working properly in the environment. In addition, it will help to find out the source and destination libraries have proper permissions for the WAS to generate the PDF&lt;br /&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;clear  
&lt;span style=&quot;color: #007020;&quot;&gt;Remove-PSSnapin&lt;/span&gt; Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue  
&lt;span style=&quot;color: #007020;&quot;&gt;Add-PSSnapin&lt;/span&gt; Microsoft.SharePoint.Powershell 

&lt;span style=&quot;color: #996633;&quot;&gt;$webAppUrl&lt;/span&gt; = &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;http://webappurl&quot;&lt;/span&gt;


&lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;[void][System.Reflection.Assembly]&lt;/span&gt;&lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;::&lt;/span&gt;LoadWithPartialName( &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Microsoft.Office.Word.Server&quot;&lt;/span&gt; ) 

&lt;span style=&quot;color: #996633;&quot;&gt;$jobSettings&lt;/span&gt; = &lt;span style=&quot;color: #007020;&quot;&gt;New-Object&lt;/span&gt; Microsoft.Office.Word.Server.Conversions.ConversionJobSettings 

&lt;span style=&quot;color: #996633;&quot;&gt;$jobSettings&lt;/span&gt;.OutputFormat = &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;PDF&quot;&lt;/span&gt; 

&lt;span style=&quot;color: #996633;&quot;&gt;$job&lt;/span&gt; = &lt;span style=&quot;color: #007020;&quot;&gt;New-Object&lt;/span&gt; Microsoft.Office.Word.Server.Conversions.ConversionJob( &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Word Automation Services&quot;&lt;/span&gt;, &lt;span style=&quot;color: #996633;&quot;&gt;$jobSettings&lt;/span&gt; ) 

&lt;span style=&quot;color: #996633;&quot;&gt;$job&lt;/span&gt;.UserToken = (&lt;span style=&quot;color: #007020;&quot;&gt;Get-SPWeb&lt;/span&gt; &lt;span style=&quot;color: #996633;&quot;&gt;$webAppUrl&lt;/span&gt;).CurrentUser.UserToken 

&lt;span style=&quot;color: #888888;&quot;&gt;#Provide the full document url with docx and pdf location&lt;/span&gt;

&lt;span style=&quot;color: #996633;&quot;&gt;$job&lt;/span&gt;.AddFile( &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;http://webappurl/Shared%20Documents/test1.docx&quot;&lt;/span&gt;, &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;http://webappurl/Shared%20Documents/ConvertedDoc.pdf&quot;&lt;/span&gt; ) 

&lt;span style=&quot;color: #996633;&quot;&gt;$job&lt;/span&gt;.Start( )

&lt;span style=&quot;color: #007020;&quot;&gt;write-host&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Complete&quot;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/293941820132510474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/generate-docx-to-pdf-file-using-word.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/293941820132510474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/293941820132510474'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/generate-docx-to-pdf-file-using-word.html' title='Generate DOCX to PDF file using Word Automation Service (WAS) in SharePoint using PowerShell'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-986406225615797229</id><published>2018-01-11T16:39:00.000-05:00</published><updated>2018-01-11T16:39:08.701-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PowerShell"/><category scheme="http://www.blogger.com/atom/ns#" term="Sandboxmode"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Word Automation Services"/><title type='text'>Disable Sandbox Model for Word Automation Services using PowerShell</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;clear
&lt;span style=&quot;color: #007020;&quot;&gt;Remove-PSSnapin&lt;/span&gt; Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue
&lt;span style=&quot;color: #007020;&quot;&gt;Add-PSSnapin&lt;/span&gt; Microsoft.SharePoint.Powershell

&lt;span style=&quot;color: #996633;&quot;&gt;$sp&lt;/span&gt; = &lt;span style=&quot;color: #007020;&quot;&gt;Get-SPServiceApplication&lt;/span&gt; | where {&lt;span style=&quot;color: #996633;&quot;&gt;$_&lt;/span&gt;.TypeName.Equals(&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Word Automation Services&quot;&lt;/span&gt;)}  
&lt;span style=&quot;color: #996633;&quot;&gt;$sp&lt;/span&gt;.DisableSandbox = &lt;span style=&quot;color: #996633;&quot;&gt;$true&lt;/span&gt;
&lt;span style=&quot;color: #996633;&quot;&gt;$sp&lt;/span&gt;.Update()
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/986406225615797229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/disable-sandbox-model-for-word.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/986406225615797229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/986406225615797229'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/disable-sandbox-model-for-word.html' title='Disable Sandbox Model for Word Automation Services using PowerShell'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-6139375003586613623</id><published>2018-01-11T16:33:00.002-05:00</published><updated>2018-01-11T16:33:42.705-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Farm"/><category scheme="http://www.blogger.com/atom/ns#" term="IISReset"/><category scheme="http://www.blogger.com/atom/ns#" term="PowerShell"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Perform IISReset in all the servers of a SharePoint Farm using PowerShell</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;clear
&lt;span style=&quot;color: #007020;&quot;&gt;Remove-PSSnapin&lt;/span&gt; Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue
&lt;span style=&quot;color: #007020;&quot;&gt;Add-PSSnapin&lt;/span&gt; Microsoft.SharePoint.Powershell

&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;If&lt;/span&gt; ((&lt;span style=&quot;color: #007020;&quot;&gt;Get-PSSnapIn&lt;/span&gt; -Name Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue) &lt;span style=&quot;color: #333333;&quot;&gt;-eq&lt;/span&gt; &lt;span style=&quot;color: #996633;&quot;&gt;$null&lt;/span&gt; )  
{ &lt;span style=&quot;color: #007020;&quot;&gt;Add-PSSnapIn&lt;/span&gt; -Name Microsoft.SharePoint.PowerShell } 
 
&lt;span style=&quot;color: #996633;&quot;&gt;$host&lt;/span&gt;.Runspace.ThreadOptions = &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;ReuseThread&quot;&lt;/span&gt; 
 
&lt;span style=&quot;color: #888888;&quot;&gt;#Definition of the funcion that performs the IIS RESET in all the servers &lt;/span&gt;
&lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;function&lt;/span&gt; PerformIISReset 
{     
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;try&lt;/span&gt; 
    {         
        &lt;span style=&quot;color: #888888;&quot;&gt;#Getting the servers where the IISReset is going to be done &lt;/span&gt;
        &lt;span style=&quot;color: #996633;&quot;&gt;$spServers&lt;/span&gt;= &lt;span style=&quot;color: #007020;&quot;&gt;Get-SPServer&lt;/span&gt; | ? {&lt;span style=&quot;color: #996633;&quot;&gt;$_&lt;/span&gt;.Role &lt;span style=&quot;color: #333333;&quot;&gt;-eq&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Application&quot;&lt;/span&gt;} 
        &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;foreach&lt;/span&gt; (&lt;span style=&quot;color: #996633;&quot;&gt;$spServer&lt;/span&gt; &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;in&lt;/span&gt; &lt;span style=&quot;color: #996633;&quot;&gt;$spServers&lt;/span&gt;) 
        {             
            &lt;span style=&quot;color: #007020;&quot;&gt;Write-Host&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;Perform IIS Reset in server $spServer&quot;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;-f&lt;/span&gt; blue 
            iisreset &lt;span style=&quot;color: #996633;&quot;&gt;$spServer&lt;/span&gt; /noforce &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;\\&quot;&lt;/span&gt;&lt;span style=&quot;color: #996633;&quot;&gt;$_&lt;/span&gt;.Address 
            iisreset &lt;span style=&quot;color: #996633;&quot;&gt;$spServer&lt;/span&gt; /status &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;\\&quot;&lt;/span&gt;&lt;span style=&quot;color: #996633;&quot;&gt;$_&lt;/span&gt;.Address 
        }         
        &lt;span style=&quot;color: #007020;&quot;&gt;Write-Host&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;IIS Reset completed successfully!!&quot;&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;-f&lt;/span&gt; blue   
    } 
    &lt;span style=&quot;color: #008800; font-weight: bold;&quot;&gt;catch&lt;/span&gt; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;[System.Exception]&lt;/span&gt; 
    { 
        &lt;span style=&quot;color: #007020;&quot;&gt;write-host&lt;/span&gt; &lt;span style=&quot;color: #333333;&quot;&gt;-f&lt;/span&gt; red &lt;span style=&quot;color: #996633;&quot;&gt;$_&lt;/span&gt;.Exception.ToString() 
    } 
} 
 
&lt;span style=&quot;color: #007020;&quot;&gt;Start-SPAssignment&lt;/span&gt; &lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;–&lt;/span&gt;Global 
PerformIISReset 
&lt;span style=&quot;color: #007020;&quot;&gt;Stop-SPAssignment&lt;/span&gt; &lt;span style=&quot;background-color: #ffaaaa; color: red;&quot;&gt;–&lt;/span&gt;Global 
 
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/6139375003586613623/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/perform-iisreset-in-all-servers-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/6139375003586613623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/6139375003586613623'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/perform-iisreset-in-all-servers-of.html' title='Perform IISReset in all the servers of a SharePoint Farm using PowerShell'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-290119434049894941</id><published>2018-01-11T16:25:00.002-05:00</published><updated>2018-01-11T16:25:53.144-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PowerShell"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Solution Package"/><category scheme="http://www.blogger.com/atom/ns#" term="WSP"/><title type='text'>Extract WSP (SharePoint Solution) file from SharePoint Farm using PowerShell</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre style=&quot;background: #ffffff; color: black;&quot;&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;clear&lt;/span&gt;
&lt;span style=&quot;color: #666616;&quot;&gt;Remove-PSSnapin&lt;/span&gt; &lt;span style=&quot;color: #0000e6;&quot;&gt;Microsoft.SharePoint.Powershell&lt;/span&gt; &lt;span style=&quot;color: #074726;&quot;&gt;-ErrorAction&lt;/span&gt; &lt;span style=&quot;color: #0000e6;&quot;&gt;SilentlyContinue&lt;/span&gt;
&lt;span style=&quot;color: #666616;&quot;&gt;Add-PSSnapin&lt;/span&gt; &lt;span style=&quot;color: #0000e6;&quot;&gt;Microsoft.SharePoint.Powershell&lt;/span&gt;

&lt;span style=&quot;color: #797997;&quot;&gt;$solName&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;Sample.wsp&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;
&lt;span style=&quot;color: #797997;&quot;&gt;$farm&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #005fd2;&quot;&gt;Get-SPFarm&lt;/span&gt;

&lt;span style=&quot;color: #797997;&quot;&gt;$file&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #797997;&quot;&gt;$farm&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;Solutions&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;Item&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #797997;&quot;&gt;$solName&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;SolutionFile&lt;/span&gt;
&lt;span style=&quot;color: #797997;&quot;&gt;$file&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;SaveAs&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;c:\Sample.wsp&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;

&lt;span style=&quot;color: #666616;&quot;&gt;write-host&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;Completed&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/290119434049894941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/extract-wsp-sharepoint-solution-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/290119434049894941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/290119434049894941'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/extract-wsp-sharepoint-solution-file.html' title='Extract WSP (SharePoint Solution) file from SharePoint Farm using PowerShell'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-7232381478678710458</id><published>2018-01-11T16:22:00.000-05:00</published><updated>2018-01-11T16:22:09.391-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MasterPage"/><category scheme="http://www.blogger.com/atom/ns#" term="PowerShell"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Set Master Page Url using PowerShell - SharePoint</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre style=&quot;background: #ffffff; color: black;&quot;&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;clear&lt;/span&gt;
&lt;span style=&quot;color: #666616;&quot;&gt;Remove-PSSnapin&lt;/span&gt; &lt;span style=&quot;color: #0000e6;&quot;&gt;Microsoft.SharePoint.Powershell&lt;/span&gt; &lt;span style=&quot;color: #074726;&quot;&gt;-ErrorAction&lt;/span&gt; &lt;span style=&quot;color: #0000e6;&quot;&gt;SilentlyContinue&lt;/span&gt;
&lt;span style=&quot;color: #666616;&quot;&gt;Add-PSSnapin&lt;/span&gt; &lt;span style=&quot;color: #0000e6;&quot;&gt;Microsoft.SharePoint.Powershell&lt;/span&gt;

&lt;span style=&quot;color: dimgrey;&quot;&gt;################ ENVIRONMENT VARIABLES #########################&lt;/span&gt;

&lt;span style=&quot;color: #797997;&quot;&gt;$webAppUrl&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;https://webappurl&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;

&lt;span style=&quot;color: dimgrey;&quot;&gt;################################################################&lt;/span&gt;


&lt;span style=&quot;color: #797997;&quot;&gt;$mainSite&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #797997;&quot;&gt;$webAppUrl&lt;/span&gt; 
&lt;span style=&quot;color: #797997;&quot;&gt;$web&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #005fd2;&quot;&gt;Get-SPWeb&lt;/span&gt; &lt;span style=&quot;color: #797997;&quot;&gt;$mainSite&lt;/span&gt;
&lt;span style=&quot;color: #797997;&quot;&gt;$web&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;MasterUrl&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;/_catalogs/masterpage/v4.master&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;
&lt;span style=&quot;color: #797997;&quot;&gt;$web&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;Update&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;
&lt;span style=&quot;color: #797997;&quot;&gt;$web&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;Dispose&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;

&lt;span style=&quot;color: #666616;&quot;&gt;Write-host&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;Completed&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/7232381478678710458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/set-master-page-url-using-powershell.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/7232381478678710458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/7232381478678710458'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/set-master-page-url-using-powershell.html' title='Set Master Page Url using PowerShell - SharePoint'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-6658584739282330660</id><published>2018-01-11T16:17:00.001-05:00</published><updated>2018-01-11T16:18:07.483-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Crawl"/><category scheme="http://www.blogger.com/atom/ns#" term="DropOffLibrary"/><category scheme="http://www.blogger.com/atom/ns#" term="PowerShell"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Enable Crawl for DropOffLibrary Documents using PowerShell - SharePoint</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre style=&quot;background: #ffffff; color: black;&quot;&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;clear&lt;/span&gt;  
&lt;span style=&quot;color: #666616;&quot;&gt;Remove-PSSnapin&lt;/span&gt; &lt;span style=&quot;color: #0000e6;&quot;&gt;Microsoft.SharePoint.Powershell&lt;/span&gt; &lt;span style=&quot;color: #074726;&quot;&gt;-ErrorAction&lt;/span&gt; &lt;span style=&quot;color: #0000e6;&quot;&gt;SilentlyContinue&lt;/span&gt;  
&lt;span style=&quot;color: #666616;&quot;&gt;Add-PSSnapin&lt;/span&gt; &lt;span style=&quot;color: #0000e6;&quot;&gt;Microsoft.SharePoint.Powershell&lt;/span&gt; 

&lt;span style=&quot;color: dimgrey;&quot;&gt;################## ENVIRONMENT VARIABLES ##################&lt;/span&gt;

&lt;span style=&quot;color: #797997;&quot;&gt;$siteUrl&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;https://record-site-coll-url&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;


&lt;span style=&quot;color: dimgrey;&quot;&gt;###########################################################&lt;/span&gt;

&lt;span style=&quot;color: #797997;&quot;&gt;$dropOffLibrary&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;Drop Off Library&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;
&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;try&lt;/span&gt;
&lt;span style=&quot;color: #808030;&quot;&gt;{&lt;/span&gt;
    &lt;span style=&quot;color: #797997;&quot;&gt;$site&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;Get-SPSite&lt;/span&gt; &lt;span style=&quot;color: #797997;&quot;&gt;$siteUrl&lt;/span&gt;
    &lt;span style=&quot;color: #797997;&quot;&gt;$web&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #797997;&quot;&gt;$site&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;RootWeb&lt;/span&gt;
    &lt;span style=&quot;color: #797997;&quot;&gt;$docLibrary&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #797997;&quot;&gt;$web&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;Lists&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #797997;&quot;&gt;$dropOffLibrary&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;]&lt;/span&gt;
    &lt;span style=&quot;color: dimgrey;&quot;&gt;# Change the advanced settings&lt;/span&gt;
    &lt;span style=&quot;color: #797997;&quot;&gt;$docLibrary&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;NoCrawl&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #7d0045;&quot;&gt;$false&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;;&lt;/span&gt;
    &lt;span style=&quot;color: #797997;&quot;&gt;$docLibrary&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;Update&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;
    &lt;span style=&quot;color: #797997;&quot;&gt;$site&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;Dispose&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;
    &lt;span style=&quot;color: #666616;&quot;&gt;write-host&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;Completed&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;
&lt;span style=&quot;color: #808030;&quot;&gt;}&lt;/span&gt;
&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;catch&lt;/span&gt;
&lt;span style=&quot;color: #808030;&quot;&gt;{&lt;/span&gt;
    &lt;span style=&quot;color: #666616;&quot;&gt;write-host&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;Error&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;
&lt;span style=&quot;color: #808030;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: #ffffff; color: black;&quot;&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: rgb(255, 255, 255);&quot;&gt;&lt;span style=&quot;color: #b01200;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/6658584739282330660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/enable-crawl-for-dropofflibrary.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/6658584739282330660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/6658584739282330660'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/enable-crawl-for-dropofflibrary.html' title='Enable Crawl for DropOffLibrary Documents using PowerShell - SharePoint'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-2132342296693865981</id><published>2018-01-11T16:10:00.001-05:00</published><updated>2018-01-11T16:10:44.622-05:00</updated><title type='text'>Create Send To Connector using PowerShell - SharePoint</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre style=&quot;-webkit-text-stroke-width: 0px; background: rgb(255, 255, 255); color: black; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;clear&lt;/span&gt;
&lt;span style=&quot;color: #666616;&quot;&gt;Remove-PSSnapin&lt;/span&gt; &lt;span style=&quot;color: #0000e6;&quot;&gt;Microsoft.SharePoint.Powershell&lt;/span&gt; &lt;span style=&quot;color: #074726;&quot;&gt;-ErrorAction&lt;/span&gt; &lt;span style=&quot;color: #0000e6;&quot;&gt;SilentlyContinue&lt;/span&gt;
&lt;span style=&quot;color: #666616;&quot;&gt;Add-PSSnapin&lt;/span&gt; &lt;span style=&quot;color: #0000e6;&quot;&gt;Microsoft.SharePoint.Powershell&lt;/span&gt;

&lt;span style=&quot;color: dimgrey;&quot;&gt;#################################### ENVIRONMENT VARIABLES #########################################&lt;/span&gt;

 &lt;span style=&quot;color: #797997;&quot;&gt;$WebApplicationURL&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;https://webappUrl&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;  &lt;span style=&quot;color: dimgrey;&quot;&gt;## eg: &quot;&lt;/span&gt;&lt;span style=&quot;color: #5555dd;&quot;&gt;http://spddwebapp&lt;/span&gt;&lt;span style=&quot;color: dimgrey;&quot;&gt;&quot;&lt;/span&gt;
    &lt;span style=&quot;color: #797997;&quot;&gt;$RecordCenterSiteColls&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;@(&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;SiteColl1&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;SiteColl2&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;
  
 
&lt;span style=&quot;color: dimgrey;&quot;&gt;####################################################################################################&lt;/span&gt;
    
    &lt;span style=&quot;color: #797997;&quot;&gt;$ServiceURL&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;_vti_bin/officialfile.asmx&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;
    &lt;span style=&quot;color: #666616;&quot;&gt;write-host&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;Opening web app object.&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;
    
    &lt;span style=&quot;color: #797997;&quot;&gt;$WebApp&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #005fd2;&quot;&gt;Get-SPWebApplication&lt;/span&gt; &lt;span style=&quot;color: #797997;&quot;&gt;$WebApplicationURL&lt;/span&gt;


&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #005fd2;&quot;&gt;AddSendToConnection&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #797997;&quot;&gt;$sendServiceURL&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #797997;&quot;&gt;$siteName&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;
&lt;span style=&quot;color: #808030;&quot;&gt;{&lt;/span&gt;

    &lt;span style=&quot;color: dimgrey;&quot;&gt;#Get the Web Application&lt;/span&gt;
   
     
    &lt;span style=&quot;color: #797997;&quot;&gt;$SPOfficialFileHost&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #666616;&quot;&gt;New-Object&lt;/span&gt; &lt;span style=&quot;color: #0000e6;&quot;&gt;Microsoft.SharePoint.SPOfficialFileHost&lt;/span&gt;

    &lt;span style=&quot;color: dimgrey;&quot;&gt;#Set Send to Options#&lt;/span&gt;

    &lt;span style=&quot;color: dimgrey;&quot;&gt;#Send to Connection Name&lt;/span&gt;
    &lt;span style=&quot;color: #797997;&quot;&gt;$oFName&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #797997;&quot;&gt;$siteName&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt; Send To Conenctor&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;
    &lt;span style=&quot;color: #797997;&quot;&gt;$SPOfficialFileHost&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;OfficialFileName&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #797997;&quot;&gt;$oFName&lt;/span&gt;

    &lt;span style=&quot;color: dimgrey;&quot;&gt;#Send to Target location&lt;/span&gt;
    
    &lt;span style=&quot;color: dimgrey;&quot;&gt;#write-host &quot;Office File Url - $offFileUrl&quot;&lt;/span&gt;
    &lt;span style=&quot;color: #797997;&quot;&gt;$SPOfficialFileHost&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;OfficialFileUrl&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #797997;&quot;&gt;$sendServiceURL&lt;/span&gt;

    &lt;span style=&quot;color: #797997;&quot;&gt;$SPOfficialFileHost&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;ShowOnSendToMenu&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #7d0045;&quot;&gt;$true&lt;/span&gt;

    &lt;span style=&quot;color: dimgrey;&quot;&gt;#Send to Operation&lt;/span&gt;

    &lt;span style=&quot;color: #797997;&quot;&gt;$SPOfficialFileHost&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;Action&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #bb7977;&quot;&gt;[Microsoft.SharePoint.SPOfficialFileAction]&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;::&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;Move&lt;/span&gt;

    &lt;span style=&quot;color: #797997;&quot;&gt;$SPOfficialFileHost&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;Explanation&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;Send to connection for documents move to other record site collections.&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;

    &lt;span style=&quot;color: #797997;&quot;&gt;$WebApp&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;OfficialFileHosts&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;Add&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #797997;&quot;&gt;$SPOfficialFileHost&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;;&lt;/span&gt; 

    &lt;span style=&quot;color: #797997;&quot;&gt;$WebApp&lt;/span&gt;&lt;span style=&quot;color: #44aadd;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #005fd2;&quot;&gt;Update&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;

&lt;span style=&quot;color: #808030;&quot;&gt;}&lt;/span&gt;



&lt;span style=&quot;color: #666616;&quot;&gt;write-host&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;Loop through all receiver site collections.&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;
&lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;foreach&lt;/span&gt; &lt;span style=&quot;color: #808030;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #797997;&quot;&gt;$rSite&lt;/span&gt; &lt;span style=&quot;color: maroon; font-weight: bold;&quot;&gt;in&lt;/span&gt; &lt;span style=&quot;color: #797997;&quot;&gt;$RecordCenterSiteColls&lt;/span&gt;&lt;span style=&quot;color: #808030;&quot;&gt;)&lt;/span&gt;
&lt;span style=&quot;color: #808030;&quot;&gt;{&lt;/span&gt;
    &lt;span style=&quot;color: #797997;&quot;&gt;$fullSiteURL&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #797997;&quot;&gt;$WebApplicationURL&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;/sites/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: #797997;&quot;&gt;$rSite&lt;/span&gt;
    &lt;span style=&quot;color: #797997;&quot;&gt;$sendServiceURL&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;=&lt;/span&gt;   &lt;span style=&quot;color: #797997;&quot;&gt;$fullSiteURL&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt; &lt;span style=&quot;color: #44aadd;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: #797997;&quot;&gt;$ServiceURL&lt;/span&gt;
    &lt;span style=&quot;color: #666616;&quot;&gt;write-host&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;Send service URL - &lt;/span&gt;&lt;span style=&quot;color: #797997;&quot;&gt;$sendServiceURL&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;
    &lt;span style=&quot;color: #005fd2;&quot;&gt;AddSendToConnection&lt;/span&gt; &lt;span style=&quot;color: #797997;&quot;&gt;$sendServiceURL&lt;/span&gt; &lt;span style=&quot;color: #797997;&quot;&gt;$rSite&lt;/span&gt;
    &lt;span style=&quot;color: #666616;&quot;&gt;write-host&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;Succesfully added Send To Connector for &lt;/span&gt;&lt;span style=&quot;color: #797997;&quot;&gt;$rSite&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;
&lt;span style=&quot;color: #808030;&quot;&gt;}&lt;/span&gt;

&lt;span style=&quot;color: #666616;&quot;&gt;write-host&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000e6;&quot;&gt;Completed&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/2132342296693865981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/create-send-to-connector-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/2132342296693865981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/2132342296693865981'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/create-send-to-connector-using.html' title='Create Send To Connector using PowerShell - SharePoint'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-6387200439773049870</id><published>2018-01-11T15:58:00.001-05:00</published><updated>2018-01-11T15:58:16.893-05:00</updated><title type='text'>Export Content Types using PowerShell - SharePoint</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre style=&quot;background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1up64vEcVAWBD7ie9hkwM3T_yLgIgZuy2qAi5lLKfQ5FodfE9bsH08rJNu8q0qlEtmrHFV55uxMUulk-UsC_vdhf3GTxbUp6uxwLXGC9BVOqHclYxC-ejTikNWJVxd9bF2nEJiYXWNuui/s320/codebg.gif) rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; width: 100%;&quot;&gt;&lt;code style=&quot;word-wrap: normal;&quot;&gt;
clear
Remove-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue
Add-PSSnapin Microsoft.SharePoint.Powershell
####################### ENVIRONMENT VARIABLES #######################
$contentTypeSourceWeb = &quot;http://webapp/sites/contenttypehub&quot; #Site Collecton
# The exported content type is stored in the XML file
$xmlFilePathForContentType = &quot;C:\Script-SiteContentTypes.xml&quot; 
#####################################################################

#Content Type group you are looking to export
$contentTypeGroupName = &quot;Custom Content Types&quot;
$sourceWeb = Get-SPWeb $contentTypeSourceWeb

#Create Export File
New-Item $xmlFilePathForContentType -type file -force
#Export Content Types to XML file
Add-Content $xmlFilePathForContentType &quot;&amp;lt;?xml version=`&quot;1.0`&quot; encoding=`&quot;utf-8`&quot;?&amp;gt;&quot;
Add-Content $xmlFilePathForContentType &quot;`n&amp;lt;ContentTypes&amp;gt;&quot;
$sourceWeb.ContentTypes | ForEach-Object {
&amp;nbsp;&amp;nbsp;&amp;nbsp; if ($_.Group -eq $contentTypeGroupName) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write-host &quot;Adding content type to file.&quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Add-Content $xmlFilePathForContentType $_.SchemaXml
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
}
Add-Content $xmlFilePathForContentType &quot;&amp;lt;/ContentTypes&amp;gt;&quot;
$sourceWeb.Dispose()
write-host &quot;Completed&quot;
&lt;/code&gt;
&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/6387200439773049870/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/export-content-types-using-powershell.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/6387200439773049870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/6387200439773049870'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2018/01/export-content-types-using-powershell.html' title='Export Content Types using PowerShell - SharePoint'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-310148688577671826</id><published>2017-12-30T18:16:00.003-05:00</published><updated>2017-12-30T18:16:45.855-05:00</updated><title type='text'>Largest FREE Microsoft eBook Giveaway!</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://blogs.msdn.microsoft.com/mssmallbiz/2017/07/11/largest-free-microsoft-ebook-giveaway-im-giving-away-millions-of-free-microsoft-ebooks-again-including-windows-10-office-365-office-2016-power-bi-azure-windows-8-1-office-2013-sharepo/&quot; target=&quot;_blank&quot;&gt;https://blogs.msdn.microsoft.com/mssmallbiz/2017/07/11/largest-free-microsoft-ebook-giveaway-im-giving-away-millions-of-free-microsoft-ebooks-again-including-windows-10-office-365-office-2016-power-bi-azure-windows-8-1-office-2013-sharepo/&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/310148688577671826/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2017/12/largest-free-microsoft-ebook-giveaway.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/310148688577671826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/310148688577671826'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2017/12/largest-free-microsoft-ebook-giveaway.html' title='Largest FREE Microsoft eBook Giveaway!'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-6861963207408733880</id><published>2017-12-30T18:10:00.000-05:00</published><updated>2017-12-30T18:11:48.595-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".Net core 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET Architecture e-book"/><category scheme="http://www.blogger.com/atom/ns#" term="FreeMaterial"/><title type='text'>ASP.Net Core 2.0 Free Ebook PDF</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.microsoft.com/net/download/thank-you/aspnet-ebook&quot; target=&quot;_blank&quot;&gt;https://www.microsoft.com/net/download/thank-you/aspnet-ebook&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/6861963207408733880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2017/12/aspnet-core-20-free-ebook-pdf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/6861963207408733880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/6861963207408733880'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2017/12/aspnet-core-20-free-ebook-pdf.html' title='ASP.Net Core 2.0 Free Ebook PDF'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-5521149460639615160</id><published>2017-11-19T19:43:00.002-05:00</published><updated>2017-11-19T20:07:57.034-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="enable wifi"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="wifi disabled"/><title type='text'>Enable Wifi on Ubuntu Machine</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Issue: The wifi is not working on Ubuntu machine. The network options shows&lt;br /&gt;
&#39;Wifi&amp;nbsp; Disabled&#39;&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
1. Make sure your hardware wifi switch is enabled. Usually from keyboard you should be able to switch it on using Wifi symbol key (or with combination of function key and wifi key)&lt;br /&gt;
&lt;br /&gt;
2. To verify if the wifi is blocked by hard or soft switches, you can by running th below command from terminal&lt;br /&gt;
&lt;br /&gt;
Command:&lt;br /&gt;
&lt;i&gt;user@machine:~$ &lt;span style=&quot;background-color: yellow;&quot;&gt;&lt;b&gt;rfkill list all&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&amp;nbsp;&lt;b&gt;Output:&lt;/b&gt;&lt;br /&gt;
0: phy0: Wireless LAN&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;Soft blocked: &lt;span style=&quot;background-color: yellow;&quot;&gt;no&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;Hard blocked: &lt;span style=&quot;background-color: yellow;&quot;&gt;no&lt;/span&gt;&lt;br /&gt;
1: brcmwl-0: Wireless LAN&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;Soft blocked: &lt;span style=&quot;background-color: yellow;&quot;&gt;no&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;Hard blocked: &lt;span style=&quot;background-color: yellow;&quot;&gt;no&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The output shows if soft or hard switches are blocking. If all of them shows no as shown above, that indicates that all look good. If not then see which one shows yes and use the below command.&lt;br /&gt;
Command:&lt;br /&gt;
&lt;i&gt;user@machine:~$&lt;b&gt; &lt;span style=&quot;background-color: yellow;&quot;&gt;sudo rfkill unblock all&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;
Enter password &lt;i&gt;and this will unblock the soft switch&lt;/i&gt;&lt;b&gt;&lt;i&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;
&lt;b&gt;&lt;i&gt;If option &#39;hard blocked&#39; in the output shows yes, that means the machine wifi hardware is disabled and you can enable it as described in point 1 above.&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/5521149460639615160/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2017/11/enable-wifi-on-ubuntu-machine.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/5521149460639615160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/5521149460639615160'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2017/11/enable-wifi-on-ubuntu-machine.html' title='Enable Wifi on Ubuntu Machine'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-4395519462093855455</id><published>2017-06-21T10:39:00.002-04:00</published><updated>2017-06-21T10:43:27.313-04:00</updated><title type='text'>Citrix Receiver (.ica) does not launch</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;WordSection1&quot;&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;Issue:&lt;/b&gt; The Citrix Receiver file (lunch.ica) does nothing after clicking on it&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;Solution:&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;1.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;Go to default programs with the path: Control Panel\All Control Panel Items\Default Programs&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;2.&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;Click on “Associate a file type or protocol with a program” as depicted below:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkuCzNcQFsUEeVsqni-HJwzhTNfdjShP_3IAlZuzDnA5NwPusCpHNrYwGHPWJxFVQ-Ox8bO241hVO6F3DDAZk-8FuR6gQzoClpGReyOfKw4AQ3GS6A6NPzkbBuCJ-tCXzqEdbCbGboa9c/s1600/image002-747992.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_6434101304469272610&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkuCzNcQFsUEeVsqni-HJwzhTNfdjShP_3IAlZuzDnA5NwPusCpHNrYwGHPWJxFVQ-Ox8bO241hVO6F3DDAZk-8FuR6gQzoClpGReyOfKw4AQ3GS6A6NPzkbBuCJ-tCXzqEdbCbGboa9c/s320/image002-747992.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;3.&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;Locate .ica file in the loaded extensions, select it, and click on ‘Change program’ option as depicted below:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnOjtffU6yzhWzDF48LcWUXn_ouXSkX0sro7QOpbsUW2TlZSr83dKoLMXXPZ4OD64LqHAN7211MBNVy8N9lNVwiBgxU72li6uTxzfjVmPnmf-0gYbx1DbM0L3ImPgEUlwT-CSVyeAuVEM/s1600/image005-748856.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_6434101307231021954&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnOjtffU6yzhWzDF48LcWUXn_ouXSkX0sro7QOpbsUW2TlZSr83dKoLMXXPZ4OD64LqHAN7211MBNVy8N9lNVwiBgxU72li6uTxzfjVmPnmf-0gYbx1DbM0L3ImPgEUlwT-CSVyeAuVEM/s320/image005-748856.jpg&quot; /&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot;&gt;
&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;4.&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;Click ‘Look up for the program in pc’ and when the browse popup is open provide the path for &lt;/span&gt;&lt;b style=&quot;text-indent: -0.25in;&quot;&gt;wfcrun32.exe&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot;&gt;
&lt;i&gt;&lt;b&gt;Note: &lt;/b&gt;Usually if the Citrix was installed in C drive then the path of the program will be like below:&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; margin-left: 0.5in;&quot;&gt;  &lt;tbody&gt;
&lt;tr&gt;  &lt;td style=&quot;border: solid 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;&quot; valign=&quot;top&quot; width=&quot;1247&quot;&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;margin-left: 0in;&quot;&gt;
&lt;i&gt;C:\Program Files (x86)\Citrix\ICA Client\wfcrun32.exe&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;  &lt;/table&gt;
&lt;div class=&quot;MsoListParagraph&quot;&gt;
&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;5.&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;With the association of the above exe for .ica files, the citrix receiver should open the file properly now.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/4395519462093855455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2017/06/citrix-receiver-ica-does-not-launch.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/4395519462093855455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/4395519462093855455'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2017/06/citrix-receiver-ica-does-not-launch.html' title='Citrix Receiver (.ica) does not launch'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkuCzNcQFsUEeVsqni-HJwzhTNfdjShP_3IAlZuzDnA5NwPusCpHNrYwGHPWJxFVQ-Ox8bO241hVO6F3DDAZk-8FuR6gQzoClpGReyOfKw4AQ3GS6A6NPzkbBuCJ-tCXzqEdbCbGboa9c/s72-c/image002-747992.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6748088653910948993.post-8914365690970807691</id><published>2017-06-02T13:46:00.002-04:00</published><updated>2017-06-02T13:46:52.450-04:00</updated><title type='text'>Files\Java\jdk1.8.0_131) was unexpected at this time.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
The possible issue could be related to the JAVA_HOME environment variable value. If the value is referring to a path like below you will most likely get this kind of error.&lt;br /&gt;
Ex:&lt;br /&gt;
C:\Program Files\Java\jdk1.8.0_131&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Solution (that worked for me):&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1. Change the JDK path as provided below:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;C:\&lt;b style=&quot;background-color: yellow;&quot;&gt;Program~1&lt;/b&gt;\Java\jdk1.8.0_131&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; padding: 0px;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Note for Windows users on 64-bit systems&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; color: #333333; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; padding: 0px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box;&quot;&gt;Progra~1 = &#39;Program Files&#39;&lt;/span&gt;Progra~2 = &#39;Program Files(x86)&#39;&lt;/div&gt;
&lt;br /&gt;
Please refer the below link knowing more about setting the JAVA_HOME.&lt;br /&gt;
Site Link: &amp;nbsp;&lt;a href=&quot;https://confluence.atlassian.com/conf57/setting-the-java_home-variable-in-windows-701435892.html&quot; target=&quot;_blank&quot;&gt;Set JAVA_HOME&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/8914365690970807691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2017/06/filesjavajdk180131-was-unexpected-at.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/8914365690970807691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/8914365690970807691'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2017/06/filesjavajdk180131-was-unexpected-at.html' title='Files\Java\jdk1.8.0_131) was unexpected at this time.'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-7120234388160390032</id><published>2017-02-03T21:25:00.003-05:00</published><updated>2017-02-03T21:25:34.450-05:00</updated><title type='text'>CSS3114: @font-face failed OpenType embedding permission check. Permission must be Installable (Google Fonts Offline)</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;
Error:&amp;nbsp;CSS3114: @font-face failed OpenType embedding permission check. Permission must be Installable&lt;br /&gt;
&lt;br /&gt;
Solution: Add mimemap to web.config file under&amp;nbsp;&lt;span style=&quot;color: #a31515; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit;&quot;&gt;&amp;lt;system.webServer&amp;gt;&lt;/span&gt;&amp;nbsp;section&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Script:&lt;/b&gt;&lt;br /&gt;
&lt;pre style=&quot;background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1up64vEcVAWBD7ie9hkwM3T_yLgIgZuy2qAi5lLKfQ5FodfE9bsH08rJNu8q0qlEtmrHFV55uxMUulk-UsC_vdhf3GTxbUp6uxwLXGC9BVOqHclYxC-ejTikNWJVxd9bF2nEJiYXWNuui/s320/codebg.gif) rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; width: 100%;&quot;&gt;&lt;code style=&quot;word-wrap: normal;&quot;&gt;&amp;lt;staticcontent&amp;gt;
      &amp;lt;remove fileextension=&quot;.woff&quot;/&amp;gt;
      &amp;lt;mimemap fileextension=&quot;.woff&quot; mimetype=&quot;application/octet-stream&quot;/&amp;gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1up64vEcVAWBD7ie9hkwM3T_yLgIgZuy2qAi5lLKfQ5FodfE9bsH08rJNu8q0qlEtmrHFV55uxMUulk-UsC_vdhf3GTxbUp6uxwLXGC9BVOqHclYxC-ejTikNWJVxd9bF2nEJiYXWNuui/s320/codebg.gif) rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; width: 100%;&quot;&gt;&lt;code style=&quot;word-wrap: normal;&quot;&gt;&amp;lt;/staticcontent&amp;gt;
&lt;/code&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/7120234388160390032/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2017/02/css3114-font-face-failed-opentype.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/7120234388160390032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/7120234388160390032'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2017/02/css3114-font-face-failed-opentype.html' title='CSS3114: @font-face failed OpenType embedding permission check. Permission must be Installable (Google Fonts Offline)'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-1370138681954091626</id><published>2017-02-03T21:08:00.000-05:00</published><updated>2017-02-03T21:10:17.966-05:00</updated><title type='text'>Creating Self Signed Certificate with MAKECERT.EXE - ( HTTPS SHA256)</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;
1. Find MakeCert.Exe in your machine, the path depends on the OS. If you have VisualStudio, open the Visual Studio Command Prompt and run the below scripts.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Script:&lt;/b&gt;&lt;br /&gt;
&lt;pre style=&quot;background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1up64vEcVAWBD7ie9hkwM3T_yLgIgZuy2qAi5lLKfQ5FodfE9bsH08rJNu8q0qlEtmrHFV55uxMUulk-UsC_vdhf3GTxbUp6uxwLXGC9BVOqHclYxC-ejTikNWJVxd9bF2nEJiYXWNuui/s320/codebg.gif) rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; width: 100%;&quot;&gt;&lt;code style=&quot;word-wrap: normal;&quot;&gt;&lt;b&gt;#1. Root Cert&lt;/b&gt;
makecert -r -n &quot;CN=IPMRootCert&quot; -pe -sv IPMRootCert.pvk -a sha1 -len 2048 -b 01/01/2014 -e 01/21/2050 -cy authority IPMRootCert.cer
pvk2pfx.exe -pvk IPMRootCert.pvk -spc IPMRootCert.cer -pfxIPMRootCert.pfx

&lt;b&gt;#2. Project Cert&lt;/b&gt;
makecert.exe -iv IPMRootCert.pvk -ic IPMRootCert.cer -n &quot;CN=cissipm.ed.gov&quot; -pe -sv cissipm.ed.gov.pvk -a sha1 -len 2048 -b 01/21/2010 -e 01/21/2050 -sky exchange cissipm.ed.gov.cer -eku 1.3.6.1.5.5.7.3.1
pvk2pfx.exe -pvk cissipm.ed.gov.pvk -spc cissipm.ed.gov.cer -pfx cissipm.ed.gov.pfx
&lt;/code&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
2. Script 1 above, creates the Root Certificate (three certs .pfx, .pvk, .cer). For Windows OS, import .pfx (To Personal) and .cer (To Trusted Root Folder) certificates using Cert Manager&lt;br /&gt;
&lt;br /&gt;
3. Script 2 above, creates the project or application Certificate (three certs .pfx, .pvk, .cer). For Windows OS, import .pfx (To Personal) and .cer (To Trusted Root Folder) certificates using Cert Manager&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/1370138681954091626/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2017/02/creating-self-signed-certificate-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/1370138681954091626'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/1370138681954091626'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2017/02/creating-self-signed-certificate-with.html' title='Creating Self Signed Certificate with MAKECERT.EXE - ( HTTPS SHA256)'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-7175664216411059536</id><published>2016-11-02T14:37:00.002-04:00</published><updated>2016-11-02T14:38:12.215-04:00</updated><title type='text'>Refresh FAST Search Certificate With PowerShell</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Question: How to refresh/re-apply a FAST Search Certificate in SharePoint 2010 Environment?&lt;br /&gt;
&lt;br /&gt;
Solution: Apply certificate using PowerShell. The below code shows how to generate FAST Search certificate (self signed) and apply it in the environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Script:&lt;/b&gt;&lt;br /&gt;
&lt;pre style=&quot;background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1up64vEcVAWBD7ie9hkwM3T_yLgIgZuy2qAi5lLKfQ5FodfE9bsH08rJNu8q0qlEtmrHFV55uxMUulk-UsC_vdhf3GTxbUp6uxwLXGC9BVOqHclYxC-ejTikNWJVxd9bF2nEJiYXWNuui/s320/codebg.gif) rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; width: 100%;&quot;&gt;&lt;code style=&quot;word-wrap: normal;&quot;&gt;
###################################
# Apply Certificate to FAST
###################################

Clear
Remove-PSSnapin AdminSnapIn -ErrorAction SilentlyContinue
Remove-PSSnapin Microsoft.FASTSearch.PowerShell -ErrorAction SilentlyContinue
Remove-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

Add-PSSnapin AdminSnapIn
Add-PSSnapin Microsoft.FASTSearch.PowerShell
Add-PSSnapin Microsoft.SharePoint.PowerShell

write-host &quot;Applying Certificate to FAST&quot; -ForegroundColor Green
#Release worker processess with IISRESET
iisreset

stop-service FAST*

$installerdir = $env:FASTSEARCH + &quot;installer\scripts&quot;
echo $installerdir
cd $installerdir
$pw = ConvertTo-SecureString -AsPlainText -force test
.\ReplaceDefaultCertificate.ps1 -generateNewCertificate $true -certificatePassword $pw
$cert = @(dir cert:\LocalMachine\My -recurse | ? { $_.Subject -eq &#39;CN=FASTSearchCert&#39; })[0]
$thumb = $cert.Thumbprint

Start-service FAST*

.\SecureFASTSearchConnector.ps1 -certThumbprint $thumb -ssaName &quot;FAST Content&quot; -username &quot;domain\FastSearchAccount&quot;

&lt;/code&gt;
&lt;/pre&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/7175664216411059536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2016/11/refresh-fast-search-certificate-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/7175664216411059536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/7175664216411059536'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2016/11/refresh-fast-search-certificate-with.html' title='Refresh FAST Search Certificate With PowerShell'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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-6748088653910948993.post-5741588451824906612</id><published>2015-12-16T17:33:00.001-05:00</published><updated>2015-12-16T17:33:12.166-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Hyper-V"/><category scheme="http://www.blogger.com/atom/ns#" term="PowerShell"/><category scheme="http://www.blogger.com/atom/ns#" term="VHD"/><category scheme="http://www.blogger.com/atom/ns#" term="VHDX"/><title type='text'>Convert VHD file to VHDX - Hyper-V</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Requirement: &lt;/b&gt;Convert VHD to VHDX using Powershell&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Script:&lt;/b&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1up64vEcVAWBD7ie9hkwM3T_yLgIgZuy2qAi5lLKfQ5FodfE9bsH08rJNu8q0qlEtmrHFV55uxMUulk-UsC_vdhf3GTxbUp6uxwLXGC9BVOqHclYxC-ejTikNWJVxd9bF2nEJiYXWNuui/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; PS C:\windows\system32&amp;gt; Convert-VHD –Path &quot;C:\Me\IE10 - Win7.vhd&quot; –DestinationPath &quot;C:\ME\My Machines\Windows 7 IE 10\Virtual Hard Disks\IE10 - Win7.vhdx&quot;  
 PS C:\windows\system32&amp;gt;   
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://srinivasvangala.blogspot.com/feeds/5741588451824906612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://srinivasvangala.blogspot.com/2015/12/convert-vhd-file-to-vhdx-hyper-v.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/5741588451824906612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6748088653910948993/posts/default/5741588451824906612'/><link rel='alternate' type='text/html' href='http://srinivasvangala.blogspot.com/2015/12/convert-vhd-file-to-vhdx-hyper-v.html' title='Convert VHD file to VHDX - Hyper-V'/><author><name>Srini</name><uri>http://www.blogger.com/profile/13724539859849881382</uri><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>