<?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 to disable External ProjectWise users if they have not logged in after a pre-determined amount of time</title><link>https://communities.bentley.com/products/projectwise/f/projectwise-powershell-extensions-forum/193566/how-to-disable-external-projectwise-users-if-they-have-not-logged-in-after-a-pre-determined-amount-of-time</link><description>How to disable External ProjectWise users if they have not logged in after a pre-determined amount of time 
 
 do you have any powershell script or command to check the external users who have not logged in for some time . 
 how to disable the user account</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to disable External ProjectWise users if they have not logged in after a pre-determined amount of time</title><link>https://communities.bentley.com/thread/573242?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2020 20:40:35 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:4646258a-ad86-44d0-be03-bcd95209c49e</guid><dc:creator>Brian Flaherty</dc:creator><description>&lt;p&gt;You use one of the following to determine when a user last logged in (check the help for each:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Get-PWMonthlyLogins&lt;/li&gt;
&lt;li&gt;Get-PWMonthlyLoginsDataTable&lt;/li&gt;
&lt;li&gt;Get-PWUserByLastLogin&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Then, use the&amp;nbsp;&lt;strong&gt;Set-PWUserEnabled&amp;nbsp;&lt;/strong&gt; cmdlet to disable each user.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>