PowerShell for Windows Admins:

March, 2017


March 31, 2017  2:23 PM

PowerShell v6

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Tried PowerShell v6 yet? Its the open sourced latest version of PowerShell – runs on Windows, Linux (various flavours) and MacOS Its available from - 0 Comments     RSS Feed     Email a friend

March 31, 2017  1:17 PM

Summit 2017–one week to go

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

With one week to go before travelling to Seattle for the 2017 PowerShell & DevOps Summit I’m putting the finishing touches to my presentations and the Summit organisation. The agenda was published last October but we’ve had to make a few changes recently to cover for speakers that have...


March 29, 2017  1:29 PM

Name mismatch

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Active Directory, CIM, Powershell

Ever wondered why you can’t do this:

Get-ADComputer -Filter * -SearchBase 'OU=Servers,DC=Manticore,DC=org' |
Get-CimInstance -ClassName Win32_OperatingSystem
The –ComputerName parameter on get-CimInstance accepts pipeline input BUT its by property name.
PS> Get-Help...


March 22, 2017  2:49 PM

Get-SupportedFileSystems

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
CIM, Powershell

I stumbled on the Get-SupportedFileSystems cmdlet today. Its part of the Storage module and is defined as a function. Digging a bit further its from a CDXML module based on a CIM class. But which CDXML file contains the definition?

PS> Get-ChildItem -Path...


March 22, 2017  1:43 PM

PowerShell Summit 2017–Community Lightning Demos

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Early Summits, and their precursors – the PowerShell Deep Dives – featured Lightning rounds where attendees had 10 minutes or so to present something PowerShell related – a tip, trick, discovery, cool piece of code, new technique etc etc etc … Summit 2017 brings that concept back. If...


March 20, 2017  3:10 PM

Updating built in modules

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Windows 10 and Server 2016 automatically install a module called Pester which is used for testing code. Its the foundation of Test Driven Development or Behaviour Driven Development using PowerShell. The version  installed by default is 3.4.0. Pester is originally an open source module that...


March 10, 2017  2:49 PM

Hyper-V book deal

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Books, Hyper-V, Powershell

March 11 2017 - My book Learn Hyper-V in a Month of Lunches is Manning's Deal of the day. Get 50% off using code dotd031117au at http://bit.ly/2niU715 Also see https://www.manning.com/dotd


March 6, 2017  11:53 AM

Windows 10 uptime

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell, Windows 10

One of the things that managers seem to be fascinated with is up time. For Windows server operating systems its a fairly simple calculation PS>  (Get-Date) - (Get-CimInstance -ClassName Win32_OperatingSystem | select -ExpandProperty LastBootUpTime) Days              :...


March 4, 2017  10:31 AM

Full Summit agenda available

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

The full agenda – including the PowerShell team sessions – is now available on the event web site - - https://eventloom.com/event/home/summit2017 This is our biggest ever Summit....


March 4, 2017  5:59 AM

Modifying AD users in bulk

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Active Directory, Powershell

Modifying AD users in bulk involves either setting one or more properties to the same value for a set of users or reading in the values you need from a data source of some kind. We prepared some test data in the last post so lets see how we use it.

$users = Import-Csv -Path...


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: