jeffbi

Results comments of jeffbi

Just to keep interest alive, PowerShell needs `IGroupPolicyObject` to implement some cmdlets, but `IGroupPolicyObject` requires STA. See [PowerShell/PowerShell#3353](https://github.com/PowerShell/PowerShell/issues/3353)

Currently, Get-ComputerInfo pulls three items from the Registry and uses five PInvoked native functions. Pretty much everything else comes from WMI.

@Schroedingers-Cat I've been trying this out on a Windows 10 box using PowerShell 5.1: ``` PS > $PsVersionTable Name Value ---- ----- PSVersion 5.1.14393.953 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0,...

@Schroedingers-Cat In general, `Remove-Item` is working in PowerShell 6. I was able to remove a sub-directory full of all kinds of link types with ``` Remove-Item sub -Force -Recurse ```...

@joeyaiello Just to be sure I'm doing the right thing. Using `Remove-Item symlink` on a either a directory symbolic link or a junction will remove the link but not attempt...

The unix `rm` command even with the `-r` switch removes only the link itself. That's my preference for how the cmdlet should work as well, but I wasn't sure how...

I've put up a PR for this. At the moment the cmdlet silently ignores the -Recurse option it if is given. I'll change that if required.

@andschwa On my Linux box `rm -r linktofolder/` behaves pretty much as you describe, with the addition of an error message which is displayed despite having emptied the target directory:...

A comment from @PaulHigin in a [code review on the PR](https://github.com/PowerShell/PowerShell/pull/3637/commits/ad1a63ed47c868e9c10f99969422d03b53fe1bb3) has brought up another question: should junctions be treated differently than file symlinks or directory symlinks? Before the PR,...

@joeyaiello Regarding @andschwa's comments about `rm -r linktofolder/`, PowerShell's `Remove-Item -Recurse linktofolder/` currently errors out on both Linux and Windows, but in different ways. On Linux the error is `not...