[xml]$XmlDoc = get-content 'Info.plist'
The two lines above work correctly in PowerShell 5.1 on Windows 10 but incorrectly with PowerShell v6 on Linux and MacOSX.
Notice the  just before the end in DOCTYPE.
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">1 vote
Given that you’re dropping directly into the .NET methods here, this is likely a behavioral change in CoreFX. If you could file an issue at https://github.com/dotnet/corefx/issues, they might know more. If they’re insistent that this is happening in the PowerShell layer, please file an issue at https://github.com/powershell/powershell/issues
SCOM 2016 UR2
Visual Studio Code 1.12.2
- Open PowerShell Integrated Terminal
- Import-Module OperationsManager
Expected: List of cross platform agents
Get-SCXAgent : This cmdlet requires PowerShell version 3.0 or greater.
At line:1 char:1
+ CategoryInfo : InvalidOperation: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-SCXAgent
Major Minor Build Revision
5 1 14393 11981 vote
It seems like this is an issue with a System Center cmdlet. Please open an issue in the System Center uservoice: https://systemcenterom.uservoice.com/forums/293064-general-operations-manager-feedback
StackOverflowException when passing [Microsoft.RemoteDesktopServices.Common.RDCBHADetails] objects to/from static methods
I encountered a situation that constantly generates a StackOverflowException. I was trying to pass an object from a v5 static class method to the parameter of another static method in the same class.
static [string] GetActiveManagementServer ([Microsoft.RemoteDesktopServices.Common.RDCBHADetails]$RDCBHADetails)
if ($RDCBHADetails -ne $null)
Method call where $RDCBHADetails is of Type Microsoft.RemoteDesktopServices.Common.RDCBHADetails1 vote
Please re-file this against the Remote Desktop Services UserVoice: https://remotedesktop.uservoice.com/forums/266795-remote-desktop-services-for-enterprises
- Don't see your idea?