PowerShell Script – Get-ComputerGeolocation

28-OCT-2013 Update: I have updated the script to retry when the status of the location provider is in initializing mode. The below script uses the Windows Location provider and the Google Geocoding API to retrieve the geographical location of the computer. The accuracy of the information retrieved depends on the source used to determine the location which are: Wi-Fi triangulation IP address resolution Cell phone tower triangulation Global Position System (GPS) Windows automatically uses the Read More …

How to build a site Windows 8.1 tile for your blog

With just a few clicks and pasting 3 lines of code you can create a Windows 8.1 live tile for your blog. Here’s what you need to do. Navigate to http://www.buildmypinnedsite.com/en and fill in the requested information. Copy the code. Next copy the code into your website. I added the code to the header.php of my WordPress site. If you use another blogging platform, just add to the other meta tags of your website. Now Read More …

ConfigMgr – PowerShell Script to collect remote log files

Looking at a client’s ConfigMgr Agent log files is inevitable when managing a Configuration Manager infrastructure. If you are working within a local area network only, then you will most likely just connect to the remote systems configuration manager log folder and drag and drop the appropriate log files into CMTrace.exe. But if your clients are distributed across a WAN network with slow network links opening the log file from a remote location is probably Read More …

ConfigMgr–Failed to get following optional attributes warning in adsysdis.log

Should you ever get a warning message in your adsysdis.log that starts with WARN:  Failed to get following optional attributes then you have probably added an additional active directory object attribute to your Active Directory System Discovery but the value of that attribute of the discovered object is empty. Let’s look at this in more detail. Within the configuration manager console under Administration \ Hierarchy Configuration \ Discovery Methods \ Active Directory System Discovery the Read More …

ConfigMgr–Compliance Baseline for BranchCache on Windows 8

Here’s a ConfigMgr Compliance baseline that checks the BranchCache configuration on Windows 8 clients. With the release of Windows 8 and Server 2012 Microsoft also made available PowerShell cmdlets for BranchCache, so creating a script based configuration item in ConfigMgr becomes a pretty straight forward task. The below Compliance Baseline checks the following 3 things. Is BranchCache Enabled Is the Service Running Is BranchCache operating in Distributed Cache mode The following PowerShell commands are included Read More …