PowerShell for Windows Admins:

Powershell


September 19, 2016  12:57 PM

Update-Help errors

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

One the latest build of Windows 10 – 14296 I’m getting errors when updating help. Three modules do’t seem to have help available Update-Help : Failed to update Help for the module(s) 'Microsoft.PowerShell.Operation.Validation' with UI culture(s) {en-GB} : The value of the HelpInfoUri key...

September 18, 2016  3:39 AM

Unregistering the default repository–PS version dependent?

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

In this post - https://richardspowershellblog.wordpress.com/2016/09/17/powershell-repositories/ – I stated that...


September 17, 2016  1:56 PM

PowerShell repositories

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

A reader on my blog asked if you can unregister the default PowerShell repository so you just use an internal repository. First off – PSGallery is the default repository PS> Get-PSRepository | Format-List

Name                      :...


September 16, 2016  12:45 PM

Dealing with CIM properties that are integer arrays

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

Saw a post about WmiMonitorID that intrigued me If you use the WmiMonitorID: PS> Get-CimInstance -Namespace root\wmi -ClassName WmiMonitorID | select -f 1 Active                 : True InstanceName           :...


September 15, 2016  2:20 PM

Deadline for proposal submissions fast approaching

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

The deadline for proposal submissions for the 2017 PowerShell and DevOps Global Summit is fast approaching. A list of possible topics is available here 0 Comments     RSS Feed     Email a friend


September 5, 2016  6:29 AM

using help proactively

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

I was reading a thread on the forum about using a particular cmdlet and it occurred to me that the person posing the question hadn’t actually looked at the help file for the cmdlet. One of the first things I do when coming across a new cmdlet – either in some code or when I need to perform...


September 3, 2016  12:14 PM

Open source PowerShell and OMI

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
CIM, Open source, Powershell

OMI – the Open Source CIM server is available on github https://github.com/Microsoft/omi This appears to be a later version than currently shown on the open group web site Combine this with open...


August 30, 2016  12:26 PM

Optimising WMI calls–part 3

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

The next change just uses 1 call to get the disk information instead of 2 Measure-Command -Expression { $srvs = 'W16TP5TGT01', 'W16TP5TGT02' for ($i=1; $i -le 150; $i++){ foreach ($srv in $srvs) { $cs = New-CimSession -ComputerName $srv $bootupMemory = Get-CimInstance -Query "SELECT *...


August 30, 2016  11:41 AM

Optimising WMI calls–part 2

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

Last time we looked at using CIM sessions to make a set of WMI calls run quicker. This time we’ll reduce the number of calls.  I’m deliberately just reducing the number of calls to the Win32_Service class.  We’ll look at the disks another time Our code becomes Measure-Command...


August 30, 2016  11:12 AM

PowerShell speaker opportunities still open

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

You have just over a month to register your session proposals for the 2017 PowerShell Summit - https://powershell.org/2016/08/01/powershell-and-devops-global-summit-2017-call-for-topics/


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: