<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Exo on Ru Campbell MVP</title>
    <link>https://campbell.scot/tags/exo/</link>
    <description>Recent content in Exo on Ru Campbell MVP</description>
    <generator>Hugo</generator>
    <language>en-gb</language>
    <lastBuildDate>Fri, 23 Oct 2020 17:30:52 +0000</lastBuildDate>
    <atom:link href="https://campbell.scot/tags/exo/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>PowerShell: Run Cmdlet If Another Was Successful (And Keep Trying Until It Is)</title>
      <link>https://campbell.scot/powershell-run-cmdlet-if-another-was-successful-and-keep-trying-until-it-is/</link>
      <pubDate>Fri, 23 Oct 2020 17:30:52 +0000</pubDate>
      <guid>https://campbell.scot/powershell-run-cmdlet-if-another-was-successful-and-keep-trying-until-it-is/</guid>
      <description>&lt;p&gt;Today I&amp;rsquo;m sharing a useful bit of PowerShell I gracelessly punt from script to script whenever I need to make sure a prerequisite it met before running something and to &lt;em&gt;keep checking&lt;/em&gt; until it&amp;rsquo;s met, then run what I need: &amp;ldquo;do X when Y is ready and keep checking Y until it&amp;rsquo;s ready&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;The original use for this was my script to create a new Microsoft 365 user, but hold off on some parts of it - such as time zone settings - until the Exchange Online mailbox is provisioned.  That takes some time, so I wanted to keep checking and as soon as I could, continue the script.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
