Showing results for July 2014 - Page 9 of 13 - Scripting Blog [archived]

Jul 11, 2014
Post comments count0
Post likes count0

PowerTip: How Long Has My Computer Been Running?

Doctor Scripto
Doctor Scripto

Summary: Learn a one-liner Windows PowerShell command to see how long a computer has run.  How can I use Windows PowerShell to find out how long my computer has been running           since last boot up without writing a script?  Use the Win32_OperatingSystem WMI class and the LastBootupTime pr...

Scripting Guy!Windows PowerShellPowerTip
Jul 11, 2014
Post comments count0
Post likes count0

An End of Week Treat: Mini-Scripting Games

Doctor Scripto
Doctor Scripto

Summary: Windows PowerShell MVP, Jim Christopher, shares a mini-Scripting Games event from the Charlotte Windows PowerShell User Group. Microsoft Scripting Guy, Ed Wilson, is here. Welcome today, guest blogger, Jim Christopher. Jim is a Windows PowerShell MVP and the leader of the Charlotte Windows PowerShell User Group. He was instrumental in crea...

Scripting Guy!Windows PowerShellscripting techniques
Jul 10, 2014
Post comments count0
Post likes count0

PowerTip: Count a Range of Seconds with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to count a range of seconds.  How can I use Windows PowerShell to count a range of seconds of increasing duration?  Use the range operator to create a range of numbers, then pipe the results to the ForEach-Object cmdlet           inside a script block call Start-Sleep...

Scripting Guy!Windows PowerShellPowerTip
Jul 10, 2014
Post comments count0
Post likes count0

Use Windows PowerShell to Prepare for Migration from SharePoint 2007

Doctor Scripto
Doctor Scripto

Summary: Marc Adam Carter talks about using Windows PowerShell to smooth the way for a large SharePoint 2007 migration. Microsoft Scripting Guy, Ed Wilson, is here. Today our guest blogger is Marc Adam Carter... If you’re responsible for administering a SharePoint 2013 or SharePoint 2010 farm, I’d have to say that things are l...

Scripting Guy!Windows PowerShellguest blogger
Jul 9, 2014
Post comments count0
Post likes count0

PowerTip: Find Information About ErrorActionPreference

Doctor Scripto
Doctor Scripto

Summary: Find information, beyond the basics, for the Windows PowerShell variable ErrorActionPreference.  How can I use Windows PowerShell to see information, beyond only the value, for the variable ErrorActionPreference?  Use the Get-Variable cmdlet and pipe the results to the Format-List cmdlet: Get-Variabl...

Scripting Guy!Windows PowerShellPowerTip