Scripting Blog

A place to learn about PowerShell and share stories of automation

View passwords of wireless profiles without using netsh.exe

Ever since the GUI lost the ability to view the password of a wireless profile, I wanted to provide this functionality in PowerShell. A search of the Internet for how to view the password of a Wi-Fi profile returns numerous examples of how to use netsh.exe to accomplish this. I wrote a previous blog post about how to view Wi-Fi profiles, and ...

Make Visual Studio Code more like the integrated scripting environment

Summary: Learn some handy tips to make Visual Studio Code work more like the ISE. I was very intrigued with the release of Visual Studio Code last year. An editor that is light-weight and integrated with Git is something worth considering. Well, any new tool that could be added to the tool box is worth considering. In the past, I used the ...

PowerTip: Use PowerShell to Generate Object with Two Property Types

Summary: Use Windows PowerShell to generate an object with two property types. How can I use Windows PowerShell to generate an object with two property types from simply splitting a string? Use the ConvertFrom-String cmdlet to pipe a string, and then specify the desired property types, for example:PS C:\>“123 456&rdquo...

Get Wireless Network SSID and Password with PowerShell

Summary: Jason Walker explores using Windows PowerShell to get the SSID and password for a wireless network. Ed Wilson, Microsoft Scripting Guy is here. Today I'm turning over the keyboard to Jason Walker. Jason is an Office 365 deployment consultant, who assists customers in the public sector arena. Here's Jason... Let me start off ...

Write TargetResource Functions for PowerShell DSC

Summary: Guest blogger and Microsoft PFE, Jason Walker, talks about writing Get, Set, and Test TargetResource functions for DSC. Microsoft Scripting Guy, Ed Wilson, is here. Microsoft PFE and Honorary Scripting Guy, Jason Walker, is back with us today for Part 2 of his two-part series. Yesterday in Anatomy of a PowerShell DSC Resource, I gave ...

Feedback usabilla icon