<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>jeffstrauss.com</title>
	<atom:link href="http://jeffstrauss.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://jeffstrauss.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Sun, 20 May 2012 01:23:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Target Disk Mode A Mac To VMware Fusion</title>
		<link>http://jeffstrauss.com/?p=54</link>
		<comments>http://jeffstrauss.com/?p=54#comments</comments>
		<pubDate>Sun, 20 May 2012 01:23:58 +0000</pubDate>
		<dc:creator>jstrauss</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[netboot]]></category>
		<category><![CDATA[system image utility]]></category>
		<category><![CDATA[target disk mode]]></category>
		<category><![CDATA[vmware fusion]]></category>

		<guid isPermaLink="false">http://jeffstrauss.com/?p=54</guid>
		<description><![CDATA[I wanted to create a NetBoot image from a MacBook Pro, but apparently booting it into Target Disk Mode (holding &#8220;T&#8221; as it&#8217;s booting) doesn&#8217;t trigger Fusion to request if the new volume should be mounted in the virtual machine. To do it: Bridge the Ethernet connection VMware Fusion is using Share the TDM-booted Mac [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to create a NetBoot image from a MacBook Pro, but apparently booting it into Target Disk Mode (holding &#8220;T&#8221; as it&#8217;s booting) doesn&#8217;t trigger Fusion to request if the new volume should be mounted in the virtual machine. To do it:</p>
<ul>
<li>Bridge the Ethernet connection VMware Fusion is using</li>
<li>Share the TDM-booted Mac via File Sharing in the Sharing pane of System Preferences on the machine running the VM (be sure to propagate permission by right-clicking the user you&#8217;re granting permission to and selecting &#8220;Apply Permissions to Enclosed Items&#8221;)</li>
<li>Mount the share in your VM by connecting to the host machine (I did this with &#8220;Connect To Server&#8221; (Command + K) in the Finder&#8217;s Go menu) via the IP address (ex: afp://10.0.1.17)</li>
</ul>
<p>You should now be able to see the Target Disk Mode Mac. I launched System Image Utility and it auto-detected it and built a NetBoot image with no problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffstrauss.com/?feed=rss2&#038;p=54</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Once Per User Per Computer</title>
		<link>http://jeffstrauss.com/?p=27</link>
		<comments>http://jeffstrauss.com/?p=27#comments</comments>
		<pubDate>Thu, 29 Dec 2011 23:27:11 +0000</pubDate>
		<dc:creator>jstrauss</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[casper suite]]></category>

		<guid isPermaLink="false">http://jeffstrauss.com/?p=27</guid>
		<description><![CDATA[The Casper Suite is a robust framework for Mac management, allowing an administrator to be extremely flexible with how they choose to manage their Apple environment. An example of this flexibility is the ability within the Suite to go beyond its boundaries while utilizing its capabilities to enhance administration. The following is a once-per-user-per-computer workflow [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.jamfsoftware.com/">Casper Suite</a> is a robust framework for Mac management, allowing an administrator to be extremely flexible with how they choose to manage their Apple environment. An example of this flexibility is the ability within the Suite to go beyond its boundaries while utilizing its capabilities to enhance administration. The following is a once-per-user-per-computer workflow that will deliver a payload one time to every user in the environment on any computer they log onto. <span id="more-27"></span>Feel free to modify this to suit your needs.</p>
<p>I wrote two scripts, firstRun.sh and previousPolicyExecution.sh. Respectively, they are:</p>
<p><em><strong>#!/bin/sh</strong></em><br />
<em><strong> #firstRun.sh</strong></em></p>
<p><em><strong>hardwareUUID=`/usr/sbin/system_profiler | grep &#8220;Hardware UUID&#8221; | awk {&#8216;print $3&#8242;}`</strong></em></p>
<p><em><strong>if [ ! -f /Users/$3/JAMF/PolicyExecution/$hardwareUUID ]; then</strong></em><br />
<em><strong> mkdir –p /Users/$3/Library/JAMF/PolicyExecution/</strong></em><br />
<em><strong> touch /Users/$3/Library/JAMF/PolicyExecution/$hardwareUUID</strong></em><br />
<em><strong> else</strong></em><br />
<em><strong> echo &#8220;File identifier exists on this system or this policy has been executed.&#8221;</strong></em><br />
<em><strong> fi</strong></em></p>
<p><em><strong>#!/bin/sh</strong></em><br />
<em><strong> #previousPolicyExecution.sh</strong></em></p>
<p><em><strong>hardwareUUID=`/usr/sbin/system_profiler | grep &#8220;Hardware UUID&#8221; | awk {&#8216;print $3&#8242;}`</strong></em></p>
<p><em><strong>if [ ! -f /Users/$3/JAMF/PolicyExecution/$hardwareUUID ]; then</strong></em><br />
<em><strong> mkdir –p /Users/$3/Library/JAMF/PolicyExecution/</strong></em><br />
<em><strong> touch /Users/$3/Library/JAMF/PolicyExecution/$hardwareUUID</strong></em><br />
<em><strong> jamf policy –trigger OncePerUserPerComputer</strong></em><br />
<em><strong> else</strong></em><br />
<em><strong> echo &#8220;Policy has already been executed on this computer.&#8221;</strong></em><br />
<em><strong> fi</strong></em></p>
<p>Then I created three policies:</p>
<p>&#8220;New User On Computer&#8221; is triggered by login and executed once per user. It does whatever you want the policy to do (in my case, wrote a text file to /Users/Shared) and runs firstRun.sh as After.</p>
<p>&#8220;Existing User On Computer&#8221; is triggered by long and executed by ongoing and only executes previousPolicyExecution.sh.</p>
<p>&#8220;Executed By Existing User On Computer&#8221; is custom-triggered by &#8220;OncePerUserPerComputer,&#8221; which is called by previousPolicyExecution.sh, and executed by ongoing. It does whatever &#8220;New User On Computer&#8221; did.</p>
<p>If a user never existed on a machine, a folder is created in that user&#8217;s Library and populated by a file with the computer&#8217;s hardware UUID. If a user already existed on a machine, but had never executed the policy, that folder would be created and a custom trigger would deliver the payloads that the policy for a new user would have delivered. If a user exists on the system and has already run the policies, they wouldn&#8217;t do anything.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffstrauss.com/?feed=rss2&#038;p=27</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove Office for Mac 2011</title>
		<link>http://jeffstrauss.com/?p=1</link>
		<comments>http://jeffstrauss.com/?p=1#comments</comments>
		<pubDate>Wed, 28 Dec 2011 23:35:16 +0000</pubDate>
		<dc:creator>jstrauss</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[microsoft office]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://jeffstrauss.com/?p=1</guid>
		<description><![CDATA[Microsoft doesn&#8217;t include an uninstaller with Office for Mac 2011. Instead, they released an 11-step guide to completely removing an Office installation.  If you want a quick uninstall, here is a shell script and an AppleScript that&#8217;ll do automatically what the guide makes you do manually. You&#8217;ll need administrative permissions to run these manually, or [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft doesn&#8217;t include an uninstaller with Office for Mac 2011. Instead, they released an <a title="Completely remove Office for Mac 2011" href="http://support.microsoft.com/kb/2398768">11-step guide to completely removing an Office installation</a>. <span id="more-1"></span> If you want a quick uninstall, here is a shell script and an AppleScript that&#8217;ll do automatically what the guide makes you do manually. You&#8217;ll need administrative permissions to run these manually, or you can deploy the shell script with a management tool.</p>
<p><a href="http:/www.jeffstrauss.com/files/RemoveOffice2011.zip">RemoveOffice2011.zip</a> &#8211; Contains both Apple and shell scripts.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffstrauss.com/?feed=rss2&#038;p=1</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

