DevOps is the latest IT fashion. That statement is more than likely viewed as a heresey by many people in IT. A few years ago Cloud could have been the first word in the sentence and a few years before that virtualisation. IT has a long history of jumping on band wagons and […]
Archive for August, 2016
DevOps and IT fashions
Posted by: richardsiddaway | August 31, 2016 Comments Off on DevOps and IT fashions |Windows 10 updates
Posted by: richardsiddaway | August 31, 2016 Comments Off on Windows 10 updates |With the anniversary update delivered the Windows 10 development carries on with new updates becoming available – now up to build 14915 Not much in the way of PowerShell goodies though
I had a request for the Access functions I wrote about in this post https://richardspowershellblog.wordpress.com/2009/12/18/access-functions/ They are now available from https://onedrive.live.com/?id=43CFA46A74CF3E96%2179699&cid=43CFA46A74CF3E96
Optimising WMI calls–part 3
Posted by: richardsiddaway | August 30, 2016 Comments Off on Optimising WMI calls–part 3 |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 * FROM Win32_OperatingSystem" -CimSession $cs $cpuLoad = Get-CimInstance -Query "SELECT * […]
Optimising WMI calls–part 2
Posted by: richardsiddaway | August 30, 2016 Comments Off on Optimising WMI calls–part 2 |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 -Expression { $srvs = ‘W16TP5TGT01’, ‘W16TP5TGT02’ […]
PowerShell speaker opportunities still open
Posted by: richardsiddaway | August 30, 2016 Comments Off on PowerShell speaker opportunities still open |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/
Optimising WMI calls–part 1
Posted by: richardsiddaway | August 29, 2016 Comments Off on Optimising WMI calls–part 1 |Recently saw some code where user was running this $bootupMemory = gwmi -Query "SELECT * FROM Win32_OperatingSystem" -ComputerName $srv $cpuLoad = gwmi -Query "SELECT * FROM Win32_Processor" -ComputerName $srv $tSessions = gwmi -Query "SELECT * FROM Win32_TerminalService" -ComputerName $srv $ima = gwmi -Query "SELECT * FROM Win32_Service WHERE name=’imaservice’" -ComputerName $srv $mfcom = gwmi -Query […]
PowerShell is Open Sourced
Posted by: richardsiddaway | August 18, 2016 Comments Off on PowerShell is Open Sourced |For those of you that have been at PowerShell events over the last few years you’ll have heard Jeffrey Snover state that he wanted to take PowerShell to other platforms. Now its happened Jeffrey has announced that an ALPHA release of PowerShell is now available for Linux and Mac. Currently available for Ubuntu, […]
Update-Help errors
Posted by: richardsiddaway | August 16, 2016 Comments Off on Update-Help errors |Updatable help brings the benefit of up to date help with typos fixed and new edge cases described. The down side is that it sometimes fails: PS> Update-Help -Force Update-Help : Failed to update Help for the module(s) ‘Microsoft.PowerShell.Operation.Validation’ with UI culture(s) {en-GB} : Unable to retrieve the HelpInfo XML file for UI culture […]
What you don’t know
Posted by: richardsiddaway | August 10, 2016 Comments Off on What you don’t know |This article – https://powershell.org/2016/08/08/what-are-your-known-problems-solved-in-dsc/ – started me thinking about the times I’ve worked on big projects. One of the things we’d do was discuss things that could become problems. Knowledge falls into three groups: – things you know – things you don’t know – you know that X is a thing but you […]
Categories
- .NET
- Active Directory
- Architecture
- Azure
- Bash
- BITS
- Books
- CDXML
- CIM
- Cloud
- COM
- Containers
- Deep Dive
- Desired State Configuration
- DevOps
- DHCP
- DNS
- DSC
- European Summit
- Events
- Exchange
- File System
- Firewall
- General
- General IT Matters
- Hyper-V
- IIS
- Infrastructure
- IT Community
- IT Security
- Learning PowerShell
- Linux
- Math
- Microsoft
- Modules
- Nano Server
- Networking
- Office 2010
- Office 2013
- Open Source
- Opinion
- Outlook
- Philosophy
- PowerShell
- PowerShell 7
- PowerShell and .NET
- PowerShell and Active Directory
- PowerShell and CIM
- PowerShell and Exchange 2007
- PowerShell and IIS
- PowerShell and SQL Server
- PowerShell and WMI
- PowerShell Basics
- PowerShell original
- PowerShell Summit
- PowerShell User Group
- PowerShell User Group 2
- PowerShell v2
- PowerShell V3
- PowerShell v4
- PowerShell v5
- PowerShell v6
- PowerShell.org
- PowerShellGet
- PowerShellV2
- PSAM
- Rant
- Registry
- Scripting
- Scripting Games
- Scripting Games 2104
- Security
- SQL Server
- Storage
- Strings
- Summit
- Technology
- Uncategorized
- Virtualization
- Windows 10
- Windows 2012 R2
- Windows 7
- Windows 8
- Windows 8 Server
- Windows 8.1
- Windows Server
- Windows server 1709
- Windows Server 2008
- Windows Server 2008 R2
- Windows Server 2012
- Windows Server 2012 R2
- Windows Server 2016
- Windows Server 2019
- WMFv5
- WPF
- WSUS