PowerShell for Windows Admins:

September, 2015


September 30, 2015  1:16 PM

PowerShell DSC for Linux 1.1

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Linux, Powershell

PowerShell DSC for Linux 1.1 has been released. 0 Comments     RSS Feed     Email a friend

September 30, 2015  12:24 PM

Controlling copies

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

I was recently asked about ‘forcing’ a copy so that only the files you want are copied Consider a folder with lots of files. I want to copy those files that start with the letter t and have a txt extension PS> Get-ChildItem -Path C:\test2\t*.txt 0 Comments     RSS Feed     Email a friend


September 30, 2015  8:23 AM

WMF 5.0 production preview–installed

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

I’ve installed WMF 5.0 PP on a number of Windows 2012 R2 (full GUI and server core). Installation was over the top of a mixture of PowerShell 4.0 and various versions of PowerShell 5.0 previews. Installation worked in all cases. I’ve not noticed any problems with using powershell 5.0 in...


September 29, 2015  1:42 PM

Win32_ReliabilityRecords Class

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
CIM, Powershell, WMI

The Win32_ReliabilityRecords class was introduced with Windows 7. It contains information from the Windows Event Log related to system reliability. The most interesting properties are the Message and the TimeGenerated £> Get-WmiObject -class win32_reliabilityRecords | select -First 1 | fl...


September 29, 2015  8:47 AM

Everything is recycled

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
DevOps

I was just thinking this morning about the DevOps phenomenon. When I started in IT it wasn’t unusual for people to do development work and operations – especially in smaller organisations. Over the years this changed and specialisation became the name of the game – you were a C#...


September 29, 2015  5:32 AM

Error handling for DNS lookups

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
DNS, Powershell

Interesting question on the forum regarding the Resolve-DNSname cmdlet. This is part of the DNSclient module introduced with Windows 8. If the DNS record is found everything is good £> Resolve-DnsName W12R2DSC -Server server02 | ft -a 0 Comments     RSS Feed     Email a friend


September 28, 2015  1:28 PM

PowerShell and DevOps Global Summit–call for topics extended

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
DevOps, Powershell

The call for topics for the PowerShell and DevOps Global Summit (renamed PowerShell Summit) has been extended. If you’re thinking of submitting please do so. If you want some ideas fro topics we’ll consider – see


September 28, 2015  12:28 PM

Updating help problem

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

A question on the forum posed this question – why does update-help fail on Windows 10 in this case: £> Update-Help -Module PSDesiredStateConfiguration -Force Update-Help : Failed to update Help for the module(s) 'PSDesiredStateConfiguration' with UI culture(s) {en-GB} : Unable to...


September 27, 2015  1:04 PM

Where next?

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

With the demise of the European PowerShell Summit organised by powershell.org what should happen next in Europe as far as a PowerShell conferences are concerned? The probability is that there will be a number of regional conferences. Tobias already has a German language conference and people at...


September 27, 2015  11:47 AM

Bad habits when creating objects

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

I’m seeing a lot of code recently that looks like this $comp = Get-CimInstance -ClassName Win32_ComputerSystem $os = Get-CimInstance -ClassName Win32_OperatingSystem $obj  = New-Object -TypeName PSObject $obj | Add-Member -MemberType NoteProperty -Name Name -Value $comp.Name $obj |...


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: