Author: jbmurphy
-
Useful PowerShell Get-HotFix commands
I can never remember these, and now that I have posted them, I don’t have to! I will add more as I need them:
-
Import Picture into AD with PowerShell
I know this is everywhere, so this is more a note for myself. How to upload pictures to AD via PowerShell:
-
Installing WordPress via shell script(BASH)
We have been using a provisioning script that downloads the latest wordpress zip file, extracts into the right location it and sets up the DB connection. I wanted to take it a step further and eliminate the install.php page. The one that looks like this: So i sat down to figure out how to…
-
Activating and deactivating WordPress plugins from a shell script (BASH)
I needed to update my WordPress site provisioning script to download, install and activate a WordPress plugin. The download is the easy part (I just use wget). But how do I activate the plugin. This is what I cam up with: And to be complete, to deactivate:
-
A simple javascript/AJAX function to post a SOAP request to CRM 2011
This is a simple function that I use to post a SOAP envelope to CRM 2011. Just pass the URL and the xml (you can create that with this function) and you should be good to go
-
Using AJAX and SOAP to create a CRM 2011 activity
I have posted a bunch of PowerShell scripts to interact with CRM 2011, now I am going to put up similar javascript versions. I feel that there is a lot of javascript content out there for CRM 2011, but most of it is javascript inside the actual CRM interface. I don’t see a lot of…
-
SharePoint 2010: How to access check permissions if site was not mounted with UpdateUserExperience
I am working with a site where we could not UpdateUserExperience when moving to 2010. I wanted to check a users permissions, but the icon was missing. To check a users permissions in 2010 with out an updated user experience, you visit : /_layouts/chkperm.aspx
-
I finally did it! 10K+ visits in a month!
Not bad seeing as I was at 2K last year this time!
-
PowerShell 3: Using Invoke-RestMethod to refresh a new oAuth 2 token
I wanted to translate this code into powershell. Below is the Powershell code to request a refresh token from Google using oAtuh 2. Hope that helps someone.
-
Using cURL, BASH and Google oAuth to access Google Analytics
In this previous post, I used cURL (the command line version) to interact with Google Analytics. I wanted to do the same thing but using oAuth. I took a lot from this page, but there were a few things that I couldn’t get working, and a few things I didn’t know. Follow Steps 1-6 on…
