Showing tag results for scripting techniques

Mar 25, 2015
Post comments count0
Post likes count0

Use PowerShell to Explore Old Windows VHDs

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to explore old Windows VHDs.  Hey, Scripting Guy! It is time for spring clean-up around our datacenter. I am not talking about chasing out dust bunnies, although that is part of it. What I am talking about is trying to determine what can be safely deleted without...

Scripting Guy!Windows PowerShellscripting techniques
Mar 22, 2015
Post comments count0
Post likes count0

Weekend Scripter: Use PowerShell to Find Longest Cmdlet Name

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to find the longest cmdlet name. Microsoft Scripting Guy, Ed Wilson, is here. This is an exciting time of the year, as we get ready for the PowerShell Summit in Charlotte and for the Microsoft Ignite conference in Chicago. I have been having numerous email conversatio...

Scripting Guy!Windows PowerShellscripting techniques
Mar 14, 2015
Post comments count0
Post likes count0

Weekend Scripter: Approximate the Value of Pi from a Polygon

Doctor Scripto

Summary: Microsoft senior software engineer, Firaz Samet, shows how to use Windows PowerShell to approximate the value of pi from a polygon. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest blog post from Firaz Samet in honor of Pi (π) Day. I will turn the blog over… The Scripting Guy ran across my PowerShell Math Module...

Scripting Guy!Windows PowerShellscripting techniques
Mar 13, 2015
Post comments count0
Post likes count0

PowerTip: Find Day of the Week with PowerShell

Doctor Scripto

Summary: Find the day of the week by using Windows PowerShell.  How can I use Windows PowerShell to find what day of the week a particular date falls on?  Access the DayOfWeek property from the DateTime object: (get-date).dayofweek

Scripting Guy!Windows PowerShellscripting techniques
Mar 13, 2015
Post comments count0
Post likes count0

Optimize PowerShell Code?

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about optimizing Windows PowerShell code. Microsoft Scripting Guy, Ed Wilson, is here. I was looking at my Windows Phone this morning and I noticed that today is Friday the 13th. What seemed a bit strange to me is that I thought there was also a Friday the 13th last month. I then became curious. Ex...

Scripting Guy!Windows PowerShellscripting techniques