-
Notifications
You must be signed in to change notification settings - Fork 619
Update Add-VpnConnection.md #3537
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
Conversation
removed [XML] from example 5 for the cmdlet to work Fixes MicrosoftDocs#3042
@JohanFreelancer9 Please copy review |
Learn Build status updates of commit 1941c78: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
Learn Build status updates of commit 51fc09f: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
### Example 5: Add a VPN connection that uses already generated EAP XML configuration | ||
```powershell | ||
PS C:\> $EAPXml = [xml]Get-Content -Path C:\eap-config.xml | ||
PS C:\> $EAPXml = Get-Content -Path C:\eap-config.xml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you feel there is a need to define $EAPXml
as [xml]
instead (PS C:\> [xml]$EAPXml
)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought so too. However, there is a chance they would copy-paste that as well and report errors like what we have seen now.
removed [XML] from example 5 for the cmdlet to work
Fixes #3042