diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e6f560f6..15b320ed 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -573,7 +573,7 @@ extension to see more specific or smaller todo's, unless you have specific ideas [extension remote SSH]: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh "Visit Marketplace" [extension remote SSH editing]: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh-edit "Visit Marketplace" [develop cmdlets]: https://docs.microsoft.com/en-us/powershell/scripting/developer/cmdlet/cmdlet-development-guidelines?view=powershell-7 "Visit documentation" -[powershell style]: https://poshcode.gitbooks.io/powershell-practice-and-style/Style-Guide/Introduction.html "PowerShell code style" +[powershell style]: https://poshcode.gitbook.io/powershell-practice-and-style/introduction/readme "PowerShell code style" [module psscriptanalyzer]: https://github.com/PowerShell/PSScriptAnalyzer "Visit PSScriptAnalyzer repository" [about comment based help]: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_comment_based_help?view=powershell-7 "Visit documentation" [comment based help examples]: https://docs.microsoft.com/en-us/powershell/scripting/developer/help/examples-of-comment-based-help?view=powershell-7 "Visit documentation" diff --git a/Config/HelpContent/0.11.0/Ruleset.Compatibility_eb203a5b-d397-4909-9fe9-00b0f083f36a_en-US_HelpContent.cab b/Config/HelpContent/0.11.0/Ruleset.Compatibility_eb203a5b-d397-4909-9fe9-00b0f083f36a_en-US_HelpContent.cab index ca5e3e02..a3141a6f 100644 Binary files a/Config/HelpContent/0.11.0/Ruleset.Compatibility_eb203a5b-d397-4909-9fe9-00b0f083f36a_en-US_HelpContent.cab and b/Config/HelpContent/0.11.0/Ruleset.Compatibility_eb203a5b-d397-4909-9fe9-00b0f083f36a_en-US_HelpContent.cab differ diff --git a/Config/HelpContent/0.11.0/Ruleset.ComputerInfo_c68a812d-076d-47bd-a73d-8d4600bd3c51_en-US_HelpContent.cab b/Config/HelpContent/0.11.0/Ruleset.ComputerInfo_c68a812d-076d-47bd-a73d-8d4600bd3c51_en-US_HelpContent.cab index ef32e884..c1b551e4 100644 Binary files a/Config/HelpContent/0.11.0/Ruleset.ComputerInfo_c68a812d-076d-47bd-a73d-8d4600bd3c51_en-US_HelpContent.cab and b/Config/HelpContent/0.11.0/Ruleset.ComputerInfo_c68a812d-076d-47bd-a73d-8d4600bd3c51_en-US_HelpContent.cab differ diff --git a/Config/HelpContent/0.11.0/Ruleset.Firewall_3ee23849-8adf-46ee-95f9-7a02417e1f4b_en-US_HelpContent.cab b/Config/HelpContent/0.11.0/Ruleset.Firewall_3ee23849-8adf-46ee-95f9-7a02417e1f4b_en-US_HelpContent.cab index fa5e72a3..0bcd5918 100644 Binary files a/Config/HelpContent/0.11.0/Ruleset.Firewall_3ee23849-8adf-46ee-95f9-7a02417e1f4b_en-US_HelpContent.cab and b/Config/HelpContent/0.11.0/Ruleset.Firewall_3ee23849-8adf-46ee-95f9-7a02417e1f4b_en-US_HelpContent.cab differ diff --git a/Config/HelpContent/0.11.0/Ruleset.IP_2f356d8c-aad0-462f-9cd7-fff31c7ab1d0_en-US_HelpContent.cab b/Config/HelpContent/0.11.0/Ruleset.IP_2f356d8c-aad0-462f-9cd7-fff31c7ab1d0_en-US_HelpContent.cab index dee52cde..efc2f310 100644 Binary files a/Config/HelpContent/0.11.0/Ruleset.IP_2f356d8c-aad0-462f-9cd7-fff31c7ab1d0_en-US_HelpContent.cab and b/Config/HelpContent/0.11.0/Ruleset.IP_2f356d8c-aad0-462f-9cd7-fff31c7ab1d0_en-US_HelpContent.cab differ diff --git a/Config/HelpContent/0.11.0/Ruleset.Initialize_41585bd3-3f4d-4669-9919-2d19c0451b73_en-US_HelpContent.cab b/Config/HelpContent/0.11.0/Ruleset.Initialize_41585bd3-3f4d-4669-9919-2d19c0451b73_en-US_HelpContent.cab index 218e232f..39f25c9b 100644 Binary files a/Config/HelpContent/0.11.0/Ruleset.Initialize_41585bd3-3f4d-4669-9919-2d19c0451b73_en-US_HelpContent.cab and b/Config/HelpContent/0.11.0/Ruleset.Initialize_41585bd3-3f4d-4669-9919-2d19c0451b73_en-US_HelpContent.cab differ diff --git a/Config/HelpContent/0.11.0/Ruleset.Logging_9be5568a-a48e-4e96-a6df-90f699cf1c8a_en-US_HelpContent.cab b/Config/HelpContent/0.11.0/Ruleset.Logging_9be5568a-a48e-4e96-a6df-90f699cf1c8a_en-US_HelpContent.cab index 0bc62f4a..e1be32ca 100644 Binary files a/Config/HelpContent/0.11.0/Ruleset.Logging_9be5568a-a48e-4e96-a6df-90f699cf1c8a_en-US_HelpContent.cab and b/Config/HelpContent/0.11.0/Ruleset.Logging_9be5568a-a48e-4e96-a6df-90f699cf1c8a_en-US_HelpContent.cab differ diff --git a/Config/HelpContent/0.11.0/Ruleset.ProgramInfo_49f11777-b8b6-4fed-bd82-32c8f48db81e_en-US_HelpContent.cab b/Config/HelpContent/0.11.0/Ruleset.ProgramInfo_49f11777-b8b6-4fed-bd82-32c8f48db81e_en-US_HelpContent.cab index cba84085..2c888ed6 100644 Binary files a/Config/HelpContent/0.11.0/Ruleset.ProgramInfo_49f11777-b8b6-4fed-bd82-32c8f48db81e_en-US_HelpContent.cab and b/Config/HelpContent/0.11.0/Ruleset.ProgramInfo_49f11777-b8b6-4fed-bd82-32c8f48db81e_en-US_HelpContent.cab differ diff --git a/Config/HelpContent/0.11.0/Ruleset.Remote_28ed593c-ae6e-4067-8a50-28f0d32d2edd_en-US_HelpContent.cab b/Config/HelpContent/0.11.0/Ruleset.Remote_28ed593c-ae6e-4067-8a50-28f0d32d2edd_en-US_HelpContent.cab index 4a84f432..4967c731 100644 Binary files a/Config/HelpContent/0.11.0/Ruleset.Remote_28ed593c-ae6e-4067-8a50-28f0d32d2edd_en-US_HelpContent.cab and b/Config/HelpContent/0.11.0/Ruleset.Remote_28ed593c-ae6e-4067-8a50-28f0d32d2edd_en-US_HelpContent.cab differ diff --git a/Config/HelpContent/0.11.0/Ruleset.Test_e40d3133-e3f2-47f3-9f81-572732cc7c91_en-US_HelpContent.cab b/Config/HelpContent/0.11.0/Ruleset.Test_e40d3133-e3f2-47f3-9f81-572732cc7c91_en-US_HelpContent.cab index e29e0a78..7c06766b 100644 Binary files a/Config/HelpContent/0.11.0/Ruleset.Test_e40d3133-e3f2-47f3-9f81-572732cc7c91_en-US_HelpContent.cab and b/Config/HelpContent/0.11.0/Ruleset.Test_e40d3133-e3f2-47f3-9f81-572732cc7c91_en-US_HelpContent.cab differ diff --git a/Config/HelpContent/0.11.0/Ruleset.UserInfo_136254f4-4730-4ed1-b9e9-1ccecfe09ee9_en-US_HelpContent.cab b/Config/HelpContent/0.11.0/Ruleset.UserInfo_136254f4-4730-4ed1-b9e9-1ccecfe09ee9_en-US_HelpContent.cab index a6c20a72..ab56cbe6 100644 Binary files a/Config/HelpContent/0.11.0/Ruleset.UserInfo_136254f4-4730-4ed1-b9e9-1ccecfe09ee9_en-US_HelpContent.cab and b/Config/HelpContent/0.11.0/Ruleset.UserInfo_136254f4-4730-4ed1-b9e9-1ccecfe09ee9_en-US_HelpContent.cab differ diff --git a/Config/HelpContent/0.11.0/Ruleset.Utility_5f38e46f-1bc4-489d-90df-72755129cfdd_en-US_HelpContent.cab b/Config/HelpContent/0.11.0/Ruleset.Utility_5f38e46f-1bc4-489d-90df-72755129cfdd_en-US_HelpContent.cab index 04cd68b9..75f82924 100644 Binary files a/Config/HelpContent/0.11.0/Ruleset.Utility_5f38e46f-1bc4-489d-90df-72755129cfdd_en-US_HelpContent.cab and b/Config/HelpContent/0.11.0/Ruleset.Utility_5f38e46f-1bc4-489d-90df-72755129cfdd_en-US_HelpContent.cab differ diff --git a/Modules/Ruleset.Initialize/Help/en-US/Initialize-Service.md b/Modules/Ruleset.Initialize/Help/en-US/Initialize-Service.md index d3b9e3f7..3f92eb8d 100644 --- a/Modules/Ruleset.Initialize/Help/en-US/Initialize-Service.md +++ b/Modules/Ruleset.Initialize/Help/en-US/Initialize-Service.md @@ -83,7 +83,7 @@ TODO: Optionally set services to automatic startup, most of services are needed ## RELATED LINKS -[https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Initialize/Initialize-Service.md](https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Initialize/Initialize-Service.md) +[https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Initialize/Help/en-US/Initialize-Service.md](https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Initialize/Help/en-US/Initialize-Service.md) [https://docs.microsoft.com/en-us/dotnet/api/system.serviceprocess.servicecontrollerstatus](https://docs.microsoft.com/en-us/dotnet/api/system.serviceprocess.servicecontrollerstatus) diff --git a/Modules/Ruleset.Initialize/Public/Initialize-Module.ps1 b/Modules/Ruleset.Initialize/Public/Initialize-Module.ps1 index 250d118b..2b59325c 100644 --- a/Modules/Ruleset.Initialize/Public/Initialize-Module.ps1 +++ b/Modules/Ruleset.Initialize/Public/Initialize-Module.ps1 @@ -96,7 +96,7 @@ TODO: installing post-git in same session while installing other modules may fai function Initialize-Module { [CmdletBinding(PositionalBinding = $false, - HelpURI = "https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Initialize/Initialize-Module.md" )] + HelpURI = "https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Initialize/Help/en-US/Initialize-Module.md" )] [OutputType([bool])] param ( [Parameter(Mandatory = $true, Position = 0, diff --git a/Modules/Ruleset.Initialize/Public/Initialize-Project.ps1 b/Modules/Ruleset.Initialize/Public/Initialize-Project.ps1 index c60ba21e..a92f99c9 100644 --- a/Modules/Ruleset.Initialize/Public/Initialize-Project.ps1 +++ b/Modules/Ruleset.Initialize/Public/Initialize-Project.ps1 @@ -76,7 +76,7 @@ function Initialize-Project [Diagnostics.CodeAnalysis.SuppressMessageAttribute( "PSAvoidUsingWriteHost", "", Scope = "Function", Justification = "Using Write-Host because of output formatting issues")] [CmdletBinding( - HelpURI = "https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Initialize/Initialize-Project.md")] + HelpURI = "https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Initialize/Help/en-US/Initialize-Project.md")] [OutputType([void])] param ( [Parameter()] diff --git a/Modules/Ruleset.Initialize/Public/Initialize-Provider.ps1 b/Modules/Ruleset.Initialize/Public/Initialize-Provider.ps1 index 449417b3..2075c491 100644 --- a/Modules/Ruleset.Initialize/Public/Initialize-Provider.ps1 +++ b/Modules/Ruleset.Initialize/Public/Initialize-Provider.ps1 @@ -69,7 +69,7 @@ Before updating PowerShellGet or PackageManagement, you should always install th function Initialize-Provider { [CmdletBinding(PositionalBinding = $false, - HelpURI = "https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Initialize/Initialize-Provider.md")] + HelpURI = "https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Initialize/Help/en-US/Initialize-Provider.md")] [OutputType([bool])] param ( [Parameter(Mandatory = $true, Position = 0)] diff --git a/Modules/Ruleset.Initialize/Public/Initialize-Service.ps1 b/Modules/Ruleset.Initialize/Public/Initialize-Service.ps1 index a8e1ac3b..d8abd8d0 100644 --- a/Modules/Ruleset.Initialize/Public/Initialize-Service.ps1 +++ b/Modules/Ruleset.Initialize/Public/Initialize-Service.ps1 @@ -66,7 +66,7 @@ TODO: Optionally set services to automatic startup, most of services are needed [System.ServiceProcess.ServiceController[]] .LINK -https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Initialize/Initialize-Service.md +https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Initialize/Help/en-US/Initialize-Service.md .LINK https://docs.microsoft.com/en-us/dotnet/api/system.serviceprocess.servicecontrollerstatus @@ -77,7 +77,7 @@ https://docs.microsoft.com/en-us/dotnet/api/system.serviceprocess.servicestartmo function Initialize-Service { [CmdletBinding( - HelpURI = "https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Initialize/Initialize-Service.md")] + HelpURI = "https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Initialize/Help/en-US/Initialize-Service.md")] [OutputType([bool])] param ( [Parameter(Mandatory = $true, ValueFromPipeline = $true)] diff --git a/Modules/Ruleset.Initialize/en-US/Ruleset.Initialize-help.xml b/Modules/Ruleset.Initialize/en-US/Ruleset.Initialize-help.xml index 7427ff3e..e87591ec 100644 --- a/Modules/Ruleset.Initialize/en-US/Ruleset.Initialize-help.xml +++ b/Modules/Ruleset.Initialize/en-US/Ruleset.Initialize-help.xml @@ -545,13 +545,9 @@ $true if WinRM service was started $false otherwise - Online Version: + https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Initialize/Help/en-US/Initialize-Service.md https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Initialize/Help/en-US/Initialize-Service.md - - https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Initialize/Initialize-Service.md - https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Initialize/Initialize-Service.md - https://docs.microsoft.com/en-us/dotnet/api/system.serviceprocess.servicecontrollerstatus https://docs.microsoft.com/en-us/dotnet/api/system.serviceprocess.servicecontrollerstatus diff --git a/Modules/Ruleset.Remote/Help/en-US/Connect-Computer.md b/Modules/Ruleset.Remote/Help/en-US/Connect-Computer.md index 0cabfbbd..1492895a 100644 --- a/Modules/Ruleset.Remote/Help/en-US/Connect-Computer.md +++ b/Modules/Ruleset.Remote/Help/en-US/Connect-Computer.md @@ -215,5 +215,3 @@ TODO: When localhost or dot (.) is specified it should be treated as localhost w requirements must be met. ## RELATED LINKS - -[https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Connect-Computer.md](https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Connect-Computer.md) diff --git a/Modules/Ruleset.Remote/Help/en-US/Disable-RemoteRegistry.md b/Modules/Ruleset.Remote/Help/en-US/Disable-RemoteRegistry.md index 968fc07f..3f5178a1 100644 --- a/Modules/Ruleset.Remote/Help/en-US/Disable-RemoteRegistry.md +++ b/Modules/Ruleset.Remote/Help/en-US/Disable-RemoteRegistry.md @@ -82,5 +82,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable TODO: Does not revert firewall rules because previous status is unknown ## RELATED LINKS - -[https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Disable-RemoteRegistry.md](https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Disable-RemoteRegistry.md) diff --git a/Modules/Ruleset.Remote/Help/en-US/Disconnect-Computer.md b/Modules/Ruleset.Remote/Help/en-US/Disconnect-Computer.md index 5f92375c..353fe57a 100644 --- a/Modules/Ruleset.Remote/Help/en-US/Disconnect-Computer.md +++ b/Modules/Ruleset.Remote/Help/en-US/Disconnect-Computer.md @@ -68,5 +68,3 @@ TODO: This function should be called at the end of each script since individual implementation needed to prevent disconnection when Deploy-Firewall runs. ## RELATED LINKS - -[https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Disconnect-Computer.md](https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Disconnect-Computer.md) diff --git a/Modules/Ruleset.Remote/Help/en-US/Enable-RemoteRegistry.md b/Modules/Ruleset.Remote/Help/en-US/Enable-RemoteRegistry.md index 4e492754..73ec2fb3 100644 --- a/Modules/Ruleset.Remote/Help/en-US/Enable-RemoteRegistry.md +++ b/Modules/Ruleset.Remote/Help/en-US/Enable-RemoteRegistry.md @@ -87,5 +87,3 @@ In addition to make it work in PS, administrative authentication must be done by to server by client computer. ## RELATED LINKS - -[https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Enable-RemoteRegistry.md](https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Enable-RemoteRegistry.md) diff --git a/Modules/Ruleset.Remote/Help/en-US/Publish-SshKey.md b/Modules/Ruleset.Remote/Help/en-US/Publish-SshKey.md index 32e33766..d2645f5a 100644 --- a/Modules/Ruleset.Remote/Help/en-US/Publish-SshKey.md +++ b/Modules/Ruleset.Remote/Help/en-US/Publish-SshKey.md @@ -179,6 +179,6 @@ TODO: Make use of certificates ## RELATED LINKS -[https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.ProgramInfo/Help/en-US/Publish-SshKey.md](https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.ProgramInfo/Help/en-US/Publish-SshKey.md) +[https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Publish-SshKey.md](https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Publish-SshKey.md) [https://code.visualstudio.com/docs/remote/troubleshooting#_configuring-key-based-authentication](https://code.visualstudio.com/docs/remote/troubleshooting#_configuring-key-based-authentication) diff --git a/Modules/Ruleset.Remote/Help/en-US/Register-SslCertificate.md b/Modules/Ruleset.Remote/Help/en-US/Register-SslCertificate.md index ff2b5992..564d79d8 100644 --- a/Modules/Ruleset.Remote/Help/en-US/Register-SslCertificate.md +++ b/Modules/Ruleset.Remote/Help/en-US/Register-SslCertificate.md @@ -236,4 +236,4 @@ TODO: This function must be simplified and certificate creation should be separa [https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Register-SslCertificate.md](https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Register-SslCertificate.md) -[https://docs.microsoft.com/en-us/powershell/module/pkiclient](https://docs.microsoft.com/en-us/powershell/module/pkiclient) +[https://docs.microsoft.com/en-us/powershell/module/pki](https://docs.microsoft.com/en-us/powershell/module/pki) diff --git a/Modules/Ruleset.Remote/Help/en-US/Test-WinRM.md b/Modules/Ruleset.Remote/Help/en-US/Test-WinRM.md index c676aa1e..9a29e25e 100644 --- a/Modules/Ruleset.Remote/Help/en-US/Test-WinRM.md +++ b/Modules/Ruleset.Remote/Help/en-US/Test-WinRM.md @@ -230,5 +230,3 @@ TODO: Default test should be to localhost which must not ask for credentials TODO: Test for private profile to avoid cryptic error message ## RELATED LINKS - -[https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Test-WinRM.md](https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Test-WinRM.md) diff --git a/Modules/Ruleset.Remote/Help/en-US/Unregister-SslCertificate.md b/Modules/Ruleset.Remote/Help/en-US/Unregister-SslCertificate.md index d84feccd..1eb46654 100644 --- a/Modules/Ruleset.Remote/Help/en-US/Unregister-SslCertificate.md +++ b/Modules/Ruleset.Remote/Help/en-US/Unregister-SslCertificate.md @@ -98,5 +98,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable TODO: Does not undo registration with WinRM listener ## RELATED LINKS - -[https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Unregister-SslCertificate.md](https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Unregister-SslCertificate.md) diff --git a/Modules/Ruleset.Remote/Public/Connect-Computer.ps1 b/Modules/Ruleset.Remote/Public/Connect-Computer.ps1 index f72aa92e..d33e8603 100644 --- a/Modules/Ruleset.Remote/Public/Connect-Computer.ps1 +++ b/Modules/Ruleset.Remote/Public/Connect-Computer.ps1 @@ -92,9 +92,6 @@ None. Connect-Computer does not generate any output .NOTES TODO: When localhost or dot (.) is specified it should be treated as localhost which means localhost requirements must be met. - -.LINK -https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Connect-Computer.md #> function Connect-Computer { diff --git a/Modules/Ruleset.Remote/Public/Disable-RemoteRegistry.ps1 b/Modules/Ruleset.Remote/Public/Disable-RemoteRegistry.ps1 index aa2a102b..828741b6 100644 --- a/Modules/Ruleset.Remote/Public/Disable-RemoteRegistry.ps1 +++ b/Modules/Ruleset.Remote/Public/Disable-RemoteRegistry.ps1 @@ -45,9 +45,6 @@ None. Disable-RemoteRegistry does not generate any output .NOTES TODO: Does not revert firewall rules because previous status is unknown - -.LINK -https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Disable-RemoteRegistry.md #> function Disable-RemoteRegistry { diff --git a/Modules/Ruleset.Remote/Public/Disconnect-Computer.ps1 b/Modules/Ruleset.Remote/Public/Disconnect-Computer.ps1 index 2564bca4..c510ae1f 100644 --- a/Modules/Ruleset.Remote/Public/Disconnect-Computer.ps1 +++ b/Modules/Ruleset.Remote/Public/Disconnect-Computer.ps1 @@ -51,9 +51,6 @@ None. Disconnect-Computer does not generate any output TODO: If there are multiple connections, remove only specific ones TODO: This function should be called at the end of each script since individual scripts may run, implementation needed to prevent disconnection when Deploy-Firewall runs. - -.LINK -https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Disconnect-Computer.md #> function Disconnect-Computer { diff --git a/Modules/Ruleset.Remote/Public/Enable-RemoteRegistry.ps1 b/Modules/Ruleset.Remote/Public/Enable-RemoteRegistry.ps1 index 53b837c3..9ec5e02b 100644 --- a/Modules/Ruleset.Remote/Public/Enable-RemoteRegistry.ps1 +++ b/Modules/Ruleset.Remote/Public/Enable-RemoteRegistry.ps1 @@ -50,9 +50,6 @@ and must operate on private profile if either one is workstation machine. In addition to make it work in PS, administrative authentication must be done by opening a share to server by client computer. - -.LINK -https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Enable-RemoteRegistry.md #> function Enable-RemoteRegistry { diff --git a/Modules/Ruleset.Remote/Public/Publish-SshKey.ps1 b/Modules/Ruleset.Remote/Public/Publish-SshKey.ps1 index 8e64a993..01e99599 100644 --- a/Modules/Ruleset.Remote/Public/Publish-SshKey.ps1 +++ b/Modules/Ruleset.Remote/Public/Publish-SshKey.ps1 @@ -74,7 +74,7 @@ TODO: Optionally deploy sshd_config to remote TODO: Make use of certificates .LINK -https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.ProgramInfo/Help/en-US/Publish-SshKey.md +https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Publish-SshKey.md .LINK https://code.visualstudio.com/docs/remote/troubleshooting#_configuring-key-based-authentication @@ -82,7 +82,7 @@ https://code.visualstudio.com/docs/remote/troubleshooting#_configuring-key-based function Publish-SshKey { [CmdletBinding(PositionalBinding = $false, SupportsShouldProcess = $true, ConfirmImpact = "High", - HelpURI = "https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.ProgramInfo/Help/en-US/Publish-SshKey.md")] + HelpURI = "https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Publish-SshKey.md")] [OutputType([void])] param ( [Parameter(Mandatory = $true, Position = 0)] diff --git a/Modules/Ruleset.Remote/Public/Register-SslCertificate.ps1 b/Modules/Ruleset.Remote/Public/Register-SslCertificate.ps1 index 3d7f576d..fffbe899 100644 --- a/Modules/Ruleset.Remote/Public/Register-SslCertificate.ps1 +++ b/Modules/Ruleset.Remote/Public/Register-SslCertificate.ps1 @@ -99,7 +99,7 @@ TODO: This function must be simplified and certificate creation should be separa https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Register-SslCertificate.md .LINK -https://docs.microsoft.com/en-us/powershell/module/pkiclient +https://docs.microsoft.com/en-us/powershell/module/pki #> function Register-SslCertificate { diff --git a/Modules/Ruleset.Remote/Public/Test-WinRM.ps1 b/Modules/Ruleset.Remote/Public/Test-WinRM.ps1 index e770e714..6268740e 100644 --- a/Modules/Ruleset.Remote/Public/Test-WinRM.ps1 +++ b/Modules/Ruleset.Remote/Public/Test-WinRM.ps1 @@ -92,9 +92,6 @@ TODO: Test all options are applied, reset by Enable-PSSessionConfiguration or (S TODO: Remote registry test TODO: Default test should be to localhost which must not ask for credentials TODO: Test for private profile to avoid cryptic error message - -.LINK -https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Test-WinRM.md #> function Test-WinRM { diff --git a/Modules/Ruleset.Remote/Public/Unregister-SslCertificate.ps1 b/Modules/Ruleset.Remote/Public/Unregister-SslCertificate.ps1 index 905c8e5e..5e3e296f 100644 --- a/Modules/Ruleset.Remote/Public/Unregister-SslCertificate.ps1 +++ b/Modules/Ruleset.Remote/Public/Unregister-SslCertificate.ps1 @@ -48,9 +48,6 @@ None. Unregister-SslCertificate does not generate any output .NOTES TODO: Does not undo registration with WinRM listener - -.LINK -https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Unregister-SslCertificate.md #> function Unregister-SslCertificate { diff --git a/Modules/Ruleset.Remote/en-US/Ruleset.Remote-help.xml b/Modules/Ruleset.Remote/en-US/Ruleset.Remote-help.xml index 43833e99..8945d082 100644 --- a/Modules/Ruleset.Remote/en-US/Ruleset.Remote-help.xml +++ b/Modules/Ruleset.Remote/en-US/Ruleset.Remote-help.xml @@ -272,7 +272,7 @@ - https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Connect-Computer.md + Online Version: https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Connect-Computer.md @@ -378,7 +378,7 @@ - https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Disable-RemoteRegistry.md + Online Version: https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Disable-RemoteRegistry.md @@ -608,7 +608,7 @@ - https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Disconnect-Computer.md + Online Version: https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Disconnect-Computer.md @@ -715,7 +715,7 @@ - https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Enable-RemoteRegistry.md + Online Version: https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Enable-RemoteRegistry.md @@ -1320,13 +1320,9 @@ PS> Disable-WinRMServer - Online Version: + https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Publish-SshKey.md https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Publish-SshKey.md - - https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.ProgramInfo/Help/en-US/Publish-SshKey.md - https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.ProgramInfo/Help/en-US/Publish-SshKey.md - https://code.visualstudio.com/docs/remote/troubleshooting#_configuring-key-based-authentication https://code.visualstudio.com/docs/remote/troubleshooting#_configuring-key-based-authentication @@ -1666,8 +1662,8 @@ PS> Disable-WinRMServer https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Register-SslCertificate.md - https://docs.microsoft.com/en-us/powershell/module/pkiclient - https://docs.microsoft.com/en-us/powershell/module/pkiclient + https://docs.microsoft.com/en-us/powershell/module/pki + https://docs.microsoft.com/en-us/powershell/module/pki @@ -2558,7 +2554,7 @@ PS> Test-WinRM HTTP -Quiet -Status $RemoteStatus - https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Test-WinRM.md + Online Version: https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Test-WinRM.md @@ -2688,7 +2684,7 @@ PS> Test-WinRM HTTP -Quiet -Status $RemoteStatus - https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Unregister-SslCertificate.md + Online Version: https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.Remote/Help/en-US/Unregister-SslCertificate.md diff --git a/Modules/Ruleset.Utility/Private/Convert-EncodingString.ps1 b/Modules/Ruleset.Utility/Private/Convert-EncodingString.ps1 index 9612cd2a..42ad9590 100644 --- a/Modules/Ruleset.Utility/Private/Convert-EncodingString.ps1 +++ b/Modules/Ruleset.Utility/Private/Convert-EncodingString.ps1 @@ -62,9 +62,6 @@ None. You cannot pipe objects to Convert-EncodingString .NOTES None. -.LINK -https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.MODULENAME/Help/en-US/FUNCTIONNAME.md - .LINK https://docs.microsoft.com/en-us/dotnet/api/system.text.encoding?view=netcore-3.1 @@ -73,8 +70,7 @@ https://docs.microsoft.com/en-us/dotnet/api/microsoft.powershell.commands.filesy #> function Convert-EncodingString { - [CmdletBinding(PositionalBinding = $false, - HelpURI = "https://github.com/metablaster/WindowsFirewallRuleset/blob/master/Modules/Ruleset.MODULENAME/Help/en-US/FUNCTIONNAME.md")] + [CmdletBinding(PositionalBinding = $false)] [OutputType([string])] param ( [Parameter(Mandatory = $true, Position = 0)]