ContributeMost Recent Contributions (feed)
- Reset SP User Privacy
- 6 hours ago
-
During a recent 10 > 10 upgrade, our User Profile Service Application decided to switch the default privacy setting for mobile phone to Everyone, which did not bode well with our HR folks. In response, I wrote this script to manually set a UPSA property on every user’s profile to the default privacy setting.
- Get-ADGroupMember -R
- 16 hours ago
-
This is how I would go about recursively getting AD Group Members.
http://www.powershellmagazine.com/2013/05/23/pstip-retrieve-group-membership-of-an-active-directory-group-recursively/
It’s longer than Shay’s .NET way. It looks like it might return duplicates too. I don’t know dotNET. I do like the type accelerator.
- Example user addition
- 47 hours ago
-
User addition for Exchange/AD/Lync. Still work in progress, as all of the Lync functionality is not quite implemented. For example only, run at your own risk.
- TimeSyn HyperV Settings
- 2 days ago
-
Check Hyper-V Settings for Time Synchronization Status from within a VM Hosted on a Hyper-V Host
http://powershell-enthusiast.blogspot.in/2012/10/check-hyper-v-settings-for-time.html
- Sub-Array with the Large
- 3 days ago
-
http://www.mytechinterviews.com/sub-array-with-the-largest-sum
Question: You are given an array with integers (both positive and negative) in any random order. Find the sub-array with the largest sum.
On Sunday Netflix will release 15 new episodes of Arrested Development! YEAH!
- New-ObjectFromGenericTyp
- 4 days ago
-
Get an instances of a Generic Type.
- Lync Version
- 4 days ago
-
Gets the version of Microsoft Lync components
- Set-Wallpaper (CTP3) fix
- 4 days ago
-
Set-Wallpaper lets you set your windows desktop wallpaper. It requires PInvoke and I wrote it using PowerShell 2’s
Add-Type, although it could be done in v1 using the JIT code generation tricks Lee Holmes has mentioned in the past …- Updated for CTP3
- Made it run as a script instead of a function.
- command line fix 05 2013
tested on win7 pro, execute cmd : powershell c:\path\script.ps1 “c:\path\wallpaper.jpg”
See http://stackoverflow.com/questions/6147731/powershell-script-fails-first-time-but-works-second-time
- ShowUI Clock 4
- 5 days ago
-
This is another analog clock, with “hands” and old school stopped movement (no click sound, but maybe you could add that)...
- ShowUI Clock 4
- 5 days ago
-
This is another analog clock, with “hands” and old school stopped movement (no click sound, but maybe you could add that)...
PowerShell Code Repository