Browse Site by Tags

Showing related tags and posts across the entire site.
  • Win 7 Event log

    The PowerShell team like adding extras for us poor admins to play with so time to start poking into PowerShell on Windows 7 RC. On the surface it seems to be about the same as Windows 7 beta \ CTP 3 but as the build number is higher PS> $PSVersionTable Name Value ---- ----- CLRVersion 2.0.50727.4918...
    Posted to Richard Siddaway's Blog (Weblog) by Anonymous on Tue, May 12 2009
    Filed under: PowerShell V2
  • Get-PSDrive

    Get-PsDrive has been one of those cmdlets that you use without really noticing – when you want to see if a provider is loaded for instance. In the Windows 7 RC the display has had a makeover. PS> Get-PSDrive Name Used (GB) Free (GB) Provider Root CurrentLocation ---- --------- --------- -------- ...
    Posted to Richard Siddaway's Blog (Weblog) by Anonymous on Fri, May 8 2009
    Filed under: Powershell, PowerShell V2, Windows 7
  • Start-Process

    In this post - http://richardsiddaway.spaces.live.com/default.aspx?_c01_BlogPart=blogentry&_c=BlogPart&handle=cns!43CFA46A74CF3E96!2262 - I showed different ways of starting a process. Now that a post CTP3 version of PowerShell v2 is available in Windows 7 I can share this. Thanks to however...
    Posted to Richard Siddaway's Blog (Weblog) by Anonymous on Sun, May 3 2009
    Filed under: PowerShell V2, IE, Process
  • Test-Connection

    We’ve looked at test-connection before – the PowerShell ping "192.168.196.142", "192.168.196.1" | foreach { Test-Connection -ComputerName $_} will return the IPv4 and IPv6 addresses and the time taken for the ping among other information if we want to test a lot of machines – put...
    Posted to Richard Siddaway's Blog (Weblog) by Anonymous on Sat, May 2 2009
    Filed under: PowerShell V2, Test-Connection, ping
  • PowerShell reserved words

    For a list of the language keywords in PowerShell v2 check Get-Help about_Language_Keywords You will get a list of the words Begin Break Catch Continue Data Do Dynamicparam Else Elseif End Exit Filter Finally For Foreach From Function If In Param Process Return Switch Throw Trap Try Until While And gives...
    Posted to Richard Siddaway's Blog (Weblog) by Anonymous on Sat, May 2 2009
    Filed under: PowerShell V2, Reserved words
  • Windows 7 PowerShell modules

    PowerShell in the RC tidies up the display of the available modules and adds another module to the list of default modules. PS> Get-Module -ListAvailable ModuleType Name ExportedCommands ---------- ---- ---------------- Manifest AppLocker {} Manifest BitsTransfer {} Manifest PSDiagnostics {} Manifest...
    Posted to Richard Siddaway's Blog (Weblog) by Anonymous on Fri, May 1 2009
    Filed under: PowerShell V2, Modules
  • Computername parameter

    This is something I’ve been meaning to share for a while. Many of the cmdlets in PowerShell v2 get an explicit remoting capability via the computername property. get-help * -Parameter computername | sort name Clear-EventLog Connect-WSMan Disconnect-WSMan Enter-PSSession Get-Counter Get-EventLog Get-HotFix...
    Posted to Richard Siddaway's Blog (Weblog) by Anonymous on Fri, May 1 2009
    Filed under: Powershell, PowerShell V2, Windows 7, v2, Remoting
  • How many bytes?

    I was playing around with PowerShell and started thinking about the kb, mb etc values and I realised I didn’t know what they really looked like. 1kb is 1024 but it gets very hazy after that. So how could I see the values stacked up 1kb,1mb,1gb,1tb,1pb | foreach{"$_".PadLeft(16)} works. We feed...
    Posted to Richard Siddaway's Blog (Weblog) by Anonymous on Thu, Apr 30 2009
    Filed under: Powershell, PowerShell V2, format, v2
  • PowerShell verbs

    If you haven't seen the post on PowerShell standard verbs from the PowerShell team it is worth reading - http://blogs.msdn.com/powershell/archive/2009/04/22/soliciting-new-verbs.aspx If you have an idea for a new verb - make sure you make it known
    Posted to Richard Siddaway's Blog (Weblog) by Anonymous on Mon, Apr 27 2009
    Filed under: PowerShell V2
  • PowerShell remoting options

    One of the big pieces of functionality in PowerShell v2 is the ability to directly administer remote machines. A number of cmdlets get a computername parameter for working directly. The main push for remoting is through the *-PSsession cmdlets Enter-PSSession Exit-PSSession Export-PSSession Get-PSSession...
    Posted to Richard Siddaway's Blog (Weblog) by Anonymous on Sun, Apr 26 2009
    Filed under: PowerShell V2
Page 1 of 48 (471 items) 1 2 3 4 5 Next > ... Last »