


PowerTip: Identify Completed PowerShell Jobs with Data yet to be Received

Parallel Processing with jobs in PowerShell

PowerTip: Use Windows PowerShell to display all Environment variables

Testing RPC ports with PowerShell (and yes, it’s as much fun as it sounds!)
200 Level

PowerTip: Using PowerShell to Convert raw Text to a Comma Separated columm
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.

Automating Quser through PowerShell
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?
Active Directory

PowerTip: Using Set-ADUser with multi-valued attributes
Summary: Using the -Replace parameter with Set-ADUser to take an array to populate multi-valued attributes
Question: Hey Doctor Scripto, how can I use Set-ADUser to populate multivalued attributes in Active Directory?
Answer: You can use an array with the -Replace parameter to do it.

Copy multi-valued Active Directory attributes from one user to another with PowerShell
Summary: Using -Replace parameter with Set-ADUser to copy Active Directory multi-valued attributes
Q: Hey, Doctor Scripto!
We are in the middle of an Active Directory migration and need to copy the multi-valued attribute “ProxyAddresses” from old user accounts to new ones.
arrays

Creating a Platform Independent Function in PowerShell
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.

How to skip the beginning and ending of a file by using PowerShell
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

Sky’s the limit with Azure, ASP.NET Core, and 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,
Azure

Use PowerShell to Identify Unassociated Azure Resources
Summary: Save costs by Identifying Unassociated Resources left behind after deletions in Azure
Q: Hey, Scripting Guy!
How can I quickly identify un-associated resources in my Azure subscription?
A: Hi SH!
At least you know that’s a question to ask! I myself when I first began exploring this new world didn’t realize that when deleting a virtual system in Azure,

PowerTip: Identify Synchronized AzureAD accounts without a License assigned
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!

PowerTip: Identify the last time Users changed passwords in AzureAD
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.

Easily Create IoT Edge custom modules with 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.

Sky’s the limit with Azure, ASP.NET Core, and 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,
community

Nearly everything has changed for SQL Server PowerShell
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,

Join the PowerShell tenth birthday celebration
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).

Scripting Guys at Ignite 2016 in Atlanta
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.

The Scripting Guy: coming to a town near you
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.

The Scripting Guys and Scripting Wife summer tour
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.
Connect();

