May 24

Powershell deconstructed

POWERSHELL DECONSTRUCTED

May 14

Powershell script for ESXi hardening

PowerShell script for ESXi hardening

May 12

Microsoft posts powershell script that spawns pseudo security bulletins

http://www.networkworld.com/article/3196627/windows/microsoft-posts-powershell-script-that-spawns-pseudo-security-bulletins.html#tk.rss_security

May 12

Powershell Conference EU 2017.

Great post about the events and fun taking place at the PowerShell Conference.
Makes you jealous you didnt get to go 😉

PowerShell Conference EU 2017. Not just about coding.

May 12

Announcing Powershell for Visual Studio COde 1.0!

Announcing PowerShell for Visual Studio Code 1.0!

May 09

https://szumigalski.com/2017/05/08/working-with-vmware-vcenter-using-powershell-and-tabexpansionplusplus-module/

Working with VMware vCenter using Powershell and TabExpansionPlusPlus module

May 09

PowerAdmin

Powershell scripts useful for Windows enterprise administration
https://github.com/a118n/poweradmin

Apr 26

Installing the SQL Server Module from the Powershell Gallery

Installing The SQL Server Module from the PowerShell Gallery

Apr 26

Leverage Powershell – Just Enough Admin for your Helpdesk

https://blogs.technet.microsoft.com/datacentersecurity/2017/04/24/leverage-powershell-just-enough-administration-for-your-helpdesk/

Apr 22

Create your own Network functions with Powershell

After visiting Thomas Maurer’s blog with basic networking tools for Powershell, I figured, I’d make my own “often used network tools” so, I made some functions for looking up TXT, DNS records, autodiscover and Skype records.
This is information I often require regarding Mail, Skype, Office365, when implementing a new customer, domain etc. For example its easy to overlook the SRV records on a customers domain when working with autodiscover.

Function Get-MX
{
     [CmdletBinding()]
     Param($domain)
Write-Host “Looking up MX Records for $domain”
Write-Host “………………………………..”
Resolve-DnsName -Type MX -Name $domain
}

Function Get-TXT
{
[CmdletBinding()]
Param($domain)
Write-Host “Looking up TXT Records for $domain”
Write-Host “………………………………..”
Resolve-DnsName -Type TXT -Name $domain
}

Function Get-SkypeRecords
{
[CmdletBinding()]
Param($domain)
Write-Host “Looking up SRV Records for $domain”
Write-Host “………………………………..”
Resolve-DnsName -Type SRV -Name _sipfederationtls._tcp.$domain -Server 8.8.8.8
Resolve-DnsName -Type A lyncdiscover.$domain -Server 8.8.8.8
Test-NetConnection sip.$domain
}

Function Get-DnsSettings
{
[CmdletBinding()]
Param($domain)
Write-Host “Looking up DNS Records for $domain”
Write-Host “………………………………..”
Resolve-DnsName -Type ANY -Server 8.8.8.8 $domain
}

Function Get-AutodiscoverRecords
{
[CmdletBinding()]
Param($domain)
Write-Host “Looking up Autodiscover Records for $domain”
Write-Host “………………………………..”
Resolve-DnsName -Type SRV -Name _autodiscover._tcp.$domain
Test-NetConnection autodiscover.$domain
}

As an Example, the output of Get-TXT would look similar to this: