From 453e552d913ff507ea088052b73b8a804e9006cb Mon Sep 17 00:00:00 2001 From: Shawn Melton <11204251+wsmelton@users.noreply.github.com> Date: Wed, 12 May 2021 12:46:18 -0500 Subject: [PATCH] Module - reorg RPC commands --- .gitignore | 12 +++++++++++- docs/collections/_commands/Get-TssRpcPasswordType.md | 2 +- .../_commands/Search-TssRpcPasswordType.md | 2 +- .../Get-RpcPasswordType.ps1 | 2 +- .../Search-RpcPasswordType.ps1 | 2 +- 5 files changed, 15 insertions(+), 5 deletions(-) rename src/functions/{secrets => remote-password-changing}/Get-RpcPasswordType.ps1 (97%) rename src/functions/{secrets => remote-password-changing}/Search-RpcPasswordType.ps1 (97%) diff --git a/.gitignore b/.gitignore index a01dbbb5..f14af551 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,14 @@ release.md .vs/ # ignoring doc works for now -/docs/_site \ No newline at end of file +/docs/_site + +# PowerShell Studio +*.TempPoint.* +*.Export.* +*.psprojs +*.psproj +*.RestorePoint.* +*.Run.ps1 +*.Package.ps1 +CustomMenu.inf \ No newline at end of file diff --git a/docs/collections/_commands/Get-TssRpcPasswordType.md b/docs/collections/_commands/Get-TssRpcPasswordType.md index cfda820e..d1602bee 100644 --- a/docs/collections/_commands/Get-TssRpcPasswordType.md +++ b/docs/collections/_commands/Get-TssRpcPasswordType.md @@ -78,5 +78,5 @@ Requires TssSession object returned by New-TssSession [https://thycotic-ps.github.io/thycotic.secretserver/commands/Get-TssRpcPasswordType](https://thycotic-ps.github.io/thycotic.secretserver/commands/Get-TssRpcPasswordType) -[https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/secrets/Get-RpcPasswordType.ps1](https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/secrets/Get-RpcPasswordType.ps1) +[https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/remote-password-changing/Get-RpcPasswordType.ps1](https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/remote-password-changing/Get-RpcPasswordType.ps1) diff --git a/docs/collections/_commands/Search-TssRpcPasswordType.md b/docs/collections/_commands/Search-TssRpcPasswordType.md index f21f19fd..d88886fa 100644 --- a/docs/collections/_commands/Search-TssRpcPasswordType.md +++ b/docs/collections/_commands/Search-TssRpcPasswordType.md @@ -109,5 +109,5 @@ Requires TssSession object returned by New-TssSession [https://thycotic-ps.github.io/thycotic.secretserver/commands/Search-TssRpcPasswordType](https://thycotic-ps.github.io/thycotic.secretserver/commands/Search-TssRpcPasswordType) -[https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/secrets/Search-RpcPasswordType.ps1](https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/secrets/Search-RpcPasswordType.ps1) +[https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/remote-password-changing/Search-RpcPasswordType.ps1](https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/remote-password-changing/Search-RpcPasswordType.ps1) diff --git a/src/functions/secrets/Get-RpcPasswordType.ps1 b/src/functions/remote-password-changing/Get-RpcPasswordType.ps1 similarity index 97% rename from src/functions/secrets/Get-RpcPasswordType.ps1 rename to src/functions/remote-password-changing/Get-RpcPasswordType.ps1 index bc8e8077..7255357a 100644 --- a/src/functions/secrets/Get-RpcPasswordType.ps1 +++ b/src/functions/remote-password-changing/Get-RpcPasswordType.ps1 @@ -16,7 +16,7 @@ function Get-RpcPasswordType { https://thycotic-ps.github.io/thycotic.secretserver/commands/Get-TssRpcPasswordType .LINK - https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/secrets/Get-RpcPasswordType.ps1 + https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/remote-password-changing/Get-RpcPasswordType.ps1 .NOTES Requires TssSession object returned by New-TssSession diff --git a/src/functions/secrets/Search-RpcPasswordType.ps1 b/src/functions/remote-password-changing/Search-RpcPasswordType.ps1 similarity index 97% rename from src/functions/secrets/Search-RpcPasswordType.ps1 rename to src/functions/remote-password-changing/Search-RpcPasswordType.ps1 index 52850409..ba99af72 100644 --- a/src/functions/secrets/Search-RpcPasswordType.ps1 +++ b/src/functions/remote-password-changing/Search-RpcPasswordType.ps1 @@ -10,7 +10,7 @@ function Search-RpcPasswordType { https://thycotic-ps.github.io/thycotic.secretserver/commands/Search-TssRpcPasswordType .LINK - https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/secrets/Search-RpcPasswordType.ps1 + https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/remote-password-changing/Search-RpcPasswordType.ps1 .EXAMPLE $session = New-TssSession -SecretServer https://alpha -Credential $ssCred