Weekend Scripter: Use PowerShell to Set Word Document Time Stamps
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to set the time stamps on Microsoft Word document files. Microsoft Scripting Guy, Ed Wilson, is here. It is Saturday...
View ArticlePowerTip: Finding the Type of an Object
Question: What .NET Framework class is leveraged by the Get-EventLog cmdlet? Answer: System.Diagnostics.EventLogEntry Question: How would I find the above information? Answer: Get-EventLog application...
View ArticleWeekend Scripter: Introducing the Scripting Guys PowerShell LoveOmatic
Summary: Microsoft Scripting Guy Ed Wilson shows how to use Windows PowerShell to send random email messages at random times. Microsoft Scripting Guy, Ed Wilson, is here. It is Sunday in Charlotte,...
View ArticlePowerTip: Switch and Other Things
Summary: Learn to post powerful Windows PowerShell command and other things. Question: What is the most powerful command in PowerShell? Answer: Switch Question: What is `t used for? Answer: Tab
View ArticleCommunity: All about PowerShell Saturday
Summary: Microsoft Scripting Guy, Ed Wilson, talks about the Windows PowerShell community involvement with PowerShell Saturday. Microsoft Scripting Guy, Ed Wilson, is here. One of the great things...
View ArticlePowerTip: Using Tabs in PowerShell
Summary: Learn about creating tabs in Windows PowerShell by using the `t. Question: How would I use the `t in a script to produce a tab? Answer: "`thi" Question: That syntax above is ugly. What happens...
View ArticleUse PowerShell to Create an HTML Uptime Report
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to create and display an HTML server uptime report. Hey, Scripting Guy! I have a rather unusual request. I need to...
View ArticlePowerTip: Run a PowerShell Script with Space in the Path
Summary: Learn how to run a script with a space in the path. Question: How do I run a script with a space in the path? Answer 1: PS > c:\my`folder\myscript.ps1 Answer 2: PS> &(“c:\my...
View ArticleUse PowerShell to Create a Report Displaying Free Disk Space
Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to create a report that displays free disk space on servers. Hey, Scripting Guy! I know it may be hard to believe in...
View ArticlePowerTip: Creating a Custom Number Display
Summary: Learn how to create a custom number display. Question: How do I display a “calculated value” (megabytes instead of bytes) from a WMI query when piping data into a Format-Table cmdlet? Answer:...
View ArticleUse PowerShell to Create a Color Server Uptime Report
Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to create a color HTML server uptime report. Hey, Scripting Guy! I hope you do not mind me writing to you—I have a...
View ArticlePowerTip: Using Parameters with the Get-WmiObject PowerShell Cmdlet
Summary: Use parameters with the Get-WmiObject cmdlet Question: Which parameter of the Get-WMIObject cmdlet takes the place of a WQL where clause? Answer: The filter parameter takes the place of the...
View ArticleUse Background Jobs to Run a PowerShell Server Uptime Report
Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use background jobs to run a Windows PowerShell script that produces a server uptime report. Hey, Scripting Guy! I like your script to get...
View ArticlePowerTip: Specifying PowerShell Error Actions
Summary: Specify Windows PowerShell error actions. Question: Which command when typed at the beginning of a script will cause Windows PowerShell to ignore errors and continue executing the code?...
View ArticleWeekend Scripter: Use the Windows Task Scheduler to Run a Windows PowerShell...
Summary: Create a scheduled job to run a Windows PowerShell script that creates an HTML Server uptime report Microsoft Scripting Guy, Ed Wilson, is here. The amount of emails that are generated when...
View ArticlePowerTip: Displaying Only the Current Year in PowerShell
Summary: Learn how to display only the current year. How can I use Windows PowerShell to display only the current year? get-date -Format yyyy get-date –format yy get-date –f yyyy (Get-Date).year...
View ArticleUse PowerShell to create a Green Red uptime report
Summary: Microsoft Scripting Guy Ed Wilson shows a script that produces red for down and green for up Weekend Scripter: Color coded uptime report Microsoft Scripting Guy, Ed Wilson, is here. Well, I...
View ArticlePowerTip: Define PowerShell in Thirty Words or Less
Summary: Microsoft Scripting Guy, Ed Wilson, offers a quick thirty-word description of Windows PowerShell, and he proves it. What is Windows PowerShell in thirty words or less? Windows PowerShell...
View ArticleUse PowerShell to Search AD DS and Produce an Uptime Report
Summary: Learn how to use Windows PowerShell to Search Active Directory Domain Services for servers and produce an uptime report. Hey, Scripting Guy! I enjoyed your series of blogs last week, and I...
View ArticlePowerTip: Querying Active Directory via PowerShell
Summary: Learn how to query Active Directory via Windows PowerShell. Can you name five ways to query Active Directory from within Windows PowerShell? Use ADO and perform an LDAP dialect query. Use ADO...
View Article