Showing archive results for January 2014

Jan 26, 2014
Post comments count0
Post likes count0

PowerTip: Find Day of the Week by Using PowerShell

Doctor Scripto

Summary: Use Windows PowerShell to find the day of the week.  How can I use Windows PowerShell to easily find the day of the week—for example, Monday,           Tuesday, or Wednesday?  Use the Get-Date cmdlet to return a DateTime object, and ten select the DayOfTheWeek property:...

Scripting Guy!Windows PowerShellPowerTip
Jan 26, 2014
Post comments count0
Post likes count0

Weekend Scripter: Modify DNS Settings via Windows PowerShell

Doctor Scripto

Summary: Guest blogger, Gershon Levitz, talks about modifying DNS settings with Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a new guest blogger, Gershon Levitz. Gershon is a senior technical writer for Hyper-V at Microsoft. The floor is yours, Gershon... There are times when I need to change the DNS settings and u...

Scripting Guy!Windows PowerShellguest blogger
Jan 25, 2014
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Choose Random Letters

Doctor Scripto

Summary: Use Windows PowerShell to choose random letters.  How can I use Windows PowerShell to arrange five letters in a random order?  Use the Get-Random cmdlet, specify the letters as input values,           and then use the –count parameter to specify how many to choose: Get-Random -In...

Scripting Guy!Windows PowerShellPowerTip
Jan 25, 2014
Post comments count2
Post likes count0

Using PowerShell ISE Snippets to Remember Tricky Syntax

Doctor Scripto

Summary: Use Windows PowerShell ISE code snippets to ease the burden of tricky-to-remember syntax. Microsoft Scripting Guy, Ed Wilson, is here. Today Jonathan Medd, Windows PowerShell MVP, is with us to share some Windows PowerShell goodness. Take it away, Jonathan… Often when I am teaching students who are new to Windows PowerShell, one of ...

Scripting Guy!Windows PowerShellscripting techniques
Jan 24, 2014
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Show Path to All Your Profiles

Doctor Scripto

Summary: Use Windows PowerShell to show the path to all your Windows PowerShell profiles.  How can I use Windows PowerShell to see the path to all of my Windows PowerShell profiles—          not only the current host or current user profile?  Use the $profile automatic variable, pipe the results to...

Scripting Guy!Windows PowerShellPowerTip