Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update AzF profile to be useful#1341

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
rjmholt merged 3 commits intoPowerShell:masterfromrjmholt:azf-az-profile
Sep 14, 2019

Conversation

@rjmholt
Copy link
Contributor

PR Summary

I've run the profile collector on the AzF profile (with some difficulty) and collected a new profile that captures the default Az installation.

I've also removed cmdlets that don't work in AzF despite being present, likeStart-Job andEnter-PSSession.

I had to make some small changes to the profile collector to not crash (plus one where I realised that collecting a function if we're not able to load it is unhelpful).

PR Checklist

Copy link
Collaborator

@bergmeisterbergmeister left a comment

Choose a reason for hiding this comment

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

Looks ok to me but it broke 1 CI test:

    Context Targeting new-form Az profiles alongside older profiles      [-] Finds AzF problems with a script 7.37s        KeyNotFoundException: The given key 'InDisconnectedSession' was not present in the dictionary.        at <ScriptBlock>, C:\projects\psscriptanalyzer\Tests\Rules\UseCompatibleCommands.Tests.ps1: line 334

@rjmholt
Copy link
ContributorAuthor

Impressive that testing picked that up! I'll have to make some further edits

@rjmholt
Copy link
ContributorAuthor

Impressive that testing picked that up!

Have to credit you entirely for that@bergmeister -- you asked for those tests.

Looks like they're working now. Hopefully theLazys don't hide other faults. I took out parameters and commands manually, and it looks like I took a parameter out without its alias there.

bergmeister reacted with laugh emojibergmeister reacted with hooray emoji

@rjmholtrjmholt merged commit5e207aa intoPowerShell:masterSep 14, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@bergmeisterbergmeisterbergmeister approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@rjmholt@bergmeister

[8]ページ先頭

©2009-2025 Movatter.jp