Proper method to create folders and subfolders in RDM PowerShell
Hello. Can someone provide a simple way to create folders and sub-folders in powershell?
I'm using New-RDMSession to create the folders and subfolders but after a while it stops working and updating the data source using F5 does not show the top level folder. The folder showing it's being generated by the PS output but I get nothing in the data source anymore. I'm using 2023.2.17.0 portable. Powershell 7 with Devolutions Powershell 1023.2.0.2.
I followed several of the old articles posted but they stopped working too.
Glen
Hello,
Do you have a sample of the script you are using?
What data source type are you using?
Have you tried using Set-RDMSession with the -Refresh switch following the New-RDMSession to save the new folder?
Best regards,
Érica Poirier
Hello. I was able to figure out the issue using the Update-RDMUI commandlet.
Glen
Hello,
Do you have a sample of the script you are using?
What data source type are you using?
Have you tried using Set-RDMSession with the -Refresh switch following the New-RDMSession to save the new folder?
Best regards,
Hello,
That's a good news you've figured out the problem. And thank you for sharing your solution with our community.
Best regards,
Érica Poirier