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 ...
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...
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 ...
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 ...
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 ...