Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Updates
  • Loading branch information
FriedrichWeinmann committed Oct 6, 2024
commit 1d320b673c3d45fc8165b840a0e87c9644f774e6
Binary file modified PSModuleDevelopment/bin/PSModuleDevelopment.dll
Binary file not shown.
Binary file modified PSModuleDevelopment/bin/PSModuleDevelopment.pdb
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static T GetValue<T>(this PSObject PSObject, string Name)
/// <returns>The values</returns>
public static ArrayList GetValues(this PSObject PSObject, string Name)
{
if (null == PSObject.Properties[Name].Value)
if (null == PSObject || null == PSObject.Properties || null == PSObject.Properties[Name].Value)
return new ArrayList();
PSObject value = PSObject.AsPSObject(PSObject.Properties[Name].Value);
if (null == value.BaseObject)
Expand Down