PowerShell for Windows Admins:

Powershell


December 21, 2015  3:36 PM

New-CimInstance cmdlet and the–Key parameter

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

I was asked a question about the –Key parameter on New-CimInstance today. I wasn’t sure of the answer so I’ve done some experimentation. I tend to avoid New-CimInstance if I can preferring to use the Create method on the CIM class – however not all CIM classes have a create method so...

December 21, 2015  5:41 AM

JEA Helper Tool 2.0

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell, Windows Server 2016

JEA – Just Enough Admin – is a security feature in WMF 5.0 and Windows Server 2016 (TP4) – providing RBAC for your Windows servers. You can allow people to perform the tasks needed by their role without giving them full access. An introductory document is available -


December 20, 2015  9:10 AM

Scripting Guy gets Pestered

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

The Scripting Guy blog has been running a series on Pester written by Dave Wyatt – the modules author. Pester provides a way to perform, and automate, testing on your PowerShell code. The series is:


December 20, 2015  9:00 AM

New ScriptAnalyzer

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

A new version of Script Analyzer is available for download - 0 Comments     RSS Feed     Email a friend


December 19, 2015  5:47 AM

WMF 5.0 RTM for Windows 8.1 and Windows 7

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

The PowerShell Team blog 0 Comments     RSS Feed     Email a friend


December 18, 2015  12:53 PM

Inputting computer names

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Somehting I was writing yesterday started me thinking about the way you input a list of computer names to a cmdlet. Many cmdlets have a ComputerName parameter so knowing how to deal with this sort of input will help. There are a range of techniques. One of the simplest approaches is to create...


December 18, 2015  5:21 AM

WMF 5.0 now RTM

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

WMF 5.0 , including PowerShell 5.0, was released to RTM overnight – why does this lways happen when I’m asleep Smile


December 17, 2015  1:31 PM

Outputting AD data to CSV

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

Back in this post 0 Comments     RSS Feed     Email a friend


December 15, 2015  2:33 PM

Recent Announcements from the PowerShell Team

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

The PowerShell Team have made a number of interesting  announcements recently: Feedback is moving from Connect to User Voice 0 Comments     RSS Feed     Email a friend


December 11, 2015  6:04 AM

Formating multiple outputs

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Using Get-WmiObject and Get-Service you can do this: PS> Get-WmiObject -Class Win32_Service -Property StartMode -Filter “Name='BITS'” | select StartMode StartMode --------- Auto PS> Get-Service -Name BITS | select Status Status ------ Running If you try running the two...


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: