diff --git a/.DS_Store b/.DS_Store index 8ee47e3..3bbf007 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/RDM/.DS_Store b/RDM/.DS_Store index af1915b..4b5025d 100644 Binary files a/RDM/.DS_Store and b/RDM/.DS_Store differ diff --git a/RDM/entries/MassEdits/Edit-EntryPassword-All-Vaults.ps1 b/RDM/entries/MassEdits/Edit-EntryPassword-All-Vaults.ps1 deleted file mode 100644 index 5d15048..0000000 --- a/RDM/entries/MassEdits/Edit-EntryPassword-All-Vaults.ps1 +++ /dev/null @@ -1,67 +0,0 @@ -<# -.SYNOPSIS - Change password on an individual Credential entry shared between all Vaults - -.DESCRIPTION - Option to change all Credential entries password sharing the same name across all Vaults - - SN: This is not a secure option we recommend having a seperate Vault with shared credentials - -.PARAMETER - None - -.INPUTS - Confirmation will be required for EACH Un-Parent - -.OUTPUTS - None - -.NOTES - Version: 1.0 - Author: Eric St-Martin - Creation Date: 05/05/2021 - Purpose/Change: Initial script development -.EXAMPLE - -#> - -#-------------------------------[Initialisations]------------------------------ - -#Set Error Action to Silently Continue -$ErrorActionPreference = 'SilentlyContinue' - -#check if RDM PS module is installed -if(-not (Get-Module Devolutions.PowerShell -ListAvailable)){ - Install-Module Devolutions.PowerShell -Scope CurrentUser -} - -# Adapt the data source name -$ds = Get-RDMDataSource -Name "NameOfYourDataSourceHere" -Set-RDMCurrentDataSource $ds - -#---------------------------------[Execution]---------------------------------- - -$repos = Get-RDMRepository -$newPass = Read-Host "Enter new password" -AsSecureString -$EntryName = Read-Host "Enter name of entry for password change" - -foreach ($r in $repos) -{ - Set-RDMCurrentRepository $r - $creds = Get-RDMSession | Where-Object {$_.Name -EQ $EntryName -and $_.ConnectionType -eq "Credential"} - Set-RDMSessionPassword $creds.ID -Password $newPass - - Write-Host $r.Name"\"$creds.Name"password has been successfully change." -} -Update-RDMUI - -Write-Host "Changes completed!" - -#----------------------------------[Closure]----------------------------------- -# If running in the console only, ask to press a key -if ($Host.Name -eq "ConsoleHost") -{ - Write-Host "Press any key to continue..." - $Host.UI.RawUI.FlushInputBuffer() - $Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyUp") > $null -} \ No newline at end of file