Browse by Tags

Tagged Content List
  • Blog Post: What It Means to Be a PowerShell MVP

    Summary : Four Windows PowerShell MVPs share what the title means to them. Microsoft Scripting Guy, Ed Wilson, is here. The MVP Summit is over. Many MVPs began their long trek home last night. Others decided to remain overnight or even over the weekend before heading home. From the feedback I have...
  • Blog Post: PowerTip: View All Values of an Enum

    Summary : Boe Prox shows how to view all values of an enum. How can I view all of the available values of an enum? Use the [ Enum]::GetNames() method, for example: PS C:\ > [Enum]::GetNames([System.ConsoleColor]) Black DarkBlue DarkGreen DarkCyan DarkRed DarkMagenta DarkYellow...
  • Blog Post: Getting to Know ForEach and ForEach-Object

    Summary : Learn the differences between ForEach and ForEach-Object in Windows PowerShell. Honorary Scripting Guy and Windows PowerShell MVP, Boe Prox , here today filling in for my good friend, The Scripting Guy. Today I am going to talk about some differences between using ForEach and using ForEach...
  • Blog Post: PowerTip: Use PowerShell to Locate the Help File You Need

    Summary : Learn how to use Windows PowerShell to find the Help file you need. How can I figure out the exact name of the Help file that I am looking for about sessions? Use a wildcard character with Get-Help to narrow down the scope of the Help files: Get-Help about_*session* Name Category...
  • Blog Post: Weekend Scripter: Build a Clock Widget by Using PowerShell and WPF

    Summary : Boe Prox shows how to use Windows PowerShell to build a clock widget. Honorary Scripting Guy, Boe Prox, here today filling in for my good friend, The Scripting Guy. Here's a bit about me: Boe Prox is a Microsoft MVP in Windows PowerShell and a senior Windows system administrator....
  • Blog Post: PowerTip: Use PowerShell to Display Known Colors

    Summary : Boe Prox shows how to find all known colors on your computer. How can I use Windows PowerShell to find known colors on my computer and their hex representations? Use the Add-Type cmdlet as follows: Add-Type –assemblyName PresentationFramework [windows.media.colors] | Get-Member...
  • Blog Post: Build a Tool that Uses Constrained PowerShell Endpoint

    Summary : Boe Prox shows how to create a tool that can leverage a remote constrained endpoint to perform a task. Hey, Scripting Guy! How can I create a tool that my Help Desk admins can use to audit and restart services, while limiting their access to the server? —TJ Hello SH, Honorary...
  • Blog Post: PowerTip: Use PowerShell to Display Pop-Up Window

    Summary : Learn how to display a pop-up window by using Windows PowerShell. How can I use Windows PowerShell to display a pop-up window to a user when a script or function has completed? There are several ways to display a pop-up window, but the following command doesn’t require loading assemblies...
  • Blog Post: Use Delegated Administration and Proxy Functions

    Summary : Boe Prox shows how to create a secure PSSession endpoint by using delegated administration and a proxy function. Hey, Scripting Guy! There are some great things that I can do with a constrained Windows PowerShell endpoint. But I want to allow a user (who may not have the necessary rights...
  • Blog Post: PowerTip: Restore Default PSSession Endpoints

    Summary : Learn how to restore default PSSession endpoints. How do I restore my default PSSession endpoints if I accidently unregistered them? Use Enable-PSRemoting to automatically rebuild the remote endpoints on your system: Get-PSSessionConfiguration Enable-PSRemoting –Force #Now...
  • Blog Post: Build Constrained PowerShell Endpoint Using Configuration File

    Summary : Boe Prox teaches you how to build a constrained endpoint by using a configuration file. Hey, Scripting Guy!, is there a better way to lock down my remote endpoint by using something other than a startup script? —SH Hello SH, Honorary Scripting Guy, Boe Prox, here today filling...
  • Blog Post: PowerTip: Test a PSSession Configuration File

    Summary : Learn how to test a PSSession configuration file. How do I ensure that my PSSession configuration is valid? Use the Test-PSSessionConfigurationFile cmdlet to see if the file is valid (True) or not (False). Test-PSSessionConfigurationFile –Path ConstrainedSession.pssc True
  • Blog Post: Build Constrained PowerShell Endpoint Using Startup Script

    Summary : Learn how to build a constrained endpoint by using a startup script. Hey, Scripting Guy!, how do I lock-down my remote endpoint to only certain commands? —GH Honorary Scripting Guy, Boe Prox, here today filling in for my good friend, The Scripting Guy. This is the second part...
  • Blog Post: PowerTip: List Remote PowerShell Endpoint Configurations

    Summary : Learn how to list remote Windows PowerShell endpoint configurations. How can I list remote Windows PowerShell endpoint configurations? Connect-WSMan -ComputerName dc1 sl WSMan: Get-ChildItem dc1\Plugin\microsoft* And here is the output: WSManConfig: Microsoft.WSMan.Management...
  • Blog Post: Introduction to PowerShell Endpoints

    Summary : Learn about Windows PowerShell endpoints and how they relate to remoting. Hey, Scripting Guy! I keep hearing about Windows PowerShell endpoints and constrained endpoints related to remote management. Can you tell me more about these? —KP Hello, KP. Honorary Scripting Guy, Boe...
  • Blog Post: PowerTip: Find Default Session Config Connection in PowerShell

    Summary : Find the default session configuration connection in Windows PowerShell. How can I determine what default session configuration I can connect to? Use the $PSSessionConfigurationName automatic variable to view the default session configuration: PS C:\Users\Administrator> $PSSessionConfigurationName...
  • Blog Post: Weekend Scripter: Use PowerShell to Investigate File Signatures—Part 2

    Summary : Windows PowerShell MVP, Boe Prox, concludes this two-part series about investigating file signatures with Windows PowerShell and the .NET Framework. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger, Boe Prox , for the conclusion of the two-part series he started yesterday...
  • Blog Post: Weekend Scripter: Use PowerShell to Investigate File Signatures—Part 1

    Summary : Windows PowerShell MVP, Boe Prox, talks about investigating file signatures by using Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. This weekend we have a two-part series from guest blogger, Boe Prox … When you work with File Server Resource Manager (FSRM), one...
  • Blog Post: Use PowerShell to Audit and Install Windows Patches

    Summary : Learn how to use a free Windows PowerShell module to audit and install patches on Windows systems. Microsoft Scripting Guy Ed Wilson here. Today, I am proud to present a guest blog post written by Boe Prox. Boe has written a really cool module to audit and install software patches on...
  • Blog Post: Tips for Preparing for the 2012 PowerShell Scripting Games

    Summary : Guest commentator, Boe Prox, talks about practical tips for preparing for the 2012 Windows PowerShell Scripting Games. Microsoft Scripting Guy, Ed Wilson, is here. Guest blogger, Boe Prox , is with us today. He is going to talk to us about preparing for the 2012 Scripting Games. First, a...
  • Blog Post: Use PowerShell to Perform Basic Administrative Tasks on WSUS

    Summary : Learn how to use Windows PowerShell to automate basic administrative tasks on a WSUS server. Microsoft Scripting Guy, Ed Wilson, is here. Today we have the second blog post by Boe Prox about WSUS and Windows PowerShell. See yesterday’s blog for the introduction to WSUS and to learn...
  • Blog Post: Avoid Overload by Scaling and Queuing PowerShell Background Jobs

    Summary : Use scaling and queuing Windows PowerShell background jobs to avoid system overload. Microsoft Scripting Guy Ed Wilson here. Today I am proud to announce the return of Boe Prox to the blog. Boe Prox is currently a senior systems administrator with BAE Systems. He has been in...
  • Blog Post: Installing WSUS on Windows Server 2012

    Summary : Honorary Scripting Guy, Boe Prox, talks about installing WSUS on Windows Server 2012 via Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back today to Honorary Scripting Guy, Boe Prox . Without further ado, here is Boe… In a previous Hey, Scripting Guy...
  • Blog Post: Introduction to WSUS and PowerShell

    Summary : Guest blogger, Boe Prox, shows how to use Windows PowerShell to install WSUS and configure clients for updates. Microsoft Scripting Guy, Ed Wilson, is here. You are in for a treat this week. Boe Prox has written a week’s worth of goodies, and we will share them here. Boe Prox...
  • Blog Post: Lessons Learned While Writing the PowerShell PoshPAIG Module

    Summary : Guest Blogger Boe Prox shares lessons learned while writing the Windows PowerShell PoshPAIG module. Microsoft Scripting Guy Ed Wilson here. Today, we have part two of Boe Prox’s article about his module to audit and update Windows systems. See yesterday's blog post for information...