Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,7 @@ private static bool IsNotRemotingProperty(string name)
var isRemotingPropertyName = name.Equals(RemotingConstants.ComputerNameNoteProperty, StringComparison.OrdinalIgnoreCase)
|| name.Equals(RemotingConstants.ShowComputerNameNoteProperty, StringComparison.OrdinalIgnoreCase)
|| name.Equals(RemotingConstants.RunspaceIdNoteProperty, StringComparison.OrdinalIgnoreCase)
|| name.Equals(RemotingConstants.SourceJobInstanceId, StringComparison.OrdinalIgnoreCase)
|| name.Equals(RemotingConstants.SourceLength, StringComparison.OrdinalIgnoreCase);
|| name.Equals(RemotingConstants.SourceJobInstanceId, StringComparison.OrdinalIgnoreCase);
return !isRemotingPropertyName;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ internal static class RemotingConstants
internal static readonly string RunspaceIdNoteProperty = "RunspaceId";
internal static readonly string ShowComputerNameNoteProperty = "PSShowComputerName";
internal static readonly string SourceJobInstanceId = "PSSourceJobInstanceId";
internal static readonly string SourceLength = "Length";
internal static readonly string EventObject = "PSEventObject";
// used by Custom Shell related cmdlets.
internal const string PSSessionConfigurationNoun = "PSSessionConfiguration";
Expand Down