If you have a collection of objects $proc = get-process you can get the number of members using the Length property PS> $proc.Length 71 $proc is of type System.Array PS> $proc.GetType() IsPublic IsSerial Name BaseType ——– ——– —- ——– True True Object[] System.Array MSDN documenattion is at https://msdn.microsoft.com/en-us/library/system.array(v=vs.110).aspx PowerShell also adds […]
Archive for May, 2016
This is worth a read https://blogs.technet.microsoft.com/windowsserver/2016/05/26/moving-forward-with-powershell-and-windows-server-2016/ It discusses the evolution of Windows server and PowerShell. Read it in conjunction with the videos of Jeffrey Snover’s talks at WinOps and the European PowerShell conference this year.
WMF 5.0 preview support ending
Posted by: richardsiddaway | May 30, 2016 Comments Off on WMF 5.0 preview support ending |Support for the WMF 5.0 preview is ending – https://blogs.msdn.microsoft.com/powershell/2016/05/23/end-of-support-for-windows-management-framework-wmf-5-0-production-preview-is-approaching-upgrade-to-rtm-bits/ Upgrade now!
Want to see what PowerShell 5.1 looks like? Install Windows Server 2016 TP 5 or get on the fast ring for Windows 10 Insider Previews. The latest build – 14352 shows a PowerShell version of 5.1.14352.1002 with Powershell 1.0 through 5.0 as compatible versions The WSMAN stack is still version 3.0 so no […]
Slides and Code from my WinOps 2016 talk
Posted by: richardsiddaway | May 28, 2016 Comments Off on Slides and Code from my WinOps 2016 talk |The slides and code from my WinOps 2016 talk can be found here: https://onedrive.live.com/redir?resid=43CFA46A74CF3E96!79154&authkey=!AKIt7btEZsahTf8&ithint=file%2czip
After rebuilding my test machine for Server 2016 (with mixed results) I needed to add a DHCP scope to the environment. I blogged about the DHCP PowerShell module several years ago. To quickly add a DHCP scope to the current server Add-DhcpServerv4Scope -Name ‘Manticore Scope’ ` -StartRange 10.10.54.2 -EndRange 10.10.54.30 ` -Description ‘Scope for […]
Windows server 2016 TP 5 activation
Posted by: richardsiddaway | May 26, 2016 Comments Off on Windows server 2016 TP 5 activation |Having finished the current round of conference speaking I needed to upgrade my system to Windows 2016 TP5. I’m using a 6 year old Lenovo W510 system. First problem is that I couldn’t get the wireless adapter working – after a lot of searching I saw a post with a similar issue due to […]
During the WinOps conference – http://winops.org/ – I attended a session on DevOps culture. At one point the discussion got on to skill sets. I introduced the concept of the Y shaped skillset. You should have a deep understanding on at least one area – C# development, Active Directory, web development, Exchange management […]
Windows container providers
Posted by: richardsiddaway | May 18, 2016 Comments Off on Windows container providers |Containers are a new feature in Windows 2016. I was preparing for my talk at the WinOps conference next week – http://winops.org/ – and realised I needed the container OS image for nano server I discovered that there are 2 container image providers available through the PowerShell gallery. In TP4 I used the […]
Cloud Native Applications
Posted by: richardsiddaway | May 11, 2016 Comments Off on Cloud Native Applications |Cloud Native Applications is a collection of hand-picked chapters presenting five topics that will give you insights into the world of cloud computing. The link is here: http://bit.ly/1T46wP7 This is excellent value – its FREE. You’ll find chapters on: Amazon Web Services Docker Mesos RabbitMQ Netty Enjoy
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