-
Notifications
You must be signed in to change notification settings - Fork 12
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ideas #16
Comments
For the next release (possibly being pushed up to PSGallery tomorrow) I've made a number of changes including...
Thanks for the feedback and apologies for the delay! |
Thanks again - closing this now with the release of MilestonePSTools 1.1.0 on PSGallery |
Fantastic! Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
Get-ManagementServer
throw and it's impractical.-Force
parameter toConnect-ManagementServer
, right now it just warns but stays connected to the first server. Also I'd argue that it should be an error instead of a warning 😉The idea for 1 & 2 is to simplify the following script:
These kind of problems can bite you hard if you fool around in ISE and change
$server
and run and boom, you just modified the previously connected server.And about my previous reports about
-ErrorAction
not being respected and$ErrorActionPreference
working etc, it's all explained here MicrosoftDocs/PowerShell-Docs#1583 (with a more pragmatic approach explained here https://stackoverflow.com/questions/9294949/when-should-i-use-write-error-vs-throw-terminating-vs-non-terminating-errors/39949027#39949027)Basically powershell is a real mess when it comes to errors.
The text was updated successfully, but these errors were encountered: