Category Archives: My posts

Performing an Asynchronous DNS Lookup Using PowerShell | Learn Powershell | Achieve More

This is another asynchronous approach to a common thing that a system administrator might do, much like a previous article I did on doing a speedy ping with PowerShell and async methods. I’ve alrea…

Source: Performing an Asynchronous DNS Lookup Using PowerShell | Learn Powershell | Achieve More

Powershell – Gitbook

https://www.gitbook.com/@devops-collective-inc?page=0

Detect 64-bit OS in a .bat script


:TestOS

IF EXIST “%PROGRAMFILES(X86)%” (GOTO 64BIT) ELSE (GOTO 32BIT)

 

:64BIT

echo 64-bit…

GOTO END

 

:32BIT

echo 32-bit…

GOTO END

 

:END

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

 

 

Handling field values in JSLink | Stefan Bauer – n8d

In this blog post I try to cover all the aspects around field values used in JSLink overrides.

Source: Handling field values in JSLink | Stefan Bauer – n8d

Free tools to convert VHD into VMDK and vice versa – ESX Virtualization

Free tools to convert VHD into VMDK – Starwind v2v converter. This tool can handle both conversions. VHD -> VMDK and also VMDK -> VHD.

Source: Free tools to convert VHD into VMDK and vice versa – ESX Virtualization

Help:Range blocks – MediaWiki

Source: Help:Range blocks – MediaWiki

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?