<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How do I update a single document using powershell?</title><link>https://communities.bentley.com/products/projectwise/f/projectwise-powershell-extensions-forum/145476/how-do-i-update-a-single-document-using-powershell</link><description>I am currently using import-pwdocuments to replace an existing document in projectwise with an updated document from a local disk. When the command executes, it displays some disturbing messages about deleting other files and subfolders from Projectwise</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How do I update a single document using powershell?</title><link>https://communities.bentley.com/thread/447909?ContentTypeID=1</link><pubDate>Wed, 21 Feb 2018 20:41:03 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c9ef1e50-0979-43a4-b2a2-3265b4d23a36</guid><dc:creator>Bill Leddy</dc:creator><description>&lt;p&gt;Well, I didn&amp;#39;t get to test it right away, but Update-PWDocumentFile works.&amp;nbsp; Thanks for your help.&lt;/p&gt;
&lt;p&gt;In the documentation, the examples could be a little clearer: avoid using &amp;#39;physical&amp;#39; and instead just refer to the document file as being located in projectwise versus the local disk.&amp;nbsp; &amp;nbsp;The module description is a big help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I update a single document using powershell?</title><link>https://communities.bentley.com/thread/444231?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2018 17:10:43 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:10e6c34f-b807-477b-a895-8f102bf0e31e</guid><dc:creator>Bill Leddy</dc:creator><description>&lt;p&gt;Ok, I&amp;#39;ll give it a try tomorrow and let you know.&amp;nbsp; Thanks for the mod!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I update a single document using powershell?</title><link>https://communities.bentley.com/thread/444229?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2018 16:37:18 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:d7517b23-28e9-44c2-a2db-989bc5dc1441</guid><dc:creator>Brian Flaherty</dc:creator><description>&lt;p&gt;Hopefully, later today or tomorrow.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I update a single document using powershell?</title><link>https://communities.bentley.com/thread/444222?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2018 15:41:06 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:5b7acba0-b8fc-41af-8c9a-05e31cd48665</guid><dc:creator>Bill Leddy</dc:creator><description>&lt;p&gt;Any planned date for that next release?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I update a single document using powershell?</title><link>https://communities.bentley.com/thread/444220?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2018 15:29:05 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c8fcfcc6-5b5e-49e8-b9f3-960b45d21cb4</guid><dc:creator>Brian Flaherty</dc:creator><description>&lt;p&gt;I have made changes to the Update-PWDocumentFile cmdlet. This should do what you are needing.&amp;nbsp; See &lt;strong&gt;Get-Help Update-PWDocumentFile -Full&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This should be available in the next release of the PWPS_DAB module.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I update a single document using powershell?</title><link>https://communities.bentley.com/thread/444102?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2018 21:43:25 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:d018403f-ae61-4cad-85b4-236320f5232e</guid><dc:creator>Bill Leddy</dc:creator><description>&lt;p&gt;Using CheckOut/CheckIn successfully avoids the &amp;quot;deleting subfolders&amp;quot; message, but it also removes the local copy.&amp;nbsp; Obviously, you can copy the file to another location before check-in if you need to retain a local copy.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Check-out cmdlet: CheckOut-PWDocuments (don&amp;#39;t use the -CopyOut switch)&lt;/p&gt;
&lt;p&gt;Check-in cmdlet: CheckIn-PwDocumentsOrFree&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I update a single document using powershell?</title><link>https://communities.bentley.com/thread/444087?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2018 20:17:14 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:59abb57d-4438-4325-b773-3044b5ecd692</guid><dc:creator>Bill Leddy</dc:creator><description>&lt;p&gt;The documentation for this cmdlet is a little sketchy.&amp;nbsp; It appears to me that this cmdlet takes documents from Projectwise as input and replaces the files on the local disk.&amp;nbsp; I want to go the other direction.&lt;/p&gt;
&lt;p&gt;However, you got me thinking: maybe I should try a checkout/checkin combination.&amp;nbsp; &amp;nbsp;I didn&amp;#39;t consider checkout previously because the document is completely rebuilt from other files and a copy of the file from projectwise is not required.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I update a single document using powershell?</title><link>https://communities.bentley.com/thread/444077?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2018 19:22:42 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:3da7b8d3-3fc1-49dd-be2a-bd28349ac024</guid><dc:creator>Brian Flaherty</dc:creator><description>&lt;p&gt;Have you tried Update-PWDocumentFile?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>