Showing results for May 2014 - Scripting Blog [archived]

May 31, 2014
0
0

PowerTip: Use PowerShell to Report Daylight Savings Time

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to report if it is daylight savings time.  How can I use Windows PowerShell to report if it is daylight savings time?  Use the Get-Date cmdlet, and call the IsDaylightSavingTime method from the DateTime object: (Get-Date).IsDaylightSavingTime()

Scripting Guy!Windows PowerShellPowerTip
May 31, 2014
0
0

Weekend Scripter: Use PowerShell to Automate Active Directory Accounts

Doctor Scripto
Doctor Scripto

Summary: Guest blogger, Gary Jackson, shares a technique to automate Active Directory accounts. Microsoft Scripting Guy, Ed Wilson, is here. I met Gary Jackson at the Windows PowerShell Summit in April. We talked about some cool things he has been working on, so I invited him to write a guest blog post. First a little about Gary… I am curren...

Scripting Guy!Windows PowerShellguest blogger
May 30, 2014
0
0

PowerTip: Set the PowerShell ISE Zoom Level

Doctor Scripto
Doctor Scripto

Summary: Use a Windows PowerShell command to set the ISE zoom level.  How can I ensure that the Windows PowerShell ISE zoom level is set to 100 percent all the time?  Use the $psISE options, and set the zoom level in your ISE profile: $psISE.Options.Zoom = 100

Scripting Guy!Windows PowerShellPowerTip
May 30, 2014
0
0

PowerShell Best Practices: Advanced Functions

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about best practices for Windows PowerShell advanced functions. Microsoft Scripting Guy, Ed Wilson, is here. This morning, I am again enjoying a cup of my Darjeeling Earl Grey tea. Today I added a bit of rose petal, lemon grass, and a cinnamon stick to the mixture. Match it with a homemade cinnamon...

Scripting Guy!Windows PowerShellscripting techniques
May 29, 2014
0
2

PowerTip: Obtain a List of All Functions in PowerShell

Doctor Scripto
Doctor Scripto

Summary: Learn how to easily find functions in Windows PowerShell.  How can I see what functions exist in my current Windows PowerShell session?  Use the Function drive, for example: dir function:

Scripting Guy!Windows PowerShellPowerTip