Don Jones is a popular IT author, speaker, trainer, and recipient of Microsoft MVP award. Don has been an expert in Windows PowerShell for many years. He developed the Microsoft PowerShell courseware and has taught PowerShell to more than 20,000 IT pros.
More of you are getting used to Windows PowerShell and realizing its advantages. With that in mind, this month’s column is going to be a long one. This is a lightning overview of Windows PowerShell scripting, including how to build parameterized scripts.
The new Windows PowerShell is coming. Actually, Microsoft has just launched a Community Technology Preview (CTP) of Windows PowerShell version 3, although the final version 3 probably won’t ship until it comes out with Windows 8.
It also will be available for Windows 7 and Windows Server 2008 R2. The CTP will install on those OSes.
I was asked by a PowerShell Rock Star, Shay Levy, to forward on my very first experiences with PowerShell. Why I started to use it in the first place and what resources I employed to solve my first scripting problems.
PowerShell is a vast product, especially when you take into account how it's used in other products such as Lync Server, Exchange, and the Windows Operating System.
It can be a little daunting to those new with PowerShell - there is a vast array of deeply technical discussions of all of PowerShell's many aspects, quirks and peculiarities and all.
So start at the beginning, and learn the basics, either on you own, or possibly with the aid of a great training class. Then work with it and return to find more. And when you can, how about adding to the body of knowledge referenced here.
I recently had a requirement to audit the Share and NTFS permissions of a Windows File Server. PowerShell contains the Get-ACL cmdlet which makes retreving the NTFS permissions fairly straightforward, but for the Share permissions it is not so easy, but we can make use of WMI and the Win32_LogicalShareSecuritySetting class.
I regularly go onsite with enterprise customers of Microsoft and do Microsoft Internet Information Services (IIS) health checks.
Recently, I have been rewriting many of my VBScripts into PowerShell scripts to help make the health check easier. I will be writing more as I go. In the meantime, I hope that you will find these scripts useful.
One big problem for companies that do not utilize an identity management system is stale user accounts. I have seen companies that have thousands of accounts for users who have not logged into the domain in years, or at all.
With Windows PowerShell and the Microsoft Active Directory (AD) module, the task of identifying and deleting these accounts is an easy one..
One of the most useful features provided in PowerShell are “Common Parameters”. These are parameters which you can utilize in your own scripts and functions to provide a similar look and feel to the standard PowerShell cmdlets which use them.
When you write scripts, you want to automate things, fair enough. When it comes to writing scripts, a lot of people do not automate, though. They do the same coding over and over again and waste time and consistency.
So let’s look at some simple code-reusing techniques. It’s not that hard at all. In fact, after you read this post you can create your own PowerShell modules in seconds.
Sharing your scoops to your social media accounts is a must to distribute your curated content. Not only will it drive traffic and leads through your content, but it will help show your expertise with your followers.
How to integrate my topics' content to my website?
Integrating your curated content to your website or blog will allow you to increase your website visitors’ engagement, boost SEO and acquire new visitors. By redirecting your social media traffic to your website, Scoop.it will also help you generate more qualified traffic and leads from your curation work.
Distributing your curated content through a newsletter is a great way to nurture and engage your email subscribers will developing your traffic and visibility.
Creating engaging newsletters with your curated content is really easy.