Post-Connect(); 2017 Visual Studio Partner Webinar Series
[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

How to skip the beginning and ending of a file by using PowerShell
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

Just go with the flow…. WorkFlow that is with Windows PowerShell
Doctor Scripto returns again with our good friend Joel Vickery, PFE who is going to touch on the use of Workflows In PowerShell.
Take it away Joel!
Following up on my original post Parallel Processing with jobs in PowerShell, I wanted to go into another method of running parallel processes in PowerShell,

PowerTip: Identify Completed PowerShell Jobs with Data yet to be Received
Summary: Doctor Scripto quickly shows how to identify Completed Jobs in PowerShell which have yet to have the data Received
Hey Doctor Scripto, How can I identify jobs which already completed but I haven’t done a Receive-Job on to get the data?

Parallel Processing with jobs in PowerShell
Joel Vickery discusses an introductory use of PowerShell jobs and working with data

PowerTip: Use Windows PowerShell to display all Environment variables
Summary: Doctor Scripto demonstrates how to use env: to show all currently set environment variables
Question: Hey Doctor Scripto, I remember in DOS if I wanted to see the values of all the Environment variables; like TEMP I could just type the SET Command.

Testing RPC ports with PowerShell (and yes, it’s as much fun as it sounds!)
Summary: Using PowerShell to identify RPC ports in use by capturing content from Dos Commands like PortQRY.exe
We’d like to introduce you today to one of our newest bloggers! It’s a froopingly awesome friend of ours, Joel Vickery, PFE. (did I mention Dr.
Extensions

Announcing Language Server Protocol Preview Release
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 IDE extensions now published and managed at Marketplace
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

How to skip the beginning and ending of a file by using PowerShell
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

Just go with the flow…. WorkFlow that is with Windows PowerShell
Doctor Scripto returns again with our good friend Joel Vickery, PFE who is going to touch on the use of Workflows In PowerShell.
Take it away Joel!
Following up on my original post Parallel Processing with jobs in PowerShell, I wanted to go into another method of running parallel processes in PowerShell,

Parallel Processing with jobs in PowerShell
Joel Vickery discusses an introductory use of PowerShell jobs and working with data

The top three tips for effective sorting in PowerShell
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.

Use a script block to create custom groupings in PowerShell
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

Use a script block to create custom groupings in PowerShell
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!

Clean up Domain Controller DNS Records with 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.

PowerTip: Use PowerShell to pick a random name from a list
Using the Get-Random Cmdlet to select a random list of names instead of numbers

Using PowerShell to create a folder of Demo data
Creating sample files with random sizes and dates for use in a Lab

Parse HTML and pass to Cognitive Services Text-to-Speech
Having some fun with Abbott and Costello’s “Who’s on first?” comedy routine, and multiple voices with Bing Speech.

Windows PowerShell and the Text-to-Speech REST API (Part 5)
Send and receive content to the Text-to-Speech API with PowerShell.
Java

Announcing JUnit Support for Visual Studio Code
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,

Run and Debug Java 9 in Visual Studio Code
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

Configuring Startup Settings in Microsoft Teams with Windows PowerShell
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

Calculate percentage character frequencies from a text file by using PowerShell
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

PowerTip: Identify Synchronized AzureAD accounts without a License assigned
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!

Reporting on Microsoft 365 Licensing using PowerShell – Part 3
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.

Reporting on Microsoft 365 Licensing using PowerShell – Part 2
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?

PowerTip: Identify the last time a User was Synchronized to AzureAD
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.

Reporting on Microsoft 365 Licensing using PowerShell – Part 1
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

Control management pack updates between MS OMS and Operations Manager
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

Configuring Startup Settings in Microsoft Teams with Windows PowerShell
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

Share UI Code in any iOS and Android App with .NET Embedding
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,

Overview of Visual Studio 2017 and Updates for .NET Developers
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

Using PowerShell to View and Remove Wireless Profiles in Windows 10 – Part 3
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

Using PowerShell to View and Remove Wireless Profiles in Windows 10 – Part 2
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,

Large C# and VB solutions load significantly faster in 15.5 update
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,

Test Experience Improvements
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

Just go with the flow…. WorkFlow that is with Windows PowerShell
Doctor Scripto returns again with our good friend Joel Vickery, PFE who is going to touch on the use of Workflows In PowerShell.
Take it away Joel!
Following up on my original post Parallel Processing with jobs in PowerShell, I wanted to go into another method of running parallel processes in PowerShell,

PowerTip: Identify Completed PowerShell Jobs with Data yet to be Received
Summary: Doctor Scripto quickly shows how to identify Completed Jobs in PowerShell which have yet to have the data Received
Hey Doctor Scripto, How can I identify jobs which already completed but I haven’t done a Receive-Job on to get the data?

Parallel Processing with jobs in PowerShell
Joel Vickery discusses an introductory use of PowerShell jobs and working with data

PowerTip: Use Windows PowerShell to display all Environment variables
Summary: Doctor Scripto demonstrates how to use env: to show all currently set environment variables
Question: Hey Doctor Scripto, I remember in DOS if I wanted to see the values of all the Environment variables; like TEMP I could just type the SET Command.

Testing RPC ports with PowerShell (and yes, it’s as much fun as it sounds!)
Summary: Using PowerShell to identify RPC ports in use by capturing content from Dos Commands like PortQRY.exe
We’d like to introduce you today to one of our newest bloggers! It’s a froopingly awesome friend of ours, Joel Vickery, PFE. (did I mention Dr.
PowerShell_For_Programmers

PowerShell For Programmers: Here Strings, There Strings, Everywhere Some String Strings
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.

Doing more with functions: Verbose logging, Risk mitigation, and Parameter Sets
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,

Doing More With Functions: Comment-Based Help
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,

Doing More With Functions: Taking Parameters on the Pipe
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.

PowerShell for Programmers: The Magic Switch!
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.
PowerShell 5

PowerShell 5 MVA coming soon to a computer near you
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,

Use PowerShell 5.0 to create temporary files in the temp folder
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

PowerTip: Use Windows PowerShell to display all Environment variables
Summary: Doctor Scripto demonstrates how to use env: to show all currently set environment variables
Question: Hey Doctor Scripto, I remember in DOS if I wanted to see the values of all the Environment variables; like TEMP I could just type the SET Command.

PowerTip: Identify if CredentialGuard is enabled with Windows PowerShell
Summary: Easily identify if Credential Guard is enabled using the Get-ComputerInfo Cmdlet in Windows 10
Question: Hey Doctor Scripto, how can I tell if CredentialGuard has been enabled on my Windows 10 computer?
Answer: Just use the Get-ComputerInfo Cmdlet and target the DeviceGaurdSecurityServicesConfigured property.

PowerTip: Using Set-ADUser with multi-valued attributes
Summary: Using the -Replace parameter with Set-ADUser to take an array to populate multi-valued attributes
Question: Hey Doctor Scripto, how can I use Set-ADUser to populate multivalued attributes in Active Directory?
Answer: You can use an array with the -Replace parameter to do it.

PowerTip: Use New-Alias to make Cmdlets easier to remember
Using New-Alias to create easier to remember shortcuts in PowerShell

PowerTip: Show all Installed Capabilities on Windows 10
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.
REGEX

Using PowerShell to View and Remove Wireless Profiles in Windows 10 – Part 1
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,

Regular Expressions (REGEX): Basic symbols
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,

Regular Expressions (REGEX): Introduction
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.

PowerTip: How to escape characters in a string using regular expressions
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.

PowerShell regex crash course – Part 1 of 5
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,
Regular Expressions

Using PowerShell to View and Remove Wireless Profiles in Windows 10 – Part 4
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.

Using PowerShell to View and Remove Wireless Profiles in Windows 10 – Part 3
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.

PowerTip: Converting a Here-String to an Array in One Line with PowerShell
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?

Using PowerShell to View and Remove Wireless Profiles in Windows 10 – Part 1
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,

PowerTip: Using PowerShell to Convert raw Text to a Comma Separated columm
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.
Scripting

Parallel Processing with jobs in PowerShell
Joel Vickery discusses an introductory use of PowerShell jobs and working with data

Using PowerShell to View and Remove Wireless Profiles in Windows 10 – Part 2
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,

Compare the letter frequency of two text files by using PowerShell
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,

Next steps for the official PowerShell documentation
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,

A first look at Windows PowerShell ISE Preview
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!
Scripting Techniques

Parallel Processing with jobs in PowerShell
Joel Vickery discusses an introductory use of PowerShell jobs and working with data

Testing RPC ports with PowerShell (and yes, it’s as much fun as it sounds!)
Summary: Using PowerShell to identify RPC ports in use by capturing content from Dos Commands like PortQRY.exe
We’d like to introduce you today to one of our newest bloggers! It’s a froopingly awesome friend of ours, Joel Vickery, PFE. (did I mention Dr.

Copy multi-valued Active Directory attributes from one user to another with PowerShell
Summary: Using -Replace parameter with Set-ADUser to copy Active Directory multi-valued attributes
Q: Hey, Doctor Scripto!
We are in the middle of an Active Directory migration and need to copy the multi-valued attribute “ProxyAddresses” from old user accounts to new ones.

Using PowerShell to View and Remove Wireless Profiles in Windows 10 – Part 4
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.

Using PowerShell to View and Remove Wireless Profiles in Windows 10 – Part 3
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.
Security

Letter frequency analysis of text by using PowerShell
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

The top three tips for effective sorting in PowerShell
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

How to skip the beginning and ending of a file by using PowerShell
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

Using PowerShell to View and Remove Wireless Profiles in Windows 10 – Part 1
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,

Additional resources for text analysis by using PowerShell
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.

Calculate percentage character frequencies from a text file by using PowerShell
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.

How to skip the beginning and ending of a file by using PowerShell
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.

Letter frequency analysis of text by using PowerShell
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

Maximizing the Power of Here-String in PowerShell for Configuration Data
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.

Configuring Startup Settings in Microsoft Teams with Windows PowerShell
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.

Compare the letter frequency of two text files by using PowerShell
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,

Read a text file and do frequency analysis by using PowerShell
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

Testing RPC ports with PowerShell (and yes, it’s as much fun as it sounds!)
Summary: Using PowerShell to identify RPC ports in use by capturing content from Dos Commands like PortQRY.exe
We’d like to introduce you today to one of our newest bloggers! It’s a froopingly awesome friend of ours, Joel Vickery, PFE. (did I mention Dr.

Using PowerShell to View and Remove Wireless Profiles in Windows 10 – Part 4
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.

Creating a Platform Independent Function in PowerShell
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.

Maximizing the Power of Here-String in PowerShell for Configuration Data
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.

PowerTip: Use a regular expression pattern to remove nonalphabetic characters
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.
Visual Basic

Overview of Visual Studio 2017 and Updates for .NET Developers
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#

Overview of Visual Studio 2017 and Updates for .NET Developers
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

Visual Studio Updates for Office 365 APIs Tools
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,

Connect(); 2017: SmartHotel360 Demo Apps and Architecture
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.

Easily Create IoT Edge custom modules with 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.

Share UI Code in any iOS and Android App with .NET Embedding
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 Version 15.6 Preview
[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,
Visual Studio App Center

The Latest in Developer Productivity and App Experiences
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

Easily Create IoT Edge custom modules with 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.

Announcing Language Server Protocol Preview Release
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

Sky’s the limit with Azure, ASP.NET Core, and 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,

Visual Studio 2017 Version 15.5, Visual Studio for Mac Released
[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.

The Latest in Developer Productivity and App Experiences
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

Keep Your Skills Up to Date: New Training and Azure Resources
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

The Latest in Developer Productivity and App Experiences
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

PowerShell 5 MVA coming soon to a computer near you
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,

Use PowerShell 5.0 to create temporary files in the temp folder
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

PowerTip: Identify if CredentialGuard is enabled with Windows PowerShell
Summary: Easily identify if Credential Guard is enabled using the Get-ComputerInfo Cmdlet in Windows 10
Question: Hey Doctor Scripto, how can I tell if CredentialGuard has been enabled on my Windows 10 computer?
Answer: Just use the Get-ComputerInfo Cmdlet and target the DeviceGaurdSecurityServicesConfigured property.

Clean up Domain Controller DNS Records with 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.

PowerTip: Get a list of security patches installed in the last 90 days
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?

PSScriptAnalyzer deep dive – Part 4 of 4
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),

PowerTip: Get a list of suspended Azure Automation jobs
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?

