How to Turn Your Surface RT into a PowerShell Scripting Powerhouse
How can I get the PowerShell ISE and all the PowerShell modules I need on my Surface RT tablet?Read More
View ArticleHow to configure Powershell to work with Windows Azure AD
In a previous TechTip, I discussed the specifics and nuances of how to install and configure Powershell for use with Office 365. For 99% of the things that I’ve needed Powershell for in 365, this setup...
View ArticleFind SharePoint 2013 App Info Using PowerShell
I've been playing a lot with PowerShell and SharePoint 2013 lately, and by a lot, I mean A LOT! One of the new additions with SharePoint 2013, is the set of new cmdlets that allow Sharepoint...
View ArticlePopulating extensionattribute10 for multiple users
I have 4750 active directory accounts with extensionAttribute10 is emptyI would like to populate that field extensionAttribute 10 with firstname.lastname@company.caHow would I do this in powershell? I...
View ArticleHelp with if statement in parameter
Can I run this as a parameter?$Switch = if ((Get-VMSwitch).Name.count -gt 1) {(Get-VMSwitch).Name -notmatch "SCSI" | select -First 1} else {(Get-VMSwitch).name} It seems to work on the command line but...
View ArticleHow to set a password for a workgroup Server 2008r2 user account
Subject about spells it out. I have searched and tried both WMIObject win32_UserAccount and also ADSI but it looks like neither allow the password to be set. I have 14 non-domain joined servers that I...
View Articlelogonworkstation attribute multiple users and multiple computer names
I am working on populating the "logonworkstations" attribute with multiple computernames for multiple users. I have a simple script to populate the "logonworkstations" attribute from a csv file but I...
View ArticleHow to Use the PowerShell Help System Efficiently
The PowerShell help system is very useful and that’s about the only tool you will ever need to use PowerShell efficiently. As it is a shell with no graphics on its interface, you won’t see any flashy...
View ArticleGet Exchange mailbox
Gets an Exchange server’s mailbox stats and exports to csv.Read More
View ArticleProvide A Batch File To Run Your PowerShell Script From; Your Users Will Love...
I included a little gem that I think deserves it’s own dedicated post; calling PowerShell scripts from a batch file.Read More
View ArticleXenApp 6 Management SDK (Powershell)
Starting with XenApp 6, the management SDK is PowerShell-based. Use this forum to find answers to your questions and to share your best practices.Read More
View ArticlePowerShell Performance: Filtering Collections
Depending on what version of Windows PowerShell you are running, there are several different methods and syntax available for filtering collections. The differences are not just aesthetic; each one has...
View ArticleInjecting Logon Credentials With PowerShell
In this article I will introduce a new script, Inject-LogonCredentials, that uses PowerShell (specifically, the Invoke-ReflectivePEInjection script) to inject credentials in memory.Read More
View ArticleArray not populating correctly from foreach loop
Have a report, where I fetch data, but need to insert a field, whose value is derived from what is in another field. Trouble is coming from the foreach loop. Every loop is appending an index into...
View ArticleHow to install Windows PowerShell 4.0
Windows PowerShell 4.0 is part of the Windows Management Framework 4.0, which includes the following:Read More
View ArticleSCCM2012 R2 – How to schedule collection refresh interval using PowerShell
There was an open subject after my first post about scripting ConfigMgr. In the meantime I've migrated from SCCM 2012 SP1 to R2, so I am really not sure whether this commandlet works for legacy...
View ArticleConfiguration Management for SharePoint With SPWebConfigModification Class &...
I recently needed to make several web.config changes to our production SharePoint 2010 web farm. Making all of these modifications manually would have been tedious and would have left a lot of room for...
View ArticleCreate bulk users in Active Directory using .CSV format and PowerShell
Create bulk users in Active Directory using .CSV format and PowerShellBulk user creation in Active Directory can be completed using .CSV import and the steps are follows.Read More
View ArticleESX the PowerShell Way with Get-ESXCli
PowerShell is a terrific command line management tool. Of course, it can only peer into Windows-based systems, and naturally this doesn’t apply to a VMware server. However, PowerCLI offers a cmdlet...
View Article