Repository navigation
Closed
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issuesgeneral cmdlet issues
Description
The following Function and Cmdlets are missing from Microsoft.PowerShell.Utility
Function ConvertFrom-SddlString 3.1.0.0 Microsoft.PowerShell.Utility
Cmdlet ConvertFrom-String 3.1.0.0 Microsoft.PowerShell.Utility
Cmdlet Convert-String 3.1.0.0 Microsoft.PowerShell.Utility
Cmdlet ConvertTo-Html 3.1.0.0 Microsoft.PowerShell.Utility
Cmdlet Export-PSSession 3.1.0.0 Microsoft.PowerShell.Utility
Cmdlet Import-PSSession 3.1.0.0 Microsoft.PowerShell.Utility
Cmdlet Out-GridView 3.1.0.0 Microsoft.PowerShell.Utility
Cmdlet Out-Printer 3.1.0.0 Microsoft.PowerShell.Utility
Cmdlet Send-MailMessage 3.1.0.0 Microsoft.PowerShell.Utility
Cmdlet Show-Command 3.1.0.0 Microsoft.PowerShell.Utility
Cmdlet Unblock-File 3.1.0.0 Microsoft.PowerShell.Utility
Cmdlet Update-List 3.1.0.0 Microsoft.PowerShell.UtilityIt would be great if at least the Convert-FromString, Convert-String, ConvertTo-Html, Send-MailMessage and Update-List Cmdlets get implemented. The Out-GridViewand Show-Command Cmdlets may be difficult due to graphical interface requirements, similar for Out-Printer with external printer requirement. A removal notice (ideally including explanation) should be added to the release notes for the other Cmdlets if they will be permanantly removed.
Reacted by Ed Ilyin, PaxNL, Alan Renouf, Avi Wollman, Trevor Sullivan, LeeSartorelli, claudehenchoz and Jonathon Conley
Metadata
Metadata
Assignees
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issuesgeneral cmdlet issues
Activity
vors commentedon Aug 31, 2016
Command availability table need to be updated.
MaximoTrinidad commentedon Sep 4, 2016
I just coming up with these missing ones. But specially I was need the ConvertTo-Html cmdlet.
Pax-nl commentedon Sep 7, 2016
+1 on the missing ConvertTo-Html
ed-ilyin commentedon Sep 7, 2016
Missing Send-MailMessage
Pax-nl commentedon Sep 7, 2016
This example from Technet to solve my issue with missing the ConvertTo-Html cmdlet does not work either.
$URL = Read-Host "Enter URL to Decode" $Encode = [System.Web.HttpUtility]::UrlEncode($URL) Write-Host "This is the Encoded URL" $Encode -ForegroundColor Green`
EDIT: found a working solution
[uri]::EscapeDataString($SitePath)alanrenouf commentedon Sep 8, 2016
+1 on the missing ConvertTo-Html
westforkfab commentedon Oct 6, 2016
I successfully build the PS module in Ubuntu 16.04 as shown in https://github.com/PowerShell/PowerShell/blob/master/docs/building/linux.md
I am doing some tests and I have this error:
Unable to find type [System.Net.ServicePointManager].
Also I can't find [System.Web].
SteveL-MSFT commentedon Nov 3, 2016
@PowerShell/powershell-committee reviewed this, show-command, unblock-file, out-gridview, out-printer won't be in PowerShell Core. ConvertFrom-String and Convert-String is dependent on MSR. The other ones should be in PS Core.
Liturgist commentedon Nov 12, 2016
Is there any documentation I could read to get a better understanding of the planned structure? Is there a definition of PowerShell Core? Are there other PowerShell ??? kits defined?
Today I was looking for [System.Web.HttpUtility]::HtmlEncode(), but ended up using [uri]::EscapeDataString() mentioned in this issue. Not totally the same thing.
pcgeek86 commentedon Feb 7, 2017
Are there plans to implement Send-MailMessage? Maybe this should be broken out into separate issues for specific cmdlet implementations.
4 remaining items
iSazonov commentedon Nov 5, 2017
Nagy-Egri Máté Ferenc (@MathiasMagnus) We already have
Unblock-Filein PowerShell Core. Microsoft.PowerShell.Archive is not in the repo.Did you run startup tests on the latest version?
iSazonov commentedon Nov 5, 2017
Current status:
MathiasMagnus commentedon Nov 6, 2017
Well, it exists, it just doesn't work.
It throws an UnautorizedAccessError exception on my own profile, and any file I tested it with. How can my setup go wrong?
SteveL-MSFT commentedon Nov 6, 2017
Nagy-Egri Máté Ferenc (@MathiasMagnus) working for me on beta.9 using win-x64.zip release:
However, if the file is not blocked, you will get that error message:
We should probably quietly succeed if that stream isn't available to remove. Created issue #5353
MathiasMagnus commentedon Nov 7, 2017
Steve Lee (@SteveL-MSFT) Thanks for looking into it, and thanks to Ilya (@iSazonov) for the fix. Not being a .NET developer (C++ and GPGPU) I very often feel dumb when I try to debug anything PS related. I just use it as an interactive shell (and very little scripting) as a replacement for bash, but with an actual type system (something I feel home at).
iSazonov commentedon Nov 7, 2017
Nagy-Egri Máté Ferenc (@MathiasMagnus) We welcome any feedback. Not only bugs but also the most hot features.
SteveL-MSFT commentedon Nov 7, 2017
I'm prepping a PR to add
Update-Listthe other cmdlets we don't have any plans to portchristian-korneck commentedon Dec 31, 2017
Just out of interest: What's the reason why
Out-GridViewwon't be part of PS Core?rkeithhill commentedon Dec 31, 2017
The current implementation (in Windows PowerShell) uses WPF which isn't available on Linux or macOS.
christian-korneck commentedon Dec 31, 2017
Keith Hill (@rkeithhill) thanks for the explanation!
iSazonov commentedon Dec 31, 2017
We want and have plans to implement
Out-GridViewon another platform.MathiasMagnus commentedon Dec 31, 2017
When did Test-Connection disappear and why? It was in RC1 I believe...
iSazonov commentedon Dec 31, 2017
Test-Connectionwas not ported (old Windows only code). Currently we have new ported version in #5328 but not jet merged.iSazonov commentedon Sep 29, 2019
I updated current status in #2123 (comment)
I believe we can close the issue.