Tags » PowerShell

MIM 2016: Perform AD Functions in FIM/MIM Workflow without importing the AD PS Module – Part II

See PART I for details or history

For MoveADUser use

Function MoveADObject
$strFilter = $FilterString
#$strFilter = “((samaccountname=$myAccountName))”
Try{ 198 more words

Mim 2016

SharePoint PowerShell query search service

$keyword="ContentTypeId:0x010100020D149374FFC4DF792F30EFC030C9D01* ",

Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

$site = Get-SPSite $siteCollectionUrl
$keywordQuery = New-Object Microsoft.Office.Server.Search.Query.KeywordQuery($site);

#set request
$keywordQuery.QueryText = $keyword

#set managed properties to retreive… 39 more words


SharePoint PowerShell get list content type by id

retrieve content type with id start with

$ct = $list.ContentTypes | Where-Object {$_.Id.ToString().StartsWith(“0x010100C568DB5”)}

if($ctProfiledNews -ne $null)
Write-Host “$ct.Name)”
Write-Host “no myContentType ct in list”


UPDATE on Project Honolulu with Jeff Woolsey @WSV_GUY #Winserv #Hyperv #Azure

In this episode, Microsoft takes a look at updates to Project Honolulu and PowerShell Core to manage your server infrastructure. Jeff Woolsey explains the updates IT pros will want to know about and demonstrates… 164 more words


SCCM Run Script – Gather SCCM Log files for PowerShell v4 and earlier

I previously wrote a short post and did a demonstration video of the Run Scripts feature in Microsoft System Center Configuration Manager – https://morethanpatches.com/2018/02/12/sccm-run-scripts-pre-release-feature/

In that demo I used an example script created by… 158 more words

Microsoft System Center Configuration Manager

Redistributing failed content

When working with ConfigMgr you always end up distributing content to several DPs. This normaly goes off without a hitch but from time to time this fails. 103 more words