Is there a simple way to change all the current Users / Lists / Groups within the UAC of a folder (or set of folders) to Read Only / File Read?
We need this for our Archives. I already have a PowerShell script that will move the folders into the Archive…
I am trying to run a Powershell script using Task Scheduler. The script uses a Logical account with an encrypted password file. If run manually, I am prompted to login to the connection client. I can dismiss the client without logging in and the script…
I would like to write a report to excel based on a saved search. I also need to write a custom attribute 'Revision No' to excel.
In the if block the custom attribute is written to the terminal but it doesn't write to Excel.
$SavedSearch = 'PW…
Get-PWUserByLastLogin is returning a significant number of users (with the command Get-PWUserByLastLogin -DaysAgo 60)
where the user LastLogin day is 1/1/1979 (the equivalent of a zero maybe?). Looking at the audit history of some of these turns up…
I have a list of PW GUID's I want to create a set or add to a set with all the docs in my list. Looks like the Add-PWDocumentFlatSetMember on accepts Doc name and folder path. Is there a way to add to a set just using the GID in one script? If not is…
I have a new blog post containing a simple function to select a local file using the Windows Open File Dialog. Please check it out. Hopefully you find it useful.
https://powerwisescripting.blog/2023/03/28/howto-function-show-openfiledialog/
Hi All,
I was given the following script from Bentley to allow me to export a fair amount of data from our datasource which will be backed up somewhere (somebody else will be looking after that). For now I just want to copy out the files.
The command…
I am trying to get all User type access control list using Get-PWFolderSecurity. But unfortunately it is taking more time to get the results and I did not find a way to filter only ' User' type results. Is there any way to filter out the results so that…
Hi,
I want to change the environment to folder which is containing the documents. There is cmdlet available however that is changing the environment to empty folders.
Is there a way we can fix using the powershell?
Thank you!
Regards,
Amol …
Hi Everyone,
Im working on a new Project Creation tool for our company, usually to do this we copy a template, rename etc then we export the Access Control to Excel, rename the Group to the new Project and reimport.
I'm wondering if there is a way…
We are looking to archive a few hundred projects and have decided to move them from where they currently live to an "Archive" folder with read-only permissions. I cannot find a cmdlet that will let us do this. The "Move-PWFolder" errors out with an "Invalid…
Hello,
I am trying to set the environment of a folder and all its subfolders. It's able to find all folders and their ID with line 7 (of the image below), but when I try to set the environment it returns the warnings "Folder 'XXXX' not found". The environment…
Intension : We are running a script via Powershell ISE, this script used to call another script and will running continuesly 24/7. The problem is it get struck between some point. and we need to re-start it manually. For that we put the below script to…
Based on a previous post ( Exporting complex folder structure from ProjectWise to Windows - ProjectWise PowerShell Extensions Forum - ProjectWise - Bentley Communities )
I've successfully re-created a ProjectWise tree locally using the following:…
Using the Add-PWSavedSearch is it possible to define a search looking for files checked out on a certain date?
I'm trying to create a script which Free's files that have been left Checked Out for 30 days or more. (for context, in case there is a better…
I have a new blog post containing a simple function to retrieve the members of the primary administrators group. Please check it out. Hopefully you find it useful.
http://powerwisescripting.blog/2022/11/25/howto-function-to-retrieve-adminstrators-in…
Hello,
My template work area has all the folder structure with the required workflows with permissions applied. Also, the template has user-lists with a particular prefix.
When I try to create New-PWRichProject from the template project, I go through…
Hello, When i run the New-PWLogin Command, at the start it gives the following three messages as output:
Security Protocol now set to TLS 1.2
PWPS_DAB Version is 2.1.18.0
This is a 64-bit process.
Since I want to create an .exe-file with this…
We are trying to add a PW365 component to our existing ProjectWise project creation PowerShell script using Add-PW365Project , and have run into issues with the OIDCToken. After looking into this post to troubleshoot, it seems like Set-PWConnectedProjectAssociation…
Trying to updating the folder properties which i am trying to get the value from one source folder and updating the target folder. The below code is working when there is a value in the source folder but giving a below error if there is no value. Could…
Hello, is it possible to customize by PowerShell Script, the document version, once it is added to the ProjectWise Datasource? Basically, it is possible to customize the Document versions, by using WRE. But when we are adding a new Document to ProjectWise…