Multiple expands

PowerShell outputs objects but sometimes you need just the values. The –Expandproperty parameter of select-object can pull the values from a property. Compare: £> Get-VM | select...
Finding users that can change their password

IPAM: 2 Reading data

Once you have your IPAM server configured you can start to read the data its collected. If you are working against a remote IPAM server than you need to create a CIM session to that machine before doing anything else. $cs = New-CimSession -ComputerName W12R2SUS You can discover the domain...
Copy files over PS remoting sessions

One neat feature of the April 2015 WMF 5.0 preview is that you can copy files over a remoting session. First create a session to a remote machine $cs = New-PSSession -ComputerName W12R2SUS Define the source and destination for the copy. Use –ToSession to determine the remoting session...
PowerShell Summit Europe 2015 – – sold out

The PowerShell Summit Europe 2015 is sold out. Please be aware that we don’t maintain a waiting list as the Summit is a benefit of PowerShell Association membership
IPAM: 1 Installation and configuration

IPAM stands for IP Address Management. It’s a feature in Windows Server 2012 R2 that enables you manage your DHCP and DNS servers as a whole rather than at the individual service or server level. Installation of IPAM follows the standard approach for any Windows feature. Note that you can...
PowerShell Summit Europe 2015–nearly sold out

There are a handful of places left for the PowerShell Summit Europe 2015. If you want to secure a place I recommend that you book very soon as we can’t extend capacity any further.
Playing with the range operator

The range operator allows you to reference a range of numbers 1..10 is equivalent to 1,2,3,4,5,6,7,8,9,10 If you want anything other than numbers you’re stuck as the range operator only works with integers though you can have a decrementing list 10..1 65..74 | foreach...
PowerShell DSC for Linux

PowerShell DSC for Linux has moved out of CTP and v1 is available for download from http://www.microsoft.com/en-us/download/details.aspx?id=46919 You...
WMF 5.0 April 2015 preview – – software inventory logging

A software inventory module is now included with the April 2015 WMF 5.0 preview £> Get-Command -Module SoftwareInventoryLogging | select...