Showing results for December 2013 - Page 2 of 14 - Scripting Blog [archived]

Dec 29, 2013
0
0

Weekend Scripter: Using PowerShell to Replace STSADM

Doctor Scripto
Doctor Scripto

Summary: Learn about a Windows PowerShell script to replace STSADM –o enumallwebs in SharePoint. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back today guest blogger, Brian Jackett. Brian is a senior premier field engineer at Microsoft who has specialized in SharePoint development, Windows PowerShell, and Project Server since 2008. B...

Scripting Guy!Windows PowerShellguest blogger
Dec 28, 2013
0
0

PowerTip: Get Time Difference between Dates with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Use New-TimeSpan to produce the time difference between two dates.  I know I can subtract dates, but is there a Windows PoweShell cmdlet to show me the time difference between dates?  Use New-TimeSpan and supply the information!          For example, to show the difference between toda...

Windows PowerShellPowerTipguest blogger
Dec 28, 2013
0
0

Weekend Scripter: Use PowerShell to Host New Year’s Eve Countdown Clock

Doctor Scripto
Doctor Scripto

Summary: Use [DATETIME] variables and arrays to produce a countdown timer. Honorary Scripting Guy, Sean Kearney, here filling in for our good friend, Ed. With the New Year coming up in a few days, I decided to present something silly and geeky. I want to use Windows PowerShell to produce a New Year’s countdown timer. Figuring out the differen...

Windows PowerShellguest bloggerWeekend Scripter
Dec 27, 2013
0
0

PowerTip: Use PowerShell to Create Hash Table

Doctor Scripto
Doctor Scripto

Summary: Use a Windows PowerShell cmdlet to create a hash table.  How can I use Windows PowerShell to create a hash table if do not remember the special syntax?  Use the ConvertFrom-StringData cmdlet, and put each key-value pair on its own line.           (You can perform this on a single line by us...

Scripting Guy!Windows PowerShellscripting techniques
Dec 27, 2013
0
0

Phantom Elements in a Hash Table

Doctor Scripto
Doctor Scripto

Summary: Microsoft PFE and guest blogger, Chris Wu, talks about working with hash tables. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger, Chris Wu… Admittedly, hash tables didn’t catch my attention when I started using Windows PowerShell, but over time it has proven to be one of my favorites. This is largely th...

Scripting Guy!Windows PowerShellscripting techniques