PSCX 1.1 Features

We have had a lot of new folks come onto the team for this release so there is a lot of new functionality. A number of existing PSCX cmdlets, filters and functions where cleaned up for this release. There's a lot to be excited about like the support for creating ZIP archives, Active Directory support and ping support among others. I also really like the LESS utility that we install and hook into the help and man aliases. Using LESS to browse help topics is so much nicer than the default paging in PowerShell (which is sorry to say, pretty lame). We didn't however change PowerShell's "more" function to use LESS because the way PowerShell interops with legacy apps was causing LESS to not display anything until it received all its input. That made things like gci '$env:windir -rec | more' take too long to generate output.

Here's the "raw" look at everything that is in PSCX 1.1:

NEW CMDLETS
    Get-ADObject
    Test-Assembly
    Resolve-Assembly
    ConvertTo-Base64 (cvtb64)
    ConvertFrom-Base64 (cvfb64)
    Import-Bitmap
    Resize-Bitmap
    Export-Bitmap
    Format-Byte
    Write-BZip2
    Write-Clipboard
    Get-Clipboard (gcb)
    Set-Clipboard
    Out-Clipboard (ocb)
    Get-DhcpServer
    Get-DomainController
    Set-FileTime (touch)
    Get-FileVersionInfo (gfvi)
    Get-ForegroundWindow
    Set-ForegroundWindow
    Write-GZip
    New-Hardlink (ln)
    Get-Hash
    Format-Hex (fhex)
    Ping-Host (ping)
    Resolve-Host
    New-Junction
    ConvertTo-MacOs9LineEnding
    Remove-MountPoint
    Get-MountPoint
    Get-PEHeader
    Get-Privilege
    Set-Privilege
    Start-Process (saps, start)
    Get-PSSnapinHelp
    Get-Random (rnd)
    Get-ReparsePoint
    Remove-ReparsePoint
    New-Shortcut
    Get-ShortPath (gsp)
    Send-SmtpMail (mail)
    Split-String
    Join-String
    New-Symlink
    Get-TabExpansion
    Start-TabExpansion
    Write-Tar
    Stop-TerminalSession
    Get-TerminalSession
    Disconnect-TerminalSession
    ConvertTo-UnixLineEnding
    Set-VolumeLabel
    ConvertTo-WindowsLineEnding
    Format-Xml (fxml)
    Select-Xml (sxml)
    Convert-Xml (cvxml)
    Test-Xml
    Write-Zip

NEW FUNCTIONS AND FILTERS
    Add-PathVariable (apv)
    cd
    cd-
    cd..
    cd...
    cd....
    cd.....
    cd?
    cd\
    cd~
    cd+
    dird
    dirs
    dirt
    dirw
    dirx
    Disable-Breakpoints (dbp)
    Edit-File (e)
    Edit-GlobalHostProfile (eghp)
    Edit-GlobalProfile (egp)
    Edit-HostProfile (ehp)
    Edit-Profile (ep)
    Enable-Breakpoints (ebp)
    Get-CallStack (gcs)
    Get-ExceptionForHR (hrexc)
    Get-ExceptionForWin32 (winexc)
    Get-PropertyValue (gpv)
    Get-PscxAlias (galpscx)
    Get-PscxCmdlet (gcmpscx)
    Get-PscxDrive (gdrpscx)
    Get-PscxVariable (gvpscx)
    Get-VariableSorted (gvs)
    glp
    Invoke-NullCoalescing (??)
    Invoke-Ternary (?:)
    less (pager)
    New-HashObject (nho)
    Quote-List (ql)
    Quote-String (qs)
    Remove-Accessors (ra)
    Set-Breakpoint (bp)
    Skip-Breakpoints (skbp)
    Start-EyeCandy
    Test-PscxPreference
    Update-HostTitle
    Update-Profile (rehash, up)
    Write-Prompt

NEW SCRIPTS:
    Add-DirectoryLength.ps1 (adl)
    Add-ShortPath.ps1 (asp)
    Clip.ps1
    Connect-VirtualServer.ps1 (vmadmin)
    ConvertFrom-WmiDateTime.ps1
    ConvertFrom-WmiTimeSpan.ps1
    ConvertTo-DmtfDateTime.ps1
    ConvertTo-DmtfTimeInterval.ps1
    Export-History.ps1 (ephy)
    Get-DiskUsage.ps1
    Get-HelpMatch.ps1 (apropos, ghm)
    Get-LoremIpsum.ps1 (lorem)
    Get-PagedHelp.ps1 (help, man)
    Get-ScreenCss.ps1
    Get-ScreenHtml.ps1
    Get-TypeName.ps1 (gtn)
    Get-Url.ps1
    Import-Assembly.ps1 (ipasm)
    Import-History.ps1 (iphy)
    Reduce-Object.ps1 (reduce)
    Resolve-Error.ps1 (rver)
    Search-Transcript.ps1 (srts)
    Select-History.ps1
    Set-ReadOnly.ps1 (sro)
    Set-Writable.ps1 (swr)

NEW ALIASES
    measure (Measure-Object)
    new (New-Object)
    ss (Select-String)

REMOVED STUFF
    cd (cd alias replaced by cd function)

Last edited Mar 9, 2007 at 4:17 AM by r_keith_hill, version 6

Comments

No comments yet.