Podcast

Episode 7 – Don't Forget What You Already Know

Jonathan Walz
1 min read
Share:

Listen to this Episode

Audio available

A Podcast about Windows PowerShell.

- 

News

PowerShell Google group

  - 

Cmdlets of the week

New-item

      - 

Test-path

      - 

Get-WMIObject

MSDN WMI Reference

  - 

Resource

Windows PowerShell and WMI - Technet webcast w/ Don Jones

      - 

“Active Directory Management Made Easy with PowerShell” from Quest Software, link to Dmitry’s post

    - 
      Great [blog post](http://www.leadfollowmove.com/powershell-toolbox/) listing PowerShell tools







    - 

Tips

On remoting

/n software “PowerShell Remoting” beta SSH Terminal session to remote server (requires agent install)

      - 

Can you use -match instead of -eq?  Jeffery Snover’s blog post.

"

Whenever you find yourself using ““EQ, ask yourself if that is really want you want. You might be cheating yourself out of a ton great stuff. "

        - 

Don’t forget what you already know    

$u = “user”; net localgroup administrators | where {$_ -match $u}

        - 

Scott Hanselman’s blog post about finding out if a user is in the local admin group

          - 

Gotchas

          - 

Excellent description of the PowerShell bug I ran into passing credentials with WMI from

 //o//

              - 
                [Forum post thread](http://www.scriptinganswers.com/forum2/forum_posts.asp?TID=1041&PID=6127)












            - 

Powershell challenge

out-file $profile -noclobber -append -input `n’function sub($x,$y){$x - $y}'

 Thanks for listening!