Showing results for November 2013 - Page 10 of 12 - Scripting Blog [archived]

Nov 7, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Create a Date String

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to create a date string that has a month, day, and year.  How can I use Windows PowerShell to create a string that represents the date with the month, day, and year?  Feed a pattern of ‘M/d/y’ to the ToString method from Get-Date: PS C:\> (get-date).ToString('M/d/y') ...

Scripting Guy!Windows PowerShellPowerTip
Nov 7, 2013
Post comments count0
Post likes count0

A PowerShell Object Lesson: Part 3

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to create custom objects. Microsoft Scripting Guy, Ed Wilson, is here. Tonight is the PowerScripting PodCast. It is always a big deal around the Scripting House, because the Scripting Wife does all their scheduling for the crew and because of our shared interest in th...

Scripting Guy!Windows PowerShellscripting techniques
Nov 6, 2013
Post comments count0
Post likes count0

PowerTip: Find the Type of an Object

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to find the type of an object.  How can I use Windows PowerShell to easily find the type of object that is stored in a variable?  Use the GetType method (which all objects have): PS C:\> $date = get-date PS C:\> $date.GetType()   IsPublic IsSerial Name          ...

Scripting Guy!Windows PowerShellPowerTip
Nov 6, 2013
Post comments count0
Post likes count0

A PowerShell Object Lesson: Part 2

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about the importance of returning objects to ease administrative work. Microsoft Scripting Guy, Ed Wilson, is here. This afternoon I am sipping a magnificent cup of Oolong green tea. I added a spoonful of jasmine buds to my teapot, in addition to a half cinnamon stick and a spoonful of lemon grass....

Scripting Guy!Windows PowerShellscripting techniques
Nov 5, 2013
Post comments count0
Post likes count0

PowerTip: Find Help about PowerShell Objects

Doctor Scripto
Doctor Scripto

Summary: Learn how to find Help about Windows PowerShell objects.  How can I find Help about Windows PowerShell objects?  In Windows PowerShell 4.0 or Windows PowerShell 3.0, open the Windows PowerShell console           with Admin rights, and run Update-Help.           &nbs...

Scripting Guy!Windows PowerShellPowerTip