Skip to content

Conversation

@maddieclayton
Copy link

No description provided.

var powershellProfile = sessionState.PSVariable.GetValue("PROFILE") as PSObject;
if (powershellProfile == null || !powershellProfile.Members.ToList().Any(a => a.Name.Equals("CurrentUserAllHosts")))
{
throw new NullReferenceException(string.Format(Properties.Resources.ProfilePathNull, "PROFILE.CurrentUserAllHosts"));
Copy link
Owner

Choose a reason for hiding this comment

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

PSInvalidOperationException

@markcowl markcowl merged commit 5f1dcd5 into markcowl:azinitial Aug 24, 2018
@maddieclayton maddieclayton deleted the release-2018-08-24 branch August 30, 2018 19:44
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.

2 participants