Browse by Tags

Tagged Content List
  • Blog Post: Create Custom Date Formats with PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about creating custom date formats with Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things about working with Windows PowerShell is that it is highly configurable. In short, if there is something that I do not...
  • Blog Post: Adding and Subtracting Dates with PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about adding and subtracting dates with Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. One of the things I really like about Windows PowerShell is the way it simplifies adding and subtracting from dates. For example, if I want to...
  • Blog Post: PowerTip: Use PowerShell to Display Format for Short Date

    Summary : Use Windows PowerShell to display the culture-specific format for a short date. How can I use Windows PowerShell to display the format of a short date that is specific to the culture settings of my system? Use the Get-Culture cmdlet and select the DateTimeFormat and ShortDatePattern properties...
  • Blog Post: Use PowerShell to Work with Individual Dates

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to work with dates. Microsoft Scripting Guy, Ed Wilson, is here. I don’t know about you, but one thing about my life as the Scripting Guy is that it keeps me busy. "Keeping busy" is a slang expression...
  • Blog Post: PowerTip: Use PowerShell to Find Day of Week

    Summary : Learn how to use Windows PowerShell to find the day of the week. How can I use Windows PowerShell to find which day of the week a specific date will occur? Use the Get-Date cmdlet, and specify day, month, and year parameters, for example: Get-Date -Month 2 -Day 14 -Year 2015
  • Blog Post: Working with Dates in PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about the fundamentals of working with dates in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. For as long as I can remember, I have pretty much always hated working with dates and times. Back on my Osborne One, it was no fun. The...
  • Blog Post: PowerTip: Use PowerShell to Show Time

    Summary : Use Windows PowerShell to show the current time. How can I use Windows PowerShell to easily display only the current time? Use the Get-Date cmdlet and choose the Time display hint: Get-Date -DisplayHint Time
  • Blog Post: Weekend Scripter: Use PowerShell to Remotely Create Scheduled Task and Folder

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to remotely create a scheduled task and folder. Microsoft Scripting Guy, Ed Wilson, is here. On Friday in Use PowerShell to Create Scheduled Task in New Folder , I created a pretty long Windows PowerShell script that...
  • Blog Post: Weekend Scripter: Run a Scheduled Task to Check DSC

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about running a scheduled task to perform a consistency check for DSC. Microsoft Scripting Guy, Ed Wilson, is here. One of the things I love to do is to automate things. Not only scripts. Not only Windows PowerShell. I also like to automate scheduled...
  • Blog Post: Weekend Scripter: Where Is the DSC Documentation?

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about where to find documentation for Windows PowerShell Desired State Configuration (DSC). Microsoft Scripting Guy, Ed Wilson, is here. One of the things that sometimes surprises me, is when I am talking to IT pros and I hear something like, “I...
  • Blog Post: Configure System Restore by Using PowerShell DSC

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell Desired State Configuration to configure a system restore. Microsoft Scripting Guy, Ed Wilson, is here. It is nearly the weekend in Charlotte, North Carolina. I decided to arise early, grab my Surface Pro 3, and head...
  • Blog Post: Use Desired State Configuration to Create System Restore Point

    Summary : Microsoft Scripting Guy Ed Wilson talks about using Windows PowerShell Desired State Configuration to create a system restore point. Microsoft Scripting Guy, Ed Wilson, is here. It is cold outside again. I nearly froze this morning when I headed to the gym for an easy walk on the treadmill...
  • Blog Post: Use PowerShell Desired State Configuration to Set Time Zone

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell Desired State Configuration to set the time zone. Microsoft Scripting Guy, Ed Wilson, is here. The weather is cold today in Charlotte. Not exactly freezing, but cold enough to merit a nice cup of English Breakfast tea...
  • Blog Post: Use DSC Resource to Configure PowerShell Execution Policy

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using a DSC resource to configure the Windows PowerShell execution policy. Microsoft Scripting Guy, Ed Wilson, is here. I am sipping a cup of mint tea and munching on a piece of fruitcake. I may be one of the few people in the world who actually...
  • Blog Post: PowerShell DSC Resource Kit Wave 9

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about Windows PowerShell DSC Resource Kit Wave 9. Microsoft Scripting Guy, Ed Wilson, is here. If you have been keeping up on Facebook, Twitter, and all of your favorite blog RSS feeds, you already know that the Windows PowerShell team shipped another...
  • Blog Post: What Is PowerShell?

    Summary : Microsoft Scripting Guy, Ed Wilson, explains Windows PowerShell. Hey, Scripting Guy! I keep hearing this term...all over...everywhere. But I do not know what it is. Can you tell me, "What is Windows PowerShell?" —DB Hello DB, Microsoft Scripting Guy, Ed Wilson, is...
  • Blog Post: Weekend Scripter: Playing with PowerShell Prompt

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about playing with the Windows PowerShell prompt. Microsoft Scripting Guy, Ed Wilson, is here. It is time to round up all of those end-of-the-year kinds of things. This is, in fact, the last weekend Hey, Scripting Guy! Blog post of 2014. Not sure...
  • Blog Post: Weekend Scripter: Exploring IP Address Functions

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell with TCP/IP. Microsoft Scripting Guy, Ed Wilson, is here. This morning, I decided to make a cup of orange spice tea. I did not even do it manually. I used a tea bag. I know, I know, I know. But hey, sometimes I like...
  • Blog Post: Access Objects Inside Other Objects in PowerShell Pipeline

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about accessing objects inside other objects in the Windows PowerShell pipeline. Hey, Scripting Guy! Yesterday in Create Custom PowerShell Objects , you talked about writing a script to access embedded objects. That seems like a lot of trouble. Is...
  • Blog Post: Create Custom PowerShell Objects

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about creating custom objects via Windows PowerShell. Hey, Scripting Guy! Yesterday in Understand Embedded Objects in PowerShell , you said the easy way to expand a Windows PowerShell object was to use the –ExpandProperty parameter from the...
  • Blog Post: Understand Embedded Objects in PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about understanding embedded objects in Windows PowerShell. Hey, Scripting Guy! I don’t get it. Some things in Windows PowerShell are so easy, and others are so complicated. It seems to go from ridiculously easy to ridiculously hard all at...
  • Blog Post: Use PowerShell to Find Hotfixes Installed in Time Range

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to find hotfixes that were installed during a certain time range. Hey, Scripting Guy! I have a problem at work. It seems there was a hotfix that was installed in the last couple of months that is causing problems...
  • Blog Post: Use PowerShell for an Easy Shutdown

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to perform an easy shutdown. Microsoft Scripting Guy, Ed Wilson, is here. One of the things I do with Windows PowerShell is to automate repetitive tasks. It may sound rather obvious, but I can assure you it is not....
  • Blog Post: Weekend Scripter: A Graphical Tool to Explore PowerShell Help

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to explore Help topics. Microsoft Scripting Guy, Ed Wilson, is here. With the drops of the Windows Management Framework 5.0 (also known as Windows PowerShell 5.0), now is a good time to begin exploring modules, new...
  • Blog Post: Use a PowerShell Function to Determine Miles to Go

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about a Windows PowerShell function to determine miles remaining to meet challenge. Microsoft Scripting Guy, Ed Wilson, is here. If you are friends with me on Facebook, you know that in October I accepted a challenge to run a hundred miles before...