Hey, Scripting Guy! How Can I Remove All the Network Printers on a Computer?
Hey, Scripting Guy! Is it possible to delete or remove all network printers from a workstation with a VBScript script, similar to the way you removed all the network drives on a computer? -- WDC Hey,...
View ArticleHey, Scripting Guy! How Can I Document Printers?
Hey, Scripting Guy! I do not know about you, but does it seem that printers are a major pain in the dark side? I mean, they seem to multiply faster than bacteria. They are all just different enough to...
View ArticleHey, Scripting Guy! How Can I Document Printer Usage on Client Workstations?
Hey, Scripting Guy! I am tasked with the problem of documenting printer use on our client workstations. I must be able to determine whether someone prints directly to a printer, or if they are printing...
View ArticleHey, Scripting Guy! How Can I Use WMI to Add a Printer Connection by Using...
Hey, Scripting Guy! I am trying to determine how to use WMI to add a printer connection by using Windows PowerShell. I have found this script , but it uses VBScript and not WMI. This means that it is...
View ArticleHey, Scripting Guy! How Can I Use Windows PowerShell to Remove Old Printer...
Hey, Scripting Guy! Well it finally happened. Our budget request for new printers was approved. We have gotten them unboxed, distributed, and hooked up to the LAN. We have even downloaded the latest...
View ArticleHey, Scripting Guy! How Can I Perform More Than One Action with the...
Hey, Scripting Guy! The Win32_Printer WMI class has several methods that are listed in it. But I am not sure how to best use these methods from inside a Windows PowerShell script. I do not want to...
View ArticleUse PowerShell to Create New Printer Ports
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell 3.0 to create new printer ports in Windows 8.Microsoft Scripting Guy, Ed Wilson, is here. One of the exciting things...
View ArticleInstall Printer Drivers with PowerShell in Windows 8
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell in Windows 8 to install printer drivers.Microsoft Scripting Guy, Ed Wilson, is here. This morning, it is rainy and...
View ArticleUse PowerShell in Windows 8 to Remove Printers
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell 3.0 in Windows 8 to remove printers.Microsoft Scripting Guy, Ed Wilson, is here. The Scripting Wife and I have been...
View ArticleWeekend Scripter: Use PowerShell to Fix Broken Printer
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to fix a printer that keeps losing its duplexer.Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things...
View ArticlePSScriptAnalyzer deep dive – Part 2 of 4
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...
View ArticlePowerTip: Convert from UTC to my local time zone
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...
View ArticlePSScriptAnalyzer deep dive – Part 3 of 4
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...
View ArticlePowerTip: 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...
View ArticlePSScriptAnalyzer 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,...
View ArticlePowerTip: 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...
View ArticleDebugging PowerShell script in Visual Studio Code – Part 1
Summary: Here’s a look at the many features of the PowerShell debugger for Visual Studio Code. In previous blog posts, we covered how to get started with PowerShell development in Visual Studio Code...
View ArticleAnnouncing the 2016 Honorary Scripting Guys
Summary: The Honorary Scripting Guys for 2016 are announced. Microsoft Scripting Guy, Ed Wilson, is here. Well, it has been an awesome year for Windows PowerShell and for the community. The Scripting...
View ArticleCloud operating system deployment: WinPE in Azure
Jason Ryberg is a Consultant for Microsoft, where he writes PowerShell code and provides DevOps support. Have you ever wanted to boot to WinPE in Azure and select an Microsoft Deployment Toolkit (MDT)...
View ArticleDebugging PowerShell script in Visual Studio Code – Part 2
Welcome to Part 2 of the series about how to debug PowerShell in Visual Studio Code. In Part 1, we looked at the debugging features of Visual Studio Code with the PowerShell extension installed. Now...
View Article