<?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>I want to get Storage disk space from projectwise for all datasources and also need to show the disk usage in TB. I had tried to execute the command Get-PWStorageDiskUsage .  but i am not getting any examples. if anyone tried of getting the storage disk us</title><link>https://communities.bentley.com/products/projectwise/f/projectwise-powershell-extensions-forum/168553/i-want-to-get-storage-disk-space-from-projectwise-for-all-datasources-and-also-need-to-show-the-disk-usage-in-tb-i-had-tried-to-execute-the-command-get-pwstoragediskusage-but-i-am-not-getting-any-examples-if-anyone-tried-of-g</link><description>I want to get Storage disk space from projectwise for all datasources and also need to show the disk usage in TB. I had tried to execute the command Get-PWStorageDiskUsage . but i am not getting any examples. if anyone tired of getting the storage disk</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I want to get Storage disk space from projectwise for all datasources and also need to show the disk usage in TB. I had tried to execute the command Get-PWStorageDiskUsage .  but i am not getting any examples. if anyone tried of getting the storage dis</title><link>https://communities.bentley.com/thread/483471?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 16:05:21 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:bdce7ee8-cc8a-46f7-bc2f-7a0be293861b</guid><dc:creator>Kevin van Haaren</dc:creator><description>&lt;p&gt;PowerShell can do unit conversions for you, so converting bytes to terabytes is just a matter of dividing by&amp;nbsp; 1TB&lt;/p&gt;
&lt;p&gt;$size = 1234567890 / 1TB&lt;/p&gt;
&lt;p&gt;no space before the TB.&lt;/p&gt;
&lt;p&gt;More on this here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.powershellmagazine.com/2013/05/20/converting-to-size-units-kb-mbgbtb-and-pb-without-using-powershell-multipliers/"&gt;https://www.powershellmagazine.com/2013/05/20/converting-to-size-units-kb-mbgbtb-and-pb-without-using-powershell-multipliers/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To do multiple datasources you need to create a list of datasources then use a for loop to login to each datasource, get the report, then log out of the datasource, and move on to the next datasource.&lt;/p&gt;
&lt;p&gt;Details on for loops here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.business.com/articles/powershell-for-loop/"&gt;www.business.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to get Storage disk space from projectwise for all datasources and also need to show the disk usage in TB. I had tried to execute the command Get-PWStorageDiskUsage .  but i am not getting any examples. if anyone tried of getting the storage dis</title><link>https://communities.bentley.com/thread/483303?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 03:11:17 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:6b32ddfb-c03f-48d1-a3bd-65cad9f0c790</guid><dc:creator>swaroop bukke</dc:creator><description>&lt;p&gt;i had already tried of Get-PWStorageDiskUsage and i can see the result but i want to do for all the data sources and need to convert in TB&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>