How to get the next business day in powershell
<p>I have the following test code. Basically I am checking when a new file is created in folder.  I need to know that if the file was created after 4pm display the next business day. Currently my code displays the next day, but I need to display the next business day. Any help would be appreciated.   </p>

<pre><code>$formatteddate = "{0:h:mm:ss tt}" -f (get-date)

if ($formatteddate -gt "4:00:00 PM"){
$(Get-Date).AddDays(1).ToString('MMM d yyyy')
}
</code></pre>