One of the outcomes of the Scripting Games is a series of debates on powershell.org regarding things that were noticed during the games. The latest is on using “pure” powershell as opposed to adding .NET, COM, utilities and whatever comes to hand http://powershell.org/wp/2013/07/30/powershell-great-debate-the-purity-laws/
Archive for July, 2013
The records of the PowerShell Jump Start from two weeks ago are now available. 9 sessions on PowerShell 3.0 delivered by Jason Helmick and Jeffrey Snover. http://www.microsoftvirtualacademy.com/training-courses/getting-started-with-powershell-3-0-jump-start It doesn’t get any better than this.
Have you ever looked at the functions available to you in PowerShell? Get-ChildItem function: shows the list of functions currently available in your PowerShell session. function: is a PowerShell drive. Other drives are available: £ Get-PSDrive Name Used (GB) Free (GB) Provider Root —- ——— ——— ——– —- Alias Alias C 103.58 129.21 FileSystem C:\ […]
I was thinking the other day about the differences between PowerShell v1 and the new v4 we’ll be getting soon. There is so much in PowerShell that its very difficult to be an expert in aspects. Think about these topics for a moment: PowerShell pipeline Error handling and debugging Objects Scope Formatting Extensible type System […]
CSV files are great for passing information around and are very easy to use in your PowerShell scripts. Sometimes, your CSV may have a problem – for instance it doesn’t have a header row. At that point the data becomes a bit difficult to use: £ Import-Csv .\htest.csv | Format-Table -AutoSize 2 Red 23.8 47.6 […]
I mentioned several times during the Q&A for the PowerShell jump start that a free PowerShell remoting book was available from powershell.org The book can be found here – http://powershell.org/wp/books/ Scroll down the list to see lots of free books
At the PowerShell Jumpstart event there were a lot questions asking how Jeffrey Snover managed to get a dollar sign – $ – as his prompt. A lot of them centred on asking if this was a PowerShell v4 thing. Its not a V4 thing. You have been able to change the prompt since v1. […]
PowerShell Deep Dives is a collection of chapters from PowerShell authorities world wide. The book is now published http://manning.com/hicks/ The royalties from the book all go to Save the Children If you’ve bought a copy thank you for your support – your book will be with you soon. If you haven’t got a copy please […]
Can you find the network adapter on your machine that’s connected to the Internet? On a Windows 8/2012 machine its fairly simple: PS> Get-NetConnectionProfile -IPv4Connectivity Internet Name : NetworkName InterfaceAlias : AdapterName InterfaceIndex : 12 NetworkCategory : Private IPv4Connectivity : Internet IPv6Connectivity : LocalNetwork What else can you discover? The important information is the InterfaceIndex […]
CSV files are one way we can get data into our scripts – but sometimes when we get given a CSV file it has spaces in the field name e.g. "Area Number" 1 2 3 2 3 1 5 Dealing with this can be a bit awkward but you can access the field like this: […]
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