|
Update Fax Numbers in AD Using PowerShell
37 days ago
by patrickhoban
Just a quick post on how to change the fax number for several users who use 555-555-1234 to 555-555-4321. Get-QADUser -SearchRoot "abc.com/ABC/Users" -LdapFilter '(facsimileTelephoneNumber=555-555-1234)' | Foreach-Object{Set-QADuser -Identity $_ -ObjectAttributes @{facsimileTelephoneNumber='555-555- ...
|
|
How to Tell If You Have Microsoft .NET Framework 3.5 SP1 installed
37 days ago
by anthonyrstevens
…programatically, that is. It turns out it’s not *quite* the piece of cake that you might imagine. There’s a good Stack Overflow post that outlines some of the various approaches, and I crafted a little PowerShell script that uses the inspect-the-uninstall-Registry-key solution, but I’m not happy wi ...
|
|
MAssaging Pipeline Input with ScriptBlocks
37 days ago
by Jimbo
I’m hard at work here in Code Owls labs building a super-secret PowerShell project that will absolutely blow you away. Or totally muss your hair. Well, provide a slightly refreshing breeze at least. More on that later… Today I was floored to discover an incredibly useful feature of PowerShell that I ...
|
|
Get-SNames
37 days ago
by Dalle
This is the updated version of my old LName function. I changed the name to Get-SNames instead of Get-LNames because of that I know that the correct name is not Last Name and It should be Surname instead. I use It in my create AD lab script and in a couple of other scripts when I need “real” peoples ...
|
|
PowerShell MVP for 2012
37 days ago
by Kirk Munro
Every year around Christmas I anxiously await the New Year to see if I receive the Microsoft MVP award again that year. Well that email came on January 1, 2012, and I’m quite thrilled about this one because it’s a milestone this time (year 5 as a PowerShell MVP). Thanks to the community for being so ...
|
|
Power WorkFlow for Service Manager 2010
37 days ago
by Yunus Sina Gülşen
There is a great tool for automating workflows in Service Manager. PowerWF uses Powershell and Windows Workflow Foundation to ease the pain of creating custom workflows. It features a visual Powershell IDE and drag & drop style workflow creation. PowerWF Studio
|
|
PowerCLI Move-Datastore Function
37 days ago
by Eric
Moving datastores into folders via drag/drop can be painful. In some cases vCenter does not want to allow a drag from a long list. Here is a quick function to make moving via PowerCLI a little bit easier. Function Move-Datastore { param ( [VMware.VimAutomation.ViCore.Impl.V1.DatastoreManagement.Vmfs ...
|
|
PowerShell Check for Empty SecureString Entry
37 days ago
by Brian Jackett
A few days ago my friend Todd Klindt ( click here for his blog, I get helpful advice there all the time) asked the following question on Twitter: ‘Is there a way to see if someone just his enter with “read-host –assecurestring”? I need to test for no input. #powershell’. Problem As you may know, sec ...
|
|
Clean Service Manager Data Warehouse database
37 days ago
by Yunus Sina Gülşen
Well, actually there is no supported way to remove items from Data Warehouse. If you have used your production environment to test and you have lots off irrevelant records than you can force delete them using Powershell. But this does not remove them from Data Warehouse. If you want to start with a ...
|