Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certificate based authentication for Connect-SafeguardSPS #487

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

evetovicsm
Copy link

#486 -> Created an option for my request.

.EXAMPLE
Get-SafeguardSpsSupportBundle
#>
function Get-SafeguardSpsSupportBundle
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've only just taken a quick look at this, but why has this Get-SafeguardSpsSupportBundle method been removed?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like I accidentally removed it from the end somehow, I added it back on the new commit.

Added back the function Get-SafeguardSpsSupportBundle which was accidentaly removed
Disable-SslVerification
if ($global:PSDefaultParameterValues) { $PSDefaultParameterValues = $global:PSDefaultParameterValues.Clone() }
}
write-host $Thumbrint
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this write-host serve a purpose or is it leftover debug code?

[Parameter(Mandatory=$false)]
[object]$Parameters,
[Parameter(Mandatory=$false)]
[string]$InFile
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is the $OutFile parameter being removed?

@Kevin-Andrew
Copy link
Contributor

It appears that one of your commits changed all of the line endings, causing the whole file to appear as changed.
image

The first commit made did not have this problem.
image

I know there is an option in GitHub to ignore white space when looking at a diff, but other general rules and best practices is that any changes should conform to the existing coding styles and rules, including the use of white space. It appears that the original files are only using a Line Feed character. Can you check your text editor and correct the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants