LazyWinAdmin: PowerShell – Composite Formatting references (-f Operator)

Source: LazyWinAdmin: PowerShell – Composite Formatting references (-f Operator)

powershell – How do I pass named parameters with Invoke-Command? – Stack Overflow

Source: powershell – How do I pass named parameters with Invoke-Command? – Stack Overflow

Adding jQuery to Every Page in SharePoint with Delegate Controls | Kirk Evans Blog

.NET From a Markup Perspective

Source: Adding jQuery to Every Page in SharePoint with Delegate Controls | Kirk Evans Blog

Use Powershell to preview the list of members of a dynamic distribution group (with Filter)

 Usually you see an example like this:

$DynamicGroup = Get-DynamicDistributionGroup “MyGroup”

Get-Recipient -RecipientPreviewFilter $DynamicGroup.RecipientFilter

But that does not work (returns more users than expected) when you filter your dynamic distribution group members also by an OU as shown in the Picture below

dynamicdistributiongroupfilter

In this case you need to alter the Get-Recipient commandlet by adding a parameter -OrganizationalUnit

$DynamicGroup = Get-DynamicDistributionGroup “MyGroup”

Get-Recipient -RecipientPreviewFilter $DynamicGroup.RecipientFilter  -OrganizationalUnit $DynamicGroup.RecipientContainer

Question: Please can you explain to me why this does not work?

Get-Recipient -RecipientPreviewFilter (Get-DynamicDistributionGroup “MyGroup”).RecipientFilter

namely, why this returns nothing?

(Get-DynamicDistributionGroup “MyGroup”).RecipientFilter

 

 

Get Internet headers from MailItem in PowerShell – Half Full of Security

Source: Get Internet headers from MailItem in PowerShell – Half Full of Security

Reading e-mail with Powershell – Half Full of Security

Source: Reading e-mail with Powershell – Half Full of Security

How to Conditionally Require Data in SharePoint Columns | Summit 7 Systems

Have you ever needed to make a column in a list or library required based on the value chosen by the user in another column?  This recently came up as a need from a customer and I initially did not…

Source: How to Conditionally Require Data in SharePoint Columns | Summit 7 Systems

smsagent

Tips, tricks and time-savers for the Windows and ConfigMgr administrator

To The Point

Anything about Technology and Business

Brian's Power Windows Blog

Microsoft in the Enterprise. Windows, Hyper-V, Exchange, SQL, and more!

PowerScripting Podcast

Shownotes and links for the PowerScripting Podcast, a podcast to help people learn Windows Powershell

Learn Powershell | Achieve More

What is this Powershell of which you speak?