<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Markus Kolbeck on Medium]]></title>
        <description><![CDATA[Stories by Markus Kolbeck on Medium]]></description>
        <link>https://medium.com/@markus.kolbeck?source=rss-51a39f506c08------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*0qdkQI6CpCzVfeIIrtYK5A.jpeg</url>
            <title>Stories by Markus Kolbeck on Medium</title>
            <link>https://medium.com/@markus.kolbeck?source=rss-51a39f506c08------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 05:58:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@markus.kolbeck/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Empty GUID when adding new entity]]></title>
            <link>https://medium.com/@markus.kolbeck/empty-guid-when-adding-new-entity-991492cf10fd?source=rss-51a39f506c08------2</link>
            <guid isPermaLink="false">https://medium.com/p/991492cf10fd</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[entity-framework]]></category>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[Markus Kolbeck]]></dc:creator>
            <pubDate>Tue, 25 Sep 2018 18:01:02 GMT</pubDate>
            <atom:updated>2018-09-25T18:01:02.111Z</atom:updated>
            <content:encoded><![CDATA[<p>Using the EntityFramework (EF) in a Microsoft Visual Studio ASP.NET project, you can add new entities (rows) within an SQL table.</p><p>In case you are using GUIDs as the primary key (and not integer values), newly created rows could be created with an empty GUID, i.e.</p><blockquote>{00000000–0000–0000–0000–000000000000}</blockquote><p>If that is the case, you might want to check the setting “<strong>StoreGeneratedPattern</strong>” for that column in the Model Browser or Visual Studio.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*9jX9_PirYpBVFp5KObVoxg.png" /></figure><p>If it is not set to “Identity” you might want to do so.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=991492cf10fd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Error when installing PowerShellGet Module from PowerShell Gallery]]></title>
            <link>https://medium.com/markus-blog/error-when-installing-powershellget-module-from-powershell-gallery-994e1b7d9e68?source=rss-51a39f506c08------2</link>
            <guid isPermaLink="false">https://medium.com/p/994e1b7d9e68</guid>
            <category><![CDATA[powershell]]></category>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[troubleshooting]]></category>
            <dc:creator><![CDATA[Markus Kolbeck]]></dc:creator>
            <pubDate>Wed, 07 Mar 2018 14:15:26 GMT</pubDate>
            <atom:updated>2019-02-04T19:59:41.716Z</atom:updated>
            <content:encoded><![CDATA[<p>When you run the PowerShell command</p><p>Save-Module -Name PowerShellGet -Path &lt;path&gt;</p><p>as described in the <a href="https://www.powershellgallery.com/">PowerShell Gallery</a>, you might get the following error messages if you are behind a proxy server that requires authentication.</p><blockquote>PS C:\&gt; Save-Module -Name PowerShellGet -Path c:\windows\temp</blockquote><blockquote>WARNING: Unable to download the list of available providers. Check your internet connection.<br>PackageManagement\Install-PackageProvider : No match was found for the specified search criteria for the provider ‘NuGet’. The package provider requires ‘PackageManagement’ and ‘Provider’ tags. Please check if the specified package has the tags.<br>At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:5921 char:21<br>+ … $null = PackageManagement\Install-PackageProvider -Name $script:N …<br>+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br> + CategoryInfo : InvalidArgument: (Microsoft.Power…PackageProvider:InstallPackageProvider) [Install-PackageProvider], Exception<br> + FullyQualifiedErrorId : NoMatchFoundForProvider,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackageProvider</blockquote><blockquote>PackageManagement\Import-PackageProvider : No match was found for the specified search criteria and provider name ‘NuGet’. Try ‘Get-PackageProvider -ListAvailable’ to see if the provider exists on the system.<br>At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:5927 char:21<br>+ … $null = PackageManagement\Import-PackageProvider -Name $script:Nu …<br>+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br> + CategoryInfo : InvalidData: (NuGet:String) [Import-PackageProvider], Exception<br> + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.ImportPackageProvider</blockquote><blockquote>WARNING: Unable to download the list of available providers. Check your internet connection.<br>PackageManagement\Get-PackageProvider : Unable to find package provider ‘NuGet’. It may not be imported yet. Try ‘Get-PackageProvider -ListAvailable’.<br>At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:5931 char:30<br>+ … tProvider = PackageManagement\Get-PackageProvider -Name $script:NuGet …<br>+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br> + CategoryInfo : ObjectNotFound: (Microsoft.Power…PackageProvider:GetPackageProvider) [Get-PackageProvider], Exception<br> + FullyQualifiedErrorId : UnknownProviderFromActivatedList,Microsoft.PowerShell.PackageManagement.Cmdlets.GetPackageProvider</blockquote><blockquote>Save-Module : NuGet provider is required to interact with NuGet-based repositories. Please ensure that ‘2.8.5.201’ or newer version of NuGet provider is installed.<br>At line:1 char:1<br>+ Save-Module -Name PowerShellGet -Path c:\windows\temp<br>+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br> + CategoryInfo : InvalidOperation: (:) [Save-Module], InvalidOperationException<br> + FullyQualifiedErrorId : CouldNotInstallNuGetProvider,Save-Module</blockquote><h3>Possible Solution</h3><p>You first need to authenticate to the proxy using the following command</p><pre>[System.Net.WebRequest]::DefaultWebProxy.Credentials = [System.Net.CredentialCache]::DefaultCredentials</pre><p>or as described in the <a href="https://stackoverflow.com/questions/36612652/error-trying-to-import-nuget-packageprovider">thread</a>:</p><pre>$wc = New-Object System.Net.WebClient<br>$wc.Proxy.Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials<br>$wc.Proxy.Address = &quot;http://proxyurl&quot;</pre><p>Or, if that does not help, according to this <a href="https://spaghettidba.com/2017/12/19/recovering-the-psgallery-repository-behind-a-corporate-proxy/">thread</a>:</p><p>[system.net.webrequest]::defaultwebproxy = new-object system.net.webproxy(&#39;http://YourProxyHostNameGoesHere:ProxyPortGoesHere&#39;)</p><p>[system.net.webrequest]::defaultwebproxy.credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials</p><p>[system.net.webrequest]::defaultwebproxy.BypassProxyOnLocal = $true</p><p>Register-PSRepository -Default</p><p>Afterwards you need to register the PowerShell repository</p><pre>Register-PSRepository -Name “PSGallery” -SourceLocation “<a href="https://www.powershellgallery.com/api/v2/">https://www.powershellgallery.com/api/v2/</a>&quot; -InstallationPolicy Trusted</pre><p>Now you can re-try installing the module.</p><p>HTH</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=994e1b7d9e68" width="1" height="1" alt=""><hr><p><a href="https://medium.com/markus-blog/error-when-installing-powershellget-module-from-powershell-gallery-994e1b7d9e68">Error when installing PowerShellGet Module from PowerShell Gallery</a> was originally published in <a href="https://medium.com/markus-blog">Markus&#39; Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Web Part Manager Error]]></title>
            <link>https://medium.com/@markus.kolbeck/web-part-manager-error-e09796cd50cc?source=rss-51a39f506c08------2</link>
            <guid isPermaLink="false">https://medium.com/p/e09796cd50cc</guid>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[powershell]]></category>
            <category><![CDATA[sharepoint2013]]></category>
            <category><![CDATA[troubleshooting]]></category>
            <category><![CDATA[sharepoint]]></category>
            <dc:creator><![CDATA[Markus Kolbeck]]></dc:creator>
            <pubDate>Wed, 10 Jan 2018 04:26:03 GMT</pubDate>
            <atom:updated>2018-01-10T04:26:03.034Z</atom:updated>
            <content:encoded><![CDATA[<p>The following PowerShell script lists all Web Parts of a Web Part Page.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/adf0313a6da21ba2c62ffecd899f648e/href">https://medium.com/media/adf0313a6da21ba2c62ffecd899f648e/href</a></iframe><p>You might get the following error messages.</p><blockquote>ErrorMessage: This page has encountered a critical error. Contact your system administrator if this problem persists.</blockquote><blockquote>WebBrowsableObject: Microsoft.SharePoint.WebPartPages.ErrorWebPart</blockquote><p>If so, please check if you executed the PowerShell script on a SharePoint Server that has the <strong>Microsoft SharePoint Foundation Web Application </strong>service running.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*iEdkcmdj8S02PiQ9ysm-Fw.png" /><figcaption>SharePoint Central Administration — Services on Server</figcaption></figure><p>This could quite easily be forgotten when e.g. running the script a SharePoint Server holding the Central Administration without the Microsoft SharePoint Foundation Web Application service started.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e09796cd50cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Connect SharePoint Web Parts programatically with PowerShell]]></title>
            <link>https://medium.com/markus-blog/connect-sharepoint-web-parts-programatically-with-powershell-71a657ee48f3?source=rss-51a39f506c08------2</link>
            <guid isPermaLink="false">https://medium.com/p/71a657ee48f3</guid>
            <category><![CDATA[powershell]]></category>
            <category><![CDATA[sharepoint]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[code-samples]]></category>
            <dc:creator><![CDATA[Markus Kolbeck]]></dc:creator>
            <pubDate>Wed, 15 Nov 2017 17:31:01 GMT</pubDate>
            <atom:updated>2017-11-15T17:31:01.204Z</atom:updated>
            <content:encoded><![CDATA[<p>With PowerShell, you can easily add Web Parts to a SharePoint WebPart Page.<br>Using the <a href="https://github.com/SharePoint/PnP-PowerShell">SharePointPnP.PowerShell Commands</a> this can be done using the CmdLet <a href="https://github.com/SharePoint/PnP-PowerShell/blob/master/Documentation/Add-PnPWebPartToWebPartPage.md">Add-PnPWebPartToWebPartPage</a>.</p><p>I added a “<em>Query String (URL) Filter</em>” (<em>QueryStringFilterWebPart</em>) Web Part and multiple “<em>List Viewer</em>” (<em>XsltListViewWebPart</em>) Web Parts to a Web Part Page and needed to set up the (filter) connections.<br>This can be done manually using the web interface, but I wanted to automate this step using PowerShell as well.</p><p>Here is an example on how to connect two Web Parts (a “<em>Query String (URL) Filter</em>” Web Part and a “<em>List Viewer</em>” Web Part) using PowerShell.</p><p>I was inspired by the blog post <a href="http://meandmysharepoint.blogspot.de/2013/11/add-custom-web-parts-to-page-and.html">Add Custom Web Parts to a page and Connect them using PowerShell</a> from Isha Jain. Thanks for sharing!</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8ed7961e0c920ce1c68341bf1af9708d/href">https://medium.com/media/8ed7961e0c920ce1c68341bf1af9708d/href</a></iframe><p>For your “ProviderFieldNames” you need to add the “Filter Name” of the Query String URL Filter Web Part property.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/267/1*G2mpuKnhfBTREiyFtmD6YA.png" /><figcaption>Query String (URL) Filter Web Part Properties</figcaption></figure><p>If you run the above script multiple times, multiple Web Part Connections (duplicates) will be created. Therefore, I recommend to delete all Web Part Connections before creating them.</p><p>Here is an example for that.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5351aa6f3f34163c30235203bf80d09b/href">https://medium.com/media/5351aa6f3f34163c30235203bf80d09b/href</a></iframe><p>If you want to query the existing Web Part connections, use the following code snippets.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/65c59004c5621b9ee083ba6e54c73436/href">https://medium.com/media/65c59004c5621b9ee083ba6e54c73436/href</a></iframe><p>Unfortunately I have not discovered any way to connect SharePoint Web Parts using the pnp PowerShell framework or any other CSOM approach, yet.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71a657ee48f3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/markus-blog/connect-sharepoint-web-parts-programatically-with-powershell-71a657ee48f3">Connect SharePoint Web Parts programatically with PowerShell</a> was originally published in <a href="https://medium.com/markus-blog">Markus&#39; Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[K2 blackpearl — Goto Activity with PowerShell]]></title>
            <link>https://medium.com/markus-blog/k2-blackpearl-goto-activity-with-powershell-d1880e5a56a1?source=rss-51a39f506c08------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1880e5a56a1</guid>
            <category><![CDATA[k2]]></category>
            <category><![CDATA[code-samples]]></category>
            <category><![CDATA[powershell]]></category>
            <category><![CDATA[blackpearl]]></category>
            <dc:creator><![CDATA[Markus Kolbeck]]></dc:creator>
            <pubDate>Fri, 27 Oct 2017 16:34:04 GMT</pubDate>
            <atom:updated>2017-10-27T16:34:04.978Z</atom:updated>
            <content:encoded><![CDATA[<p>If you read my post “Call K2 blackpearl SmartObject with PowerShell” you know, that you can use the K2 API within PowerShell quite easily.</p><p><a href="https://medium.com/markus-blog/call-k2-blackpearl-smartobject-with-powershell-16f4b210bdc2">https://medium.com/markus-blog/call-k2-blackpearl-smartobject-with-powershell-16f4b210bdc2</a></p><p>You can also manage K2 Process Instances with PowerShell, here is an example how you can change a process instance to go to the desired activity.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/dd5f6d99434b60933bfac73df5eab34a/href">https://medium.com/media/dd5f6d99434b60933bfac73df5eab34a/href</a></iframe><p>When running the script, you have two choices:<br>1. you can <strong>run the script locally</strong> on a machine, where the K2 assemblies are registered (e.g. on the K2 Server itself)<br>2. you can <strong>execute the script remotely</strong> from any machine and target it to the K2 Server using the Invoke-Command cmdlet</p><p>Therefore you will have to save the PowerShell script and then use the following command to execute it remotely:</p><blockquote>Invoke-Command -ComputerName YOUR_K2Server -FilePath C:\temp\ManageProcInst.ps1</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1880e5a56a1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/markus-blog/k2-blackpearl-goto-activity-with-powershell-d1880e5a56a1">K2 blackpearl — Goto Activity with PowerShell</a> was originally published in <a href="https://medium.com/markus-blog">Markus&#39; Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RegEx on SharePoint NewForm]]></title>
            <link>https://medium.com/markus-blog/regex-on-sharepoint-newform-d128da73f99c?source=rss-51a39f506c08------2</link>
            <guid isPermaLink="false">https://medium.com/p/d128da73f99c</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[sharepoint]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[regex]]></category>
            <category><![CDATA[sharepoint2013]]></category>
            <dc:creator><![CDATA[Markus Kolbeck]]></dc:creator>
            <pubDate>Fri, 09 Jun 2017 16:03:15 GMT</pubDate>
            <atom:updated>2017-06-09T16:03:15.684Z</atom:updated>
            <content:encoded><![CDATA[<p>If you want to implement a more complex validation rule on SharePoint imput fields that SharePoint supports out of the box, you can easily implement regular expressions on the SharePoint NewForm or EditForm.</p><p>Here is one approach with JavaScript you can use. Copy the content to a txt file within the SiteAsstets library on the SharePoint site. Then, on the NewForm or EditForm, add a new CEWP (Content Editor Web Part) and reference to that txt file.</p><p>Note: I provided that code sample with the file extension .js for formatting purposes only. Please save the code with the .txt file extension.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0f6958b9ee13fbfc54941e1f7c2269fb/href">https://medium.com/media/0f6958b9ee13fbfc54941e1f7c2269fb/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d128da73f99c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/markus-blog/regex-on-sharepoint-newform-d128da73f99c">RegEx on SharePoint NewForm</a> was originally published in <a href="https://medium.com/markus-blog">Markus&#39; Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dynamically hide SharePoint input fields on NewForm or EditForm]]></title>
            <link>https://medium.com/markus-blog/dynamically-hide-sharepoint-input-fields-on-newform-or-editform-93821c267372?source=rss-51a39f506c08------2</link>
            <guid isPermaLink="false">https://medium.com/p/93821c267372</guid>
            <category><![CDATA[code-samples]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[sharepoint]]></category>
            <category><![CDATA[sharepoint2013]]></category>
            <dc:creator><![CDATA[Markus Kolbeck]]></dc:creator>
            <pubDate>Fri, 09 Jun 2017 15:53:07 GMT</pubDate>
            <atom:updated>2017-06-09T16:04:26.475Z</atom:updated>
            <content:encoded><![CDATA[<p>Suppose you have a NewForm in a SharePoint list that contains a checkbox and several other input fields.</p><p>Whenever the checkbox is checked, some fields should be hidden. When unchecked, they shall be visible.</p><p>Also, if you have a lot of fields and the form opens as a modal dialogue, this dialogue should automatically be resized.</p><p>Here is one approach with JavaScript you can use. Copy the content to a txt file within the SiteAsstets library on the SharePoint site. Then, on the NewForm or EditForm, add a new CEWP (Content Editor Web Part) and reference to that txt file.</p><p>Note: I provided that code sample with the file extension .js for formatting purposes only. Please save the code with the .txt file extension.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/07184beef26dc297bc6f9c08936327d5/href">https://medium.com/media/07184beef26dc297bc6f9c08936327d5/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93821c267372" width="1" height="1" alt=""><hr><p><a href="https://medium.com/markus-blog/dynamically-hide-sharepoint-input-fields-on-newform-or-editform-93821c267372">Dynamically hide SharePoint input fields on NewForm or EditForm</a> was originally published in <a href="https://medium.com/markus-blog">Markus&#39; Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Forefront Identity Manager Synchronization Service fails to start]]></title>
            <link>https://medium.com/@markus.kolbeck/forefront-identity-manager-synchronization-service-fails-to-start-288420d22824?source=rss-51a39f506c08------2</link>
            <guid isPermaLink="false">https://medium.com/p/288420d22824</guid>
            <category><![CDATA[fim]]></category>
            <category><![CDATA[troubleshooting]]></category>
            <category><![CDATA[sharepoint]]></category>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[upa]]></category>
            <dc:creator><![CDATA[Markus Kolbeck]]></dc:creator>
            <pubDate>Sun, 14 May 2017 18:55:48 GMT</pubDate>
            <atom:updated>2017-05-15T06:39:25.563Z</atom:updated>
            <content:encoded><![CDATA[<p>There are numerous articles covering that issue.</p><p>In my case the “<em>Forefront Identity Manager Synchronization Service</em>” (FIMSynchronizationService) failed to start whereas the “<em>Forefront Identity Manager Service</em>” (FIMService) was started.<br>Both services where configured to automatically start.</p><p>This happened right after the installation of Windows (and SharePoint) updates and runnin the PSCONFIG command “<em>PSCONFIG.EXE -cmd upgrade -inplace b2b -wait</em>”.</p><p>Restarting the service — or even the SharePoint Service Application (i.e. the UPA) — did not help.</p><p>In the Windows EventLog I found the following entry:</p><blockquote>Detection of product ‘{90150000–104C-0000–1000–0000000FF1CE}’, feature ‘PeopleILM’, component ‘{CF90B971-D78A-4794–8F90-EB5FB5028DDA}’ failed. The resource ‘C:\Program Files\Microsoft Office Servers\15.0\SQL\DatabaseSettings.sql’ does not exist.</blockquote><p>This was not the first time and therefore I knew what to do:</p><p><strong>Grant READ permissions to the computer-local NETWORK SERVICE account to the ‘C:\Program Files\Microsoft Office Servers\15.0’ folder.</strong></p><p>Preferably using the membership of the local group WSS_WPG.</p><p>Please also refer to:</p><p><a href="https://social.technet.microsoft.com/wiki/contents/articles/30175.sharepoint-2013-detection-of-product-90150000-104c-0000-1000-0000000ff1ce-feature-peopleilm-component-1c12b6e6-898c-4d58-9774-aaafbdfe273c-failed.aspx">SharePoint 2013: Detection of product ‘{90150000–104C-0000–1000–0000000FF1CE}’, feature ‘PeopleILM’, component ‘{1C12B6E6–898C-4D58–9774-AAAFBDFE273C}’ failed</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=288420d22824" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CAML Query with DateTime Filter in PowerShell]]></title>
            <link>https://medium.com/markus-blog/caml-query-with-datetime-filter-in-powershell-eab84aefcf9e?source=rss-51a39f506c08------2</link>
            <guid isPermaLink="false">https://medium.com/p/eab84aefcf9e</guid>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[sharepoint]]></category>
            <category><![CDATA[caml]]></category>
            <category><![CDATA[powershell]]></category>
            <dc:creator><![CDATA[Markus Kolbeck]]></dc:creator>
            <pubDate>Mon, 08 May 2017 14:44:08 GMT</pubDate>
            <atom:updated>2017-05-08T14:47:05.442Z</atom:updated>
            <content:encoded><![CDATA[<p>Querying SharePoint List items with PowerShell is quite easy.</p><p>But sometimes you need to set custom (dynamic) filter values that can make things complicated.</p><p>In this example I demonstrate how to query SharePoint list items with CAML query and filter out all items that have been modified within the last hour. The challenge was to format the datetime value so that the CAML query accepted the values.</p><p>Here is the solution:</p><p><strong>[microsoft.sharepoint.utilities.sputility]::CreateISO8601DateTimeFromSystemDateTime($oneHourAgo)</strong></p><p>One other thing important to know is that you will have to include the following property in your query:</p><p><strong>IncludeTimeValue=”True”</strong></p><p>And here is a script example:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5ef228f0adf302a184fb4c5d6caa0a07/href">https://medium.com/media/5ef228f0adf302a184fb4c5d6caa0a07/href</a></iframe><p>Please note that I included another filter in the CAML query for the “<em>Some_Status</em>” column in this example that has the value “<em>Created</em>”.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eab84aefcf9e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/markus-blog/caml-query-with-datetime-filter-in-powershell-eab84aefcf9e">CAML Query with DateTime Filter in PowerShell</a> was originally published in <a href="https://medium.com/markus-blog">Markus&#39; Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Call K2 blackpearl SmartObject with PowerShell]]></title>
            <link>https://medium.com/markus-blog/call-k2-blackpearl-smartobject-with-powershell-16f4b210bdc2?source=rss-51a39f506c08------2</link>
            <guid isPermaLink="false">https://medium.com/p/16f4b210bdc2</guid>
            <category><![CDATA[smart-objects]]></category>
            <category><![CDATA[powershell]]></category>
            <category><![CDATA[blackpearl]]></category>
            <category><![CDATA[k2]]></category>
            <category><![CDATA[code-example]]></category>
            <dc:creator><![CDATA[Markus Kolbeck]]></dc:creator>
            <pubDate>Wed, 03 May 2017 18:18:35 GMT</pubDate>
            <atom:updated>2017-05-03T18:18:35.398Z</atom:updated>
            <content:encoded><![CDATA[<p>Calling K2 blackpearl SmartObject within your custom .net code is pretty well documented.<br>If you ever wondered how to call a SmartObject from PowerShell, you can use the following code example as a baseline.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/979dec8f014f75ec1ead0cbbe8f64f39/href">https://medium.com/media/979dec8f014f75ec1ead0cbbe8f64f39/href</a></iframe><p>When running the script, you have two choices:<br>1. you can <strong>run the script locally</strong> on a machine, where the K2 assemblies are registered (e.g. on the K2 Server itself)<br>2. you can <strong>execute the script remotely</strong> from any machine and target it to the K2 Server using the Invoke-Command cmdlet</p><p>Therefore you will have to save the PowerShell script and then use the following command to execute it remotely:</p><blockquote>Invoke-Command -ComputerName YOUR_K2Server -FilePath C:\temp\ExecuteSMO.ps1</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=16f4b210bdc2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/markus-blog/call-k2-blackpearl-smartobject-with-powershell-16f4b210bdc2">Call K2 blackpearl SmartObject with PowerShell</a> was originally published in <a href="https://medium.com/markus-blog">Markus&#39; Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>