PowerTip: Use New-Alias to make Cmdlets easier to remember
Using New-Alias to create easier to remember shortcuts in PowerShell
Breaking news from around the world Get the Bing + MSN extension
A place to learn about PowerShell and share stories of automation

Using New-Alias to create easier to remember shortcuts in PowerShell

Summary: Using Windows PowerShell to purge Wlan profiles with NetSh.exe.
Last week we had a way with a Regular Expression to run one Netsh.exe command and show only the profile names as a PowerShell Array.
Today we’re going to finish the task and show you how to delete those Profiles.

Summary: Identify if capabilities like OpenSSH are installed in your Windows 10 Operating System
Hey, Doctor Scripto. I was curious if there was a way to see if a workstation has a capability installed on it like OpenSSH. I’m trying to report on this for my environment.

Summary: Using Regular Expressions to cleanup string data from NetSh.exe.
Let’s remember the last two discussions. The first time we looked at using PowerShell to identify wireless profiles with some simple regular expressions. We followed up the next week with how to identify which approach would be the fastest.

Summary: Using the Get-Bitlocker Cmdlet to show the status of drives on your Windows 10 computer
Hey, Doctor Scripto. Is there a nice simple way to see if drives are Bitlocker encrypted?
A most excellent question! You can the Get-BitlockerVolume Cmdlet and filter on the VolumeStatus property.

Summary: Using Measure-Command to determine the fastest approach to a solution.
Last week we were having some fun using PowerShell as a wrapper around the NetSh.exe command’s output. We were left at a decision point.
Which way to go? A For loop to clean up the data,

Summary: Using the split method in a more powerful fashion to split an array based upon two line terminating types
Hey, Doctor Scripto. I was wondering if there was a more efficient way of converting a Here-String to an Array when there were multiple line termination options like Linefeed or Carriage Return and Linefeed?

Summary: Using PowerShell and Regular Expressions as a wrapper on NetSh.exe output to identify the profiles.
Hey, Doctor Scripto!
I have a whole pile of old Wireless profiles that have been collecting dust. I know I can use NETSH to view and delete them,

Summary: Using $PSVersionTable to identify if you are on Windows or Unix
Hey, Doctor Scripto! I’m working on my PowerShell scripts and I need to be able to identify if I’m working on Windows or Linux. How can I do this easily?

Summary: Creating a Function in PowerShell and the power of the $PSVersionTable to make code more portable
Q: Hey, Doctor Scripto!
I saw that post last week on converting Here-String into an array. I wanted to write my code to trap for PowerShell and PowerShell Core.
200 Level

Summary: Using PowerShell and a very simple Regular Expression to convert Random counts of spaces to a Comma
Hey Doctor Scripto! I have some string based output from a non PowerShell application. The output is good but I need to easily parse it.

Summary: Using PowerShell to automate Quser to identify users to Logoff systems in Windows
Hey Doctor Scripto! I need to log a user off every computer they’re logged into. The problem is, I don’t know which ones. How can I discover which computers they’re logged into and then log them off?
arrays

Summary: Creating a Function in PowerShell and the power of the $PSVersionTable to make code more portable
Q: Hey, Doctor Scripto!
I saw that post last week on converting Here-String into an array. I wanted to write my code to trap for PowerShell and PowerShell Core.

Summary: Learn how to skip the beginning and ending portions of a text file by using Windows PowerShell in this article by the Microsoft Scripting Guy Ed Wilson.
This is the second post in a multi-part series of blog posts that deal with how to determine letter frequency in text files.
ASP.NET Core

[Hello, we are looking to improve your experience on the Visual Studio Blog. It will be very helpful if you could share your feedback via this short survey that should take less than 2 minutes to fill out. Thanks!]
Cloud services represent a huge leap in functionality,
Azure

Summary: Using PowerShell to identify users who are Synchronized to AzureAD but not yet licensed
Hey, Doctor Scripto!
I’d love to be able to identify users Synchronized to AzureAD that haven’t yet had their licenses assigned. Help a friend out?
No problem at all!

Summary: Using PowerShell to report on Users and the last time Passwords were changed
Hey, Doctor Scripto! I need to report on users and when they updated their passwords In AzureAD. Could you show me how ?
Most certainly, I love to provide a helping hand however I can.

At the recent Connect(); 2017 in November, we announced public preview of Azure IoT Edge. Now you can bring the intelligence of the Cloud right to the IoT Edge as well as easily create and manage business logic for your devices.

[Hello, we are looking to improve your experience on the Visual Studio Blog. It will be very helpful if you could share your feedback via this short survey that should take less than 2 minutes to fill out. Thanks!]
Cloud services represent a huge leap in functionality,

You’ve probably heard some version of the story about a developer who mistakenly checked in his AWS S3 key to Github. He pulled the key within 5 minutes but still racked up a multi-thousand dollar bill from bots that crawl open source sites looking for secrets.

Finding better ways to upskill is a consistent topic that comes up when we talk to you about what’s top of mind. It’s no wonder when the one constant in our industry is change with new techniques, frameworks, tools, and languages emerging all the time.
community

2016 was the best year in SQL PowerShell history! I guess I should have mentioned that here sooner.
Wired® Magazine recently said that Microsoft SQL Server was the surprise hit of the year. The primary cited reason is the SQL Server port to Linux,

SUMMARY: Microsoft Scripting Guy Ed Wilson announces November 14, 2016 as date for PowerShell 10th anniversary celebration
Can you believe that PowerShell is nearly 10 years old (that is a long time in ‘internet time’)? On November 14, 2016 we will celebrate the occasion with a day-long event that will run from 8 in the morning until 4 in the afternoon (PST).

