In the last article, I introduced you to the Xbox API that you can use to gather information on Xbox users (if you know the gamertag…hopefully, they are your friends) or your own profile information. Today, I am going to continue showing you some more of the API that you can use and how Powershell can help you get the information.
This article will focus on the “friends” and “games” components of the API. I will continue to use the XML format of return data, but you can easily switch to a JSON response, which is the default format if you don’t specify one in the API call. Continue reading
Not so long ago, I was able to acquire an Xbox 360 system from a friend and colleague. I have wanted one for awhile, but have never been able to justify the cost. I can’t begin to complain about the deal I got on this used system…it was pretty much a steal. Thanks, Dave!
Since it came out, my brother has been hounding me to get an Xbox 360 so that we can play the Halo games together. So, when I got this new (to me) system, he blessed me with my own copy of Halo 4 for my birthday. I have some other games that came with the system, but so far, Halo 4 has dominated my time as I am trying to get as many achievements as I can. Currently, I am trying to make it through the entire campaign on the “Legendary” level. I have also had fun with some of the co-operative games, competitions, and challenges. If you would like to look me up, my gamertag is jth1205.
This blog is a Powershell blog, so you might be wondering what an Xbox 360 has to do with Powershell. I’m glad you asked! Continue reading
I thought I would spend some time on some beginner topics to help out people who may be new to Powershell. The first few topics I will talk about will be items to help get you started and find more information as you go along. I hope to bring people some new information that they may not have known or realized when they first looked at Powershell. Continue reading
Posted in Beginner
This past week, I had the opportunity to put some of my Powershell skills to work. In troubleshooting a problem in our Sharepoint farm, I was looking at some data and I needed to quickly get daily data into charts. In doing a few searches, I found some good starting points to get me going. I will post the links to those helpful blogs at the end of this post. Continue reading
I have been meaning to get this blogged for a while, so I am finally taking a break from some other things to get it out here.
I was recently asked to help identify where printers were located in an Active Directory domain. The person asking me has various lists of printers and queues that had been set up over a period of time, but didn’t have a good way to gather the information to verify the lists. Being the proponent of Powershell that I am, I suggested we use that to try to gather some information. Continue reading
I was playing around with some system changes and thought it would be cool to be able to set the screen saver timeout on my machine. Now, I know you can use the registry provider in Powershell to set the timeout in the registry, but you have to log off and log on or restart your machine to get that to work. What I am talking about is real-time updates to the screen saver timeout setting right from the Powershell console! Continue reading
This past week, I have had the need to work on changing the application pools in MOSS 2007. One of the web applications I work with needed to be isolated to prevent it from affecting other web applications that run in the same pool. Looking at the MOSS API documentation, this seemed to be fairly simple. Turns out it is not so simple after all.
I am very happy to announce that my first “Hey, Scripting Guy!” Blog post is now available. I have written about using a legacy command to query Scheduled Tasks and manipulate the data in Powershell. You can find the full article here:
Please check it out and let me know what you think!
Today’s script will show how to get a report of user access to webs and/or subwebs in a Sharepoint Site Collection. It is a good idea to know who has what access to the different areas of your Sharepoint site. Sometimes people get added for some reason, but then no longer need that access and are never removed. The script below will use the Sharepoint API and Powershell to generate a report that you can use to see if your role definitions are up-to-date. Continue reading
Posted in Advanced Function, PSObjects, Sharepoint 2007
Tagged 2007, CmdletBinding, functions, hashtables, looping, object, parameters, sharepoint, Write-Output
I am sure this topic has been covered many times before on other forums and blog posts, but here is my contribution to this activity. With the push for advanced functions during the 2011 Scripting Games, I think I would be remiss to not use that functionality on this script.
Posted in Account Objects, Active Directory, ADSI, Advanced Function
Tagged $env, CmdletBinding, functions, import-csv, local groups, parameters, parametersetname, try/catch, WinNT