Sergei Vorobev

Results 160 comments of Sergei Vorobev

I was thinking about similar thing: generic approach to dump help for commands (like `foo.exe /?` and `foo.exe -h`) and produce tab completion.

Classes scopes and life-cycles are not exposed properly. Unfortunately. It may be pretty hard to support it for PS v5 and most likely support would use non-public APIs. @dlwyatt hit...

Also, after that's done it would make sense to add .psd1 file and publish it to PsGet gallery (and maybe PowerShellGet gallery). .psd1 file would help with versioning (it's the...

That's interesting. I don't think it's mutually exclusive. Need to dig into it.

No worries, I think it's fine to make a force push to master in this case.

I doubt that it would help, Invoke-Parallel has an overhead of it's own of about 0.5 sec per job. Also you would likely see problems with marshaling all the imports...

`ERROR: Deployment failed` seems to be the error from the `azure vm externsion`. The `Get-RunspaceData` call simply marshals the error from a separate powershell runspace (it's like a thread for...

Nice catch! Indeed there is a collection modification inside a `foreach` loop The simplified version of this code is: ``` Foreach($runspace in $runspaces) { ... $temphash = $runspaces.clone() $temphash |...

@lzybkr comment: If you call [ScriptBlock]::Create - the script block doesn't know it's runspace. If you use { } - then it does, and will always run on that runspace.