SUMMARY: Ed Wilson, Microsoft Scripting Guy, talks about the Scripting Guys booth at Ignite 2016 in Atlanta.
Good morning everyone. Ed Wilson, Microsoft Scripting Guy, here. So, the day has finally arrived – after literally months and months of planning, Ignite 2016 in Atlanta has arrived.

SUMMARY: The Microsoft Scripting Guys, Ed Wilson, upcoming live appearances.
Hello Scripters,
Teresa (aka. Scripting Wife) here. We have been really busy recently working with PowerShell user groups, and we want to provide you with a convenient listing of upcoming special events.

SUMMARY: Ed Wilson talks about his summer of PowerShell tour with dates and links to live appearances.
Hello everyone, Hope you are having a fantastic day. Ed and I have been busy as usual and are ready to get busier. Here are the dates and links to upcoming events we will be attending and Ed speaking.

Summary: Learn how to properly answer a technical question in a presentation in this step-by-step post by PowerShell MVP June Blender.
Today we have another blog post by PowerShell MVP June Blender. June is an Honorary Scripting Guy and a technical evangelist for the SAPIEN Technologies,

SUMMARY: Microsoft Scripting Guy, Ed Wilson talks about recording a new Microsoft Virtual Academy series of videos with PFE Ashley McGlone.
Hello everyone, Microsoft Scripting Guy Ed Wilson here. Well, I can tell you this week has been absolutely incredible. The Scripting Wife and I are out in Seattle (Bellevue,
Connect();

[Hello, we are looking to improve your experience on the Visual Studio Blog. It will be very helpful if you could share your feedback via this short survey that should take less than 2 minutes to fill out. Thanks!]
Earlier this week,
Delimited files

Summary: Learn how to skip the beginning and ending portions of a text file by using Windows PowerShell in this article by the Microsoft Scripting Guy Ed Wilson.
This is the second post in a multi-part series of blog posts that deal with how to determine letter frequency in text files.
Doctor Scripto

Using New-Alias to create easier to remember shortcuts in PowerShell

Summary: Using Windows PowerShell to purge Wlan profiles with NetSh.exe.
Last week we had a way with a Regular Expression to run one Netsh.exe command and show only the profile names as a PowerShell Array.
Today we’re going to finish the task and show you how to delete those Profiles.

Summary: Identify if capabilities like OpenSSH are installed in your Windows 10 Operating System
Hey, Doctor Scripto. I was curious if there was a way to see if a workstation has a capability installed on it like OpenSSH. I’m trying to report on this for my environment.

Summary: Using Regular Expressions to cleanup string data from NetSh.exe.
Let’s remember the last two discussions. The first time we looked at using PowerShell to identify wireless profiles with some simple regular expressions. We followed up the next week with how to identify which approach would be the fastest.

Summary: Using the Get-Bitlocker Cmdlet to show the status of drives on your Windows 10 computer
Hey, Doctor Scripto. Is there a nice simple way to see if drives are Bitlocker encrypted?
A most excellent question! You can the Get-BitlockerVolume Cmdlet and filter on the VolumeStatus property.

Summary: Using Measure-Command to determine the fastest approach to a solution.
Last week we were having some fun using PowerShell as a wrapper around the NetSh.exe command’s output. We were left at a decision point.
Which way to go? A For loop to clean up the data,

Summary: Using the split method in a more powerful fashion to split an array based upon two line terminating types
Hey, Doctor Scripto. I was wondering if there was a more efficient way of converting a Here-String to an Array when there were multiple line termination options like Linefeed or Carriage Return and Linefeed?

Summary: Using PowerShell and Regular Expressions as a wrapper on NetSh.exe output to identify the profiles.
Hey, Doctor Scripto!
I have a whole pile of old Wireless profiles that have been collecting dust. I know I can use NETSH to view and delete them,

Summary: Using $PSVersionTable to identify if you are on Windows or Unix
Hey, Doctor Scripto! I’m working on my PowerShell scripts and I need to be able to identify if I’m working on Windows or Linux. How can I do this easily?

Summary: Creating a Function in PowerShell and the power of the $PSVersionTable to make code more portable
Q: Hey, Doctor Scripto!
I saw that post last week on converting Here-String into an array. I wanted to write my code to trap for PowerShell and PowerShell Core.
Extensions

Visual Studio is joining Visual Studio Code in offering support for the Language Server Protocol. As an extension author, you can now write Visual Studio extensions that leverage existing language servers to provide a rich editing experience for languages that initially had no native language support in Visual Studio.

Consumers of Visual Studio IDE extensions visit Visual Studio Marketplace to discover and acquire extensions. But extension publishers visit Visual Studio Gallery to publish and manage their Visual Studio IDE extensions. Henceforth, extension publishing and management will also be in Marketplace.
files

Summary: Learn how to skip the beginning and ending portions of a text file by using Windows PowerShell in this article by the Microsoft Scripting Guy Ed Wilson.
This is the second post in a multi-part series of blog posts that deal with how to determine letter frequency in text files.
Getting Started

Summary: Learn the top three tips to effectively use Windows PowerShell to sort data in this blog post by the Microsoft Scripting Guy, Ed Wilson.
One of the fundamental things that I need to do when I look at any kind of data is sort it so that I can make sense of what I am looking at.

Summary: Learn how to use a script block with the Group-Object cmdlet in Windows PowerShell to create custom groupings in this article by Microsoft Scripting Guy Ed Wilson.
Good morning. Ed Wilson the Microsoft Scripting Guy is here. This week, I have been hanging out with a group of writers.
Grouping

Summary: Learn how to use a script block with the Group-Object cmdlet in Windows PowerShell to create custom groupings in this article by Microsoft Scripting Guy Ed Wilson.
Good morning. Ed Wilson the Microsoft Scripting Guy is here. This week, I have been hanging out with a group of writers.
Hey Scripting Guy!

Summary: Using Windows PowerShell to remove Stale / Dead Domain Controller records.
Q: Hey, Doctor Scripto!
How can I quickly clean up all my dead Domain Controller’s DNS records?
A:
That’s a great question. The good Doctor also knows the very person to answer it best.

Using the Get-Random Cmdlet to select a random list of names instead of numbers

Creating sample files with random sizes and dates for use in a Lab

Having some fun with Abbott and Costello’s “Who’s on first?” comedy routine, and multiple voices with Bing Speech.

Send and receive content to the Text-to-Speech API with PowerShell.

Send and receive content to the Text-to-Speech API with PowerShell.

Use Windows PowerShell to access the Cognitive Services Text-to-Speech API.

Normally, it’s preferable to use specific Puppet and DSC Windows modules to manage systems in Puppet, but an alternative is running PowerShell commands and scripts by using the exec resource. This can be helpful for transitioning existing PowerShell code into Puppet quickly.

Summary: Certificate management is always challenging. Let’s explore how to use PowerShell to export local certificate information to a comma-separated values (CSV) file on Windows 7 (or later) computers.
Q: Hey, Scripting Guy!
How can I get all my certificate info into a CSV on my Windows computers?

Summary: Desired State Configuration is a great deployment tool to meet your organization’s infrastructure-as-code goals. I recently came across a situation for a project that uses the Push Service (as opposed to the Pull Service). It required me to be able to apply a new partial configuration to a node,
Java

Today, we’re pleased to release a new extension to our Visual Studio Code Java extension family – Test Runner/Debugger for Java. It’s a lightweight test runner/debugger with below features we hope you will like.
Recognize JUnit4 tests
Run test
Debug test
View test status and run summary
Same as the Debugger for Java,

In the past 3 weeks, we’ve continued to see a lot of people installing and trying our tools, reading our documents, and visiting our repository. We’ve also seen a number of new issues opened by the Java community. Thank you all for trying our tools and providing feedback,
JSON

Summary: Using the ConvertFrom-JSON and ConvertTo-JSON Cmdlets to edit a configuration file
Q: Hey, Doctor Scripto!
I need to be able to change the Startup settings in Teams (like the Auto launch feature). I can change it in the Interface, but I need to be able to edit across multiple systems.
Math

Summary: Learn how to use Windows PowerShell to calculate the percentage of how often a character appears in a text file.
This is the fifth post in a multi-part series of blog posts that deal with how to determine letter frequency in text files.
Microsoft 365

Summary: Using PowerShell to identify users who are Synchronized to AzureAD but not yet licensed
Hey, Doctor Scripto!
I’d love to be able to identify users Synchronized to AzureAD that haven’t yet had their licenses assigned. Help a friend out?
No problem at all!

Summary: Will Martin finalizes his discussion on how to report on Microsoft 365 licensing in the cloud.
Previous Posts on this article can be found here for continuity
Reporting on Microsoft 365 Licensing using PowerShell – Part 1
Reporting on Microsoft 365 Licensing using PowerShell – Part 2
Dr.

Summary: Will Martin continues his discussion on how to report on Microsoft 365 licensing in the cloud.
Previous Posts on this article can be found here for continuity
Reporting on Microsoft 365 Licensing using PowerShell – Part 1
Remember from last week we showed the results of what a user licensed in Microsoft 365 looked like in the web portal?

Summary: Use PowerShell to identify the property in AzureAD with the Synchronization time in AzureAD
Hey, Doctor Scripto. Is there a way with PowerShell to identify when a user was last synchronized with AzureAD?
Absolutely! We just need to examine the LastDirSyncTime when using the Get-Msoluser cmdlet.

Summary: Will Martin discusses how to report on Microsoft 365 licensing in the cloud.
Hello everyone, Doctor Scripto here today to introduce you to a good friend of mine. Will Martin is a PFE in Messaging here at Microsoft and he wanted to share a wonderful solution he found on reporting on Microsoft 365 licensing with PowerShell.
Microsoft Operations Management Suite

Summary: Learn how to disable automatic management pack updates from MS OMS to Operations Manager and limit updates to a specific time window.
Hi all, Brian Wren here. I usually spend my time writing documentation for TechNet and Azure.com, but I’ve been hearing about an issue from a few customers that I wanted to address.
Microsoft Teams

Summary: Using the ConvertFrom-JSON and ConvertTo-JSON Cmdlets to edit a configuration file
Q: Hey, Doctor Scripto!
I need to be able to change the Startup settings in Teams (like the Auto launch feature). I can change it in the Interface, but I need to be able to edit across multiple systems.
.NET

One of the most exciting announcements during this year’s Connect(); event was the ability to embed .NET libraries into existing iOS (Objective-C/Swift) and Android (Java) applications with .NET Embedding. This is great because you can start to share code between your iOS and Android applications,

Visual Studio 2017 first released in March of this year. Since then, there have been five updates with each bringing more improvements and capabilities. Every improvement is geared towards making you more productive and this post aims to give you an overview of the culmination of features to date.
Networking

Summary: Using Regular Expressions to cleanup string data from NetSh.exe.
Let’s remember the last two discussions. The first time we looked at using PowerShell to identify wireless profiles with some simple regular expressions. We followed up the next week with how to identify which approach would be the fastest.
Performance

Summary: Using Measure-Command to determine the fastest approach to a solution.
Last week we were having some fun using PowerShell as a wrapper around the NetSh.exe command’s output. We were left at a decision point.
Which way to go? A For loop to clean up the data,

On average, 50 percent of all solutions opened by Visual Studio users open in ten seconds or less. However, large solutions can take longer to load because there are a lot of projects that Visual Studio needs to process.
Over the last six months,

There have been several significant improvements to the test experience that range across Visual Studio and Visual Studio Team Services. These efforts involved frameworks and tooling for both .NET and C++, but all had a common goal: make testing with our developer tools a great experience.
PowerShell

Using New-Alias to create easier to remember shortcuts in PowerShell

Summary: Using Windows PowerShell to purge Wlan profiles with NetSh.exe.
Last week we had a way with a Regular Expression to run one Netsh.exe command and show only the profile names as a PowerShell Array.
Today we’re going to finish the task and show you how to delete those Profiles.

Summary: Identify if capabilities like OpenSSH are installed in your Windows 10 Operating System
Hey, Doctor Scripto. I was curious if there was a way to see if a workstation has a capability installed on it like OpenSSH. I’m trying to report on this for my environment.

Summary: Using Regular Expressions to cleanup string data from NetSh.exe.
Let’s remember the last two discussions. The first time we looked at using PowerShell to identify wireless profiles with some simple regular expressions. We followed up the next week with how to identify which approach would be the fastest.

Summary: Using the Get-Bitlocker Cmdlet to show the status of drives on your Windows 10 computer
Hey, Doctor Scripto. Is there a nice simple way to see if drives are Bitlocker encrypted?
A most excellent question! You can the Get-BitlockerVolume Cmdlet and filter on the VolumeStatus property.

Summary: Using Measure-Command to determine the fastest approach to a solution.
Last week we were having some fun using PowerShell as a wrapper around the NetSh.exe command’s output. We were left at a decision point.
Which way to go? A For loop to clean up the data,

Summary: Using the split method in a more powerful fashion to split an array based upon two line terminating types
Hey, Doctor Scripto. I was wondering if there was a more efficient way of converting a Here-String to an Array when there were multiple line termination options like Linefeed or Carriage Return and Linefeed?

Summary: Using PowerShell and Regular Expressions as a wrapper on NetSh.exe output to identify the profiles.
Hey, Doctor Scripto!
I have a whole pile of old Wireless profiles that have been collecting dust. I know I can use NETSH to view and delete them,

Summary: Using $PSVersionTable to identify if you are on Windows or Unix
Hey, Doctor Scripto! I’m working on my PowerShell scripts and I need to be able to identify if I’m working on Windows or Linux. How can I do this easily?

Summary: Creating a Function in PowerShell and the power of the $PSVersionTable to make code more portable
Q: Hey, Doctor Scripto!
I saw that post last week on converting Here-String into an array. I wanted to write my code to trap for PowerShell and PowerShell Core.
PowerShell_For_Programmers

There won’t be much code in today’s post, but this can be a useful feature to know about.
In addition to the expandable and literal strings we talked about, we can also use something called a Here String. Here strings allow us to have quote characters inside of our string that match the quote characters we use to create that string.

Welcome back to PowerShell for Programmers, this week I’m trying gitGist again for the code blocks. Let me know what you think about it vs the normal syntax highlighter I use 🙂
As we’ve seen in the other posts about functions,

I just wanted to throw together a post highlighting how cool and easy it is to add help data to your own Functions and scripts.
The help data gets added via comments. For functions the help data can go in three places:
Before the function keyword (I like it up here)
Between the open curly brace and the param() statement
At the bottom of the function before the closing curly brace (I hate this spot)
For scripts we just put it at the top of your script before you type the param() statement,

In an earlier post, I showed you how you could use the [parameter(mandatory)] attribute to force your parameters to behave a bit more like you’d expect from other languages. We also have a bunch of other useful attributes we can use on our parameters to enable cool features.

Welcome back everyone, I’m trying out GitHub Gist for my code blocks this week. It lets you click and download them, as well as making them easy to edit. The downside is that I can’t use my usual dark themed syntax highlighting.

Welcome back everyone! This will be a short, but important entry for the guide.
The difference between quote characters is something I’m asked about all the time. It is important to understand in PowerShell, but most of the time it probably won’t make a difference.

Just like I mentioned in my first post, PowerShell supports a lot of stuff that makes it pretty easy to dive in and get stuff running. The following two examples are supported in PowerShell, but not something you should really be doing for any reusable tool set.

Operators are one of the most frustrating things about learning PowerShell if you’re coming from just about any other language in existence. Operators like ==, <=, !=. etc. are almost ubiquitous in programming, but none of them are supported in PowerShell.

Variables
Variables in PowerShell are going to be a bit different than they are for you in most languages.
To start out the conversation, the basic way to create a variable is just by using a “$” and an “=”, but there are cmdlets and other ways to generate them.

The new landing page for this series will be here.
Learning PowerShell can be very useful for people with programming experience. Whether you’re currently a developer, dev-ops, or an admin you can get some serious use out of being familiar with PowerShell.
PowerShell 5

SUMMARY: Microsoft Scripting Guy, Ed Wilson talks about recording a new Microsoft Virtual Academy series of videos with PFE Ashley McGlone.
Hello everyone, Microsoft Scripting Guy Ed Wilson here. Well, I can tell you this week has been absolutely incredible. The Scripting Wife and I are out in Seattle (Bellevue,

Summary: Microsoft Scripting Guy Ed Wilson talks about using Windows PowerShell 5.0 on Windows 10 to create temporary files in the temporary folder.
Sometimes it is the little things that make life easier. You know, like a cereal bar … it’s not like a major technological breakthrough but it is much more convenient than getting a bowl of milk and opening a box of cereal and dumping it in the bowl.
PowerTip

Using New-Alias to create easier to remember shortcuts in PowerShell

Summary: Identify if capabilities like OpenSSH are installed in your Windows 10 Operating System
Hey, Doctor Scripto. I was curious if there was a way to see if a workstation has a capability installed on it like OpenSSH. I’m trying to report on this for my environment.

Summary: Using the split method in a more powerful fashion to split an array based upon two line terminating types
Hey, Doctor Scripto. I was wondering if there was a more efficient way of converting a Here-String to an Array when there were multiple line termination options like Linefeed or Carriage Return and Linefeed?

Summary: Using $PSVersionTable to identify if you are on Windows or Unix
Hey, Doctor Scripto! I’m working on my PowerShell scripts and I need to be able to identify if I’m working on Windows or Linux. How can I do this easily?

Summary: Pulling up the properties of $PSVersionTable to identify your PowerShell edition
Hey, Doctor Scripto! I want to write my modules and scripts to be more portable. How can I tell if I am executing on PowerShell Core?
Just use the $PSVersionTable object and examine the PSEdition value.

Summary: Using the ConvertFrom-Json Cmdlet in PowerShell to read a JSON formatted file
Hey, Doctor Scripto! I’ve seen a lot of JSON files in use in Azure. I’m not very good with editing JSON properly. Is there an easy way to read this and at least edit it with PowerShell?

Summary: Using the features of the SQLServer PowerShell module to run assessments of your servers
How can I easily check that my SQL Servers are all configured to meet best practices?
You can use SQL Server Assessments – the latest addition to the SQLServer PowerShell module.

Summary: Using PowerShell to report on Users and the last time Passwords were changed
Hey, Doctor Scripto! I need to report on users and when they updated their passwords In AzureAD. Could you show me how ?
Most certainly, I love to provide a helping hand however I can.

Using the Get-Random Cmdlet to select a random list of names instead of numbers

I’ve got a script that needs to power off a system after it’s done. How can I accomplish this with PowerShell?
REGEX

Summary: Using PowerShell and Regular Expressions as a wrapper on NetSh.exe output to identify the profiles.
Hey, Doctor Scripto!
I have a whole pile of old Wireless profiles that have been collecting dust. I know I can use NETSH to view and delete them,

Welcome back to the RegEx guide. Last post we talked a little bit about the basics of RegEx and its uses. I mentioned the most important thing is to understand the symbols. Today we’ll ease in with some of the basics to get us going,

Hi all, this week I’ll be talking about Regular Expressions. I’ve got a few posts planned to get you set up and going with some basic Regex.
Regex is used for extracting and validating data. Essentially, you can think of Regex as windows wild cards on steroids.

Summary: Cloud & Datacenter Management MVP, Thomas Rayner, shows how escape characters for use in regex.
Is there a way to escape characters in a string automatically for use in regex?
Use the [regex]::escape() method to automatically escape characters in a string so you can use them in regex.

Summary: Thomas Rayner, Microsoft Cloud and Datacenter Management MVP, shows the basics of working with regular expressions in PowerShell.
Hello! I’m Thomas Rayner, a proud Cloud and Datacenter Management Microsoft MVP, filling in for The Scripting Guy! this week. You can find me on Twitter (@MrThomasRayner) or posting on my blog,

Summary: Learn how to use a regular expression pattern to remove non-alphabetic characters from a string by using Windows PowerShell.
How can I use Windows PowerShell to remove non-alphabetic characters from a string?
To remove nonalphabetic characters from a string, you can use the -Replace operator and substitute an empty string ‘’ for the nonalphabetic character.
Regular Expressions

Summary: Using Windows PowerShell to purge Wlan profiles with NetSh.exe.
Last week we had a way with a Regular Expression to run one Netsh.exe command and show only the profile names as a PowerShell Array.
Today we’re going to finish the task and show you how to delete those Profiles.

Summary: Using Regular Expressions to cleanup string data from NetSh.exe.
Let’s remember the last two discussions. The first time we looked at using PowerShell to identify wireless profiles with some simple regular expressions. We followed up the next week with how to identify which approach would be the fastest.

Summary: Using the split method in a more powerful fashion to split an array based upon two line terminating types
Hey, Doctor Scripto. I was wondering if there was a more efficient way of converting a Here-String to an Array when there were multiple line termination options like Linefeed or Carriage Return and Linefeed?

Summary: Using PowerShell and Regular Expressions as a wrapper on NetSh.exe output to identify the profiles.
Hey, Doctor Scripto!
I have a whole pile of old Wireless profiles that have been collecting dust. I know I can use NETSH to view and delete them,

Summary: Using PowerShell and a very simple Regular Expression to convert Random counts of spaces to a Comma
Hey Doctor Scripto! I have some string based output from a non PowerShell application. The output is good but I need to easily parse it.

Summary: Using PowerShell to automate Quser to identify users to Logoff systems in Windows
Hey Doctor Scripto! I need to log a user off every computer they’re logged into. The problem is, I don’t know which ones. How can I discover which computers they’re logged into and then log them off?

Summary: Cloud and Datacenter Management MVP, Thomas Rayner, shows how to split a string by using a string instead of just a character.
I am trying to split the string “this is my amazing string” on the pattern “my” by using “this is my amazing string”.split(“my”) but it’s giving me a bunch of garbled stuff back.

Summary: Thomas Rayner, Microsoft Cloud and Datacenter Management MVP, shows the basics of working with regular expressions in PowerShell.
Hello! I’m Thomas Rayner, a proud Cloud and Datacenter Management Microsoft MVP, filling in for The Scripting Guy! this week. You can find me on Twitter (@MrThomasRayner),

Summary: Cloud and Datacenter Management MVP, Thomas Rayner, shows how to split a string without losing the character you split on.
I’m splitting this file name some file.txt into its name and extension by going “some file.txt” –split “.”. It’s giving me some file and txt,

Summary: Cloud and Datacenter Management MVP, Thomas Rayner, shows how use regex to detect if a string is a valid Active Directory user name.
The invalid characters for an Active Directory user name are /\[:;|=,+*?<>]\ and “. How do I tell if a string is a valid Active Directory user name?
Scripting Techniques

Summary: Using Windows PowerShell to purge Wlan profiles with NetSh.exe.
Last week we had a way with a Regular Expression to run one Netsh.exe command and show only the profile names as a PowerShell Array.
Today we’re going to finish the task and show you how to delete those Profiles.

Summary: Using Regular Expressions to cleanup string data from NetSh.exe.
Let’s remember the last two discussions. The first time we looked at using PowerShell to identify wireless profiles with some simple regular expressions. We followed up the next week with how to identify which approach would be the fastest.

Summary: Using Measure-Command to determine the fastest approach to a solution.
Last week we were having some fun using PowerShell as a wrapper around the NetSh.exe command’s output. We were left at a decision point.
Which way to go? A For loop to clean up the data,

Summary: Using the split method in a more powerful fashion to split an array based upon two line terminating types
Hey, Doctor Scripto. I was wondering if there was a more efficient way of converting a Here-String to an Array when there were multiple line termination options like Linefeed or Carriage Return and Linefeed?

Summary: Using PowerShell and Regular Expressions as a wrapper on NetSh.exe output to identify the profiles.
Hey, Doctor Scripto!
I have a whole pile of old Wireless profiles that have been collecting dust. I know I can use NETSH to view and delete them,

Summary: Discovering some of the awesome and neat ways to leverage a Here-String in a Script or function
Q: Hey, Doctor Scripto!
I used to write scripts with supporting configuration files that never really changed. I was wondering if there was any way to put them INSIDE the script directly to make it self contained.

Summary: Will Martin finalizes his discussion on how to report on Microsoft 365 licensing in the cloud.
Previous Posts on this article can be found here for continuity
Reporting on Microsoft 365 Licensing using PowerShell – Part 1
Reporting on Microsoft 365 Licensing using PowerShell – Part 2
Dr.

Summary: Will Martin discusses how to report on Microsoft 365 licensing in the cloud.
Hello everyone, Doctor Scripto here today to introduce you to a good friend of mine. Will Martin is a PFE in Messaging here at Microsoft and he wanted to share a wonderful solution he found on reporting on Microsoft 365 licensing with PowerShell.

Summary: Using the Get-AuthenticodeSignature cmdlet to show if a file is Digitally Signed
Q: Hey, Doctor Scripto!
I was curious, since many new files are Digitally signed with a certificate if there was an easy way to see the status of the Digital Signatures of many files easily?

Summary: Using Windows PowerShell to remove Stale / Dead Domain Controller records.
Q: Hey, Doctor Scripto!
How can I quickly clean up all my dead Domain Controller’s DNS records?
A:
That’s a great question. The good Doctor also knows the very person to answer it best.
Security

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to do letter frequency analysis of a text enabling one to see how often a letter occurs.
This is the first post in a multi-part series of blog posts that deal with how to determine letter frequency in text files.
sorting

Summary: Learn the top three tips to effectively use Windows PowerShell to sort data in this blog post by the Microsoft Scripting Guy, Ed Wilson.
One of the fundamental things that I need to do when I look at any kind of data is sort it so that I can make sense of what I am looking at.
Storage

Summary: Learn how to skip the beginning and ending portions of a text file by using Windows PowerShell in this article by the Microsoft Scripting Guy Ed Wilson.
This is the second post in a multi-part series of blog posts that deal with how to determine letter frequency in text files.
Text

Summary: Using PowerShell and Regular Expressions as a wrapper on NetSh.exe output to identify the profiles.
Hey, Doctor Scripto!
I have a whole pile of old Wireless profiles that have been collecting dust. I know I can use NETSH to view and delete them,

Summary: This is a summary of some of the additional resources for working with text and Windows PowerShell.
Good day. Microsoft Scripting Guy, Ed Wilson, is here. So, here’s the deal. We are going along and decide to write a simple Windows PowerShell script.

Summary: Learn how to use Windows PowerShell to calculate the percentage of how often a character appears in a text file.
This is the fifth post in a multi-part series of blog posts that deal with how to determine letter frequency in text files.

Summary: Learn how to skip the beginning and ending portions of a text file by using Windows PowerShell in this article by the Microsoft Scripting Guy Ed Wilson.
This is the second post in a multi-part series of blog posts that deal with how to determine letter frequency in text files.

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to do letter frequency analysis of a text enabling one to see how often a letter occurs.
This is the first post in a multi-part series of blog posts that deal with how to determine letter frequency in text files.
Text files

Summary: Discovering some of the awesome and neat ways to leverage a Here-String in a Script or function
Q: Hey, Doctor Scripto!
I used to write scripts with supporting configuration files that never really changed. I was wondering if there was any way to put them INSIDE the script directly to make it self contained.

Summary: Using the ConvertFrom-JSON and ConvertTo-JSON Cmdlets to edit a configuration file
Q: Hey, Doctor Scripto!
I need to be able to change the Startup settings in Teams (like the Auto launch feature). I can change it in the Interface, but I need to be able to edit across multiple systems.

Summary: Learn how to use Windows PowerShell to compare the letter frequency of two different text files.
This is the fourth post in a multi-part series of blog posts that deal with how to determine letter frequency in text files. To fully understand this post,

Summary: Learn how to read a text file and do a letter-frequency analysis using Windows PowerShell in this article written by the Microsoft Scripting Guy, Ed Wilson.
This is the third post in a multi-part series of blog posts that deal with how to determine letter frequency in text files.
Text manipulation

Summary: Using Windows PowerShell to purge Wlan profiles with NetSh.exe.
Last week we had a way with a Regular Expression to run one Netsh.exe command and show only the profile names as a PowerShell Array.
Today we’re going to finish the task and show you how to delete those Profiles.

Summary: Creating a Function in PowerShell and the power of the $PSVersionTable to make code more portable
Q: Hey, Doctor Scripto!
I saw that post last week on converting Here-String into an array. I wanted to write my code to trap for PowerShell and PowerShell Core.

Summary: Discovering some of the awesome and neat ways to leverage a Here-String in a Script or function
Q: Hey, Doctor Scripto!
I used to write scripts with supporting configuration files that never really changed. I was wondering if there was any way to put them INSIDE the script directly to make it self contained.

Summary: Learn how to use a regular expression pattern to remove non-alphabetic characters from a string by using Windows PowerShell.
How can I use Windows PowerShell to remove non-alphabetic characters from a string?
To remove nonalphabetic characters from a string, you can use the -Replace operator and substitute an empty string ‘’ for the nonalphabetic character.
Uncategorized

Summary: Using Measure-Command to determine the fastest approach to a solution.
Last week we were having some fun using PowerShell as a wrapper around the NetSh.exe command’s output. We were left at a decision point.
Which way to go? A For loop to clean up the data,

Summary: Learn how to use Windows PowerShell to compare the letter frequency of two different text files.
This is the fourth post in a multi-part series of blog posts that deal with how to determine letter frequency in text files. To fully understand this post,

Summary: Learn about changes that we’ve already made for PowerShell content and what’s planned for the near future.
Hello scripters!
My name is Don Gill, and I am the new documentation manager for Windows PowerShell. With the 2016 PowerShell and DevOps Summit quickly approaching,

Summary: Take a first look at the newly released Windows PowerShell ISE Preview.
Good morning everyone. Ed Wilson here. I can tell you that the list of speakers for PowerShell Saturday on in Tampa March 19, 2016 looks really impressive. There are going to be seven MVPs and six Microsoftees there!

Summary: Learn how to find Published Windows PowerShell modules in the PowerShell Gallery.
How can I use Windows PowerShell to find modules that are published in the Windows PowerShell Gallery?
Use the Find-Module cmdlet in Windows PowerShell 5.0. This example finds modules related to the ISE:
Find-Module *ISE*

Summary: Learn how to install the Windows PowerShell ISE Preview edition from the PowerShell Gallery to Windows PowerShell 5.0 by using a one-line command.
One of the way cool things is that the Windows PowerShell ISE is released to the PowerShell Gallery.

Summary: Learn about the default parameter values in Windows PowerShell.
How can I find more about default parameter values in Windows PowerShell?
Use the Get-Help cmdlet and search for *defaultParameter*. The following command returns a list of Help topics that provide this information:
help *DefaultParameter*

Summary: Learn how to use Windows PowerShell 5.0 to scrape a web page so that you can easily return parsable objects.
Good morning. Ed Wilson here, and today I have a guest blog post by Doug Finke…
When surfing the PowerShell Gallery,

Summary: Learn how to view properties and the associated values of those properties of .NET Framework classes with Windows PowerShell.
How can I use Windows PowerShell to view the properties and their values from a .NET Framework class,

Summary: Learn how to use Windows PowerShell to display properties of a .NET Framework class.
How can I use Windows PowerShell to easily display properties of a .NET Framework class?
Pipe the type accelerator to the Get-Member cmdlet and specify the MemberType property,
Visual Basic

Visual Studio 2017 first released in March of this year. Since then, there have been five updates with each bringing more improvements and capabilities. Every improvement is geared towards making you more productive and this post aims to give you an overview of the culmination of features to date.
Visual C#

Visual Studio 2017 first released in March of this year. Since then, there have been five updates with each bringing more improvements and capabilities. Every improvement is geared towards making you more productive and this post aims to give you an overview of the culmination of features to date.
Visual Studio

As we recently detailed on the Office Developer blog, we are making it simpler and easier for developers to connect to Office 365 through the Microsoft Graph. For Visual Studio developers currently using the Office 365 API Tools to create applications,

Last month we hosted Microsoft Connect(); in New York City. Connect(); is a three-day, in-person and online developer event. If you missed it, no worries! You can watch our keynotes, sessions, and on-demand videos on Channel 9.
For the past five months our keynote demo team worked on a new set of reference apps.

At the recent Connect(); 2017 in November, we announced public preview of Azure IoT Edge. Now you can bring the intelligence of the Cloud right to the IoT Edge as well as easily create and manage business logic for your devices.

One of the most exciting announcements during this year’s Connect(); event was the ability to embed .NET libraries into existing iOS (Objective-C/Swift) and Android (Java) applications with .NET Embedding. This is great because you can start to share code between your iOS and Android applications,

[Hello, we are looking to improve your experience on the Visual Studio Blog. It will be very helpful if you could share your feedback via this short survey that should take less than 2 minutes to fill out. Thanks!]
A few days ago we released Visual Studio 2017 version 15.5 and an update to Visual Studio for Mac,

[Hello, we are looking to improve your experience on the Visual Studio Blog. It will be very helpful if you could share your feedback via this short survey that should take less than 2 minutes to fill out. Thanks!]
Earlier this week,

[Hello, we are looking to improve your experience on the Visual Studio Blog. It will be very helpful if you could share your feedback via this short survey that should take less than 2 minutes to fill out. Thanks!]
Earlier this year we previewed the Snapshot Debugger,

[Hello, we are looking to improve your experience on the Visual Studio Blog. It will be very helpful if you could share your feedback via this short survey that should take less than 2 minutes to fill out. Thanks!]
Visual Studio and Xamarin enable .NET developers everywhere to use their favorite language and full-featured IDE to create native Android,

[Hello, we are looking to improve your experience on the Visual Studio Blog. It will be very helpful if you could share your feedback via this short survey that should take less than 2 minutes to fill out. Thanks!]
Today we released significant updates to both Visual Studio 2017 and Visual Studio for Mac.

Today, we’re pleased to release a new extension to our Visual Studio Code Java extension family – Test Runner/Debugger for Java. It’s a lightweight test runner/debugger with below features we hope you will like.
Recognize JUnit4 tests
Run test
Debug test
View test status and run summary
Same as the Debugger for Java,
Visual Studio App Center

Whatever the language or platform, developers want the same thing – to create app experiences that are high-quality, intelligent and personalized. Experiences that delight users and keep them engaged. To do that, we need tools that increase our productivity, so that we spend more time on what matters most to our app’s success.
Visual Studio Code

At the recent Connect(); 2017 in November, we announced public preview of Azure IoT Edge. Now you can bring the intelligence of the Cloud right to the IoT Edge as well as easily create and manage business logic for your devices.

Visual Studio is joining Visual Studio Code in offering support for the Language Server Protocol. As an extension author, you can now write Visual Studio extensions that leverage existing language servers to provide a rich editing experience for languages that initially had no native language support in Visual Studio.
Visual Studio for Mac

[Hello, we are looking to improve your experience on the Visual Studio Blog. It will be very helpful if you could share your feedback via this short survey that should take less than 2 minutes to fill out. Thanks!]
Cloud services represent a huge leap in functionality,

[Hello, we are looking to improve your experience on the Visual Studio Blog. It will be very helpful if you could share your feedback via this short survey that should take less than 2 minutes to fill out. Thanks!]
Today we released significant updates to both Visual Studio 2017 and Visual Studio for Mac.

Whatever the language or platform, developers want the same thing – to create app experiences that are high-quality, intelligent and personalized. Experiences that delight users and keep them engaged. To do that, we need tools that increase our productivity, so that we spend more time on what matters most to our app’s success.
Visual Studio Subscriptions

Finding better ways to upskill is a consistent topic that comes up when we talk to you about what’s top of mind. It’s no wonder when the one constant in our industry is change with new techniques, frameworks, tools, and languages emerging all the time.
Visual Studio Tools for AI

Whatever the language or platform, developers want the same thing – to create app experiences that are high-quality, intelligent and personalized. Experiences that delight users and keep them engaged. To do that, we need tools that increase our productivity, so that we spend more time on what matters most to our app’s success.
Windows 10

SUMMARY: Microsoft Scripting Guy, Ed Wilson talks about recording a new Microsoft Virtual Academy series of videos with PFE Ashley McGlone.
Hello everyone, Microsoft Scripting Guy Ed Wilson here. Well, I can tell you this week has been absolutely incredible. The Scripting Wife and I are out in Seattle (Bellevue,

Summary: Microsoft Scripting Guy Ed Wilson talks about using Windows PowerShell 5.0 on Windows 10 to create temporary files in the temporary folder.
Sometimes it is the little things that make life easier. You know, like a cereal bar … it’s not like a major technological breakthrough but it is much more convenient than getting a bowl of milk and opening a box of cereal and dumping it in the bowl.
Windows PowerShell

Summary: Using Windows PowerShell to remove Stale / Dead Domain Controller records.
Q: Hey, Doctor Scripto!
How can I quickly clean up all my dead Domain Controller’s DNS records?
A:
That’s a great question. The good Doctor also knows the very person to answer it best.

Summary: Cloud and Datacenter Management MVP, Thomas Rayner, shows how to get a list of all the security patches installed in the last three months.
How can I list all the security patches that I’ve installed in the last 90 days?

Summary: Thomas Rayner, Microsoft Cloud and Datacenter Management MVP, shows how to write a custom PSScriptAnalyzer rule.
Hello! I’m Thomas Rayner, a Cloud and Datacenter Management Microsoft MVP, filling in for The Scripting Guy this week. You can find me on Twitter (@MrThomasRayner),

Summary: Cloud and Datacenter Management MVP, Thomas Rayner, shows how get a list of all your suspended Azure Automation jobs.
I think I have an Azure Automation job that is getting suspended for running too long. How can I verify this?

Summary: Thomas Rayner, Microsoft Cloud and Datacenter Management MVP, shows how to use Pester to get nUnit formatted results out of PSScriptAnalyzer.
Hello! I’m Thomas Rayner, a Cloud and Datacenter Management Microsoft MVP, filling in for The Scripting Guy this week.

Summary: Cloud and Datacenter Management MVP, Thomas Rayner, shows how write a function to convert from UTC to your local time zone.
I have a time that I’d like to convert from UTC to my local time zone. How can I do this?

Summary: Thomas Rayner, Microsoft Cloud and Datacenter Management MVP, shows how to suppress, include, and exclude PSScriptAnalyzer rules.
Hello! I’m Thomas Rayner, a Cloud and Datacenter Management Microsoft MVP, filling in for The Scripting Guy this week. You can find me on Twitter (@MrThomasRayner),

Summary: Cloud and Datacenter Management MVP, Thomas Rayner, shows how to find all the Azure Automation jobs that will run in the next two days.
Is there a way to find all the Azure Automation jobs that will run in the next two days?

Summary: Thomas Rayner, Microsoft Cloud and Datacenter Management MVP, shows the basics about how to use PSScriptAnalyzer.
Hello! I’m Thomas Rayner, a Cloud and Datacenter Management Microsoft MVP, filling in for The Scripting Guy this week. You can find me on Twitter (@MrThomasRayner),

2016 was the best year in SQL PowerShell history! I guess I should have mentioned that here sooner.
Wired® Magazine recently said that Microsoft SQL Server was the surprise hit of the year. The primary cited reason is the SQL Server port to Linux,