Thursday, May 7, 2009

PowerShell v2 Commands on Windows 2008 RC2 Release Candidate

I rand the following command on a server with PowerShell v2 installed.

get-command | select name

And wow there are a lot of commands that might be included in the new version of PowerShell that this should take me a while to play with them all.

Below is the list of commands that were installed by default on a Windows 2008 RC2 Standard Release Candidate (Build 7100).

Enjoy!
Matt

 
Name
----
A:
Add-Computer
Add-Content
Add-History
Add-Member
Add-PSSnapin
Add-Type
B:
C:
cd..
cd\
Checkpoint-Computer
Clear-Content
Clear-EventLog
Clear-History
Clear-Host
Clear-Item
Clear-ItemProperty
Clear-Variable
Compare-Object
Complete-Transaction
Connect-WSMan
ConvertFrom-Csv
ConvertFrom-SecureString
ConvertFrom-StringData
Convert-Path
ConvertTo-Csv
ConvertTo-Html
ConvertTo-SecureString
ConvertTo-Xml
Copy-Item
Copy-ItemProperty
D:
Debug-Process
Disable-ComputerRestore
Disable-PSBreakpoint
Disable-PSRemoting
Disable-PSSessionConfiguration
Disable-WSManCredSSP
Disconnect-WSMan
E:
Enable-ComputerRestore
Enable-PSBreakpoint
Enable-PSRemoting
Enable-PSSessionConfiguration
Enable-WSManCredSSP
Enter-PSSession
Exit-PSSession
Export-Alias
Export-Clixml
Export-Console
Export-Counter
Export-Csv
Export-FormatData
Export-ModuleMember
Export-PSSession
F:
ForEach-Object
Format-Custom
Format-List
Format-Table
Format-Wide
G:
Get-Acl
Get-Alias
Get-AuthenticodeSignature
Get-ChildItem
Get-Command
Get-ComputerRestorePoint
Get-Content
Get-Counter
Get-Credential
Get-Culture
Get-Date
Get-Event
Get-EventLog
Get-EventSubscriber
Get-ExecutionPolicy
Get-FormatData
Get-Help
Get-History
Get-Host
Get-HotFix
Get-Item
Get-ItemProperty
Get-Job
Get-Location
Get-Member
Get-Module
Get-PfxCertificate
Get-Process
Get-PSBreakpoint
Get-PSCallStack
Get-PSDrive
Get-PSProvider
Get-PSSession
Get-PSSessionConfiguration
Get-PSSnapin
Get-Random
Get-Service
Get-TraceSource
Get-Transaction
Get-UICulture
Get-Unique
Get-Variable
Get-Verb
Get-WinEvent
Get-WmiObject
Get-WSManCredSSP
Get-WSManInstance
Group-Object
H:
help
I:
Import-Alias
Import-Clixml
Import-Counter
Import-Csv
Import-LocalizedData
Import-Module
Import-PSSession
ImportSystemModules
Invoke-Command
Invoke-Expression
Invoke-History
Invoke-Item
Invoke-WmiMethod
Invoke-WSManAction
J:
Join-Path
K:
L:
Limit-EventLog
M:
Measure-Command
Measure-Object
mkdir
more
Move-Item
Move-ItemProperty
N:
New-Alias
New-Event
New-EventLog
New-Item
New-ItemProperty
New-Module
New-ModuleManifest
New-Object
New-PSDrive
New-PSSession
New-PSSessionOption
New-Service
New-TimeSpan
New-Variable
New-WebServiceProxy
New-WSManInstance
New-WSManSessionOption
O:
Out-Default
Out-File
Out-GridView
Out-Host
Out-Null
Out-Printer
Out-String
P:
Pop-Location
prompt
Push-Location
Q:
R:
Read-Host
Receive-Job
Register-EngineEvent
Register-ObjectEvent
Register-PSSessionConfiguration
Register-WmiEvent
Remove-Computer
Remove-Event
Remove-EventLog
Remove-Item
Remove-ItemProperty
Remove-Job
Remove-Module
Remove-PSBreakpoint
Remove-PSDrive
Remove-PSSession
Remove-PSSnapin
Remove-Variable
Remove-WmiObject
Remove-WSManInstance
Rename-Item
Rename-ItemProperty
Reset-ComputerMachinePassword
Resolve-Path
Restart-Computer
Restart-Service
Restore-Computer
Resume-Service
S:
Select-Object
Select-String
Select-Xml
Send-MailMessage
Set-Acl
Set-Alias
Set-AuthenticodeSignature
Set-Content
Set-Date
Set-ExecutionPolicy
Set-Item
Set-ItemProperty
Set-Location
Set-PSBreakpoint
Set-PSDebug
Set-PSSessionConfiguration
Set-Service
Set-StrictMode
Set-TraceSource
Set-Variable
Set-WmiInstance
Set-WSManInstance
Set-WSManQuickConfig
Show-EventLog
Sort-Object
Split-Path
Start-Job
Start-Process
Start-Service
Start-Sleep
Start-Transaction
Start-Transcript
Stop-Computer
Stop-Job
Stop-Process
Stop-Service
Stop-Transcript
Suspend-Service
T:
TabExpansion
Tee-Object
Test-ComputerSecureChannel
Test-Connection
Test-ModuleManifest
Test-Path
Test-WSMan
Trace-Command
U:
Undo-Transaction
Unregister-Event
Unregister-PSSessionConfiguration
Update-FormatData
Update-List
Update-TypeData
Use-Transaction
V:
W:
Wait-Event
Wait-Job
Wait-Process
Where-Object
Write-Debug
Write-Error
Write-EventLog
Write-Host
Write-Output
Write-Progress
Write-Verbose
Write-Warning
X:
Y:
Z:

Thursday, April 23, 2009

Follow Packet Crazy on Twitter

Want to know of any changes to the Packet Crazy blog? Follow @packetcrazy on Twitter.

Link: http://twitter.com/packetcrazy

Some interesting links: 4.23.09

Here are some links I found interesting.

Wednesday, April 22, 2009

Honing your Command Line Kung Fu

Being from a heavy Windows background, the command line isn’t one of the things that you spend a lot of time at when administering systems. However, a couple of years ago I made it a priority to get more comfortable at the command line in not only Windows but *nix operating systems as well.

The sad part of all of this is that I still know people who are afraid of the command line and run away from it like a little kid does from needles. For those people who are afraid, you shouldn’t be. There are some advantages to using the command line that you just can’t get from the GUI. With the command line you can:

  • Automate repetitive tasks – Who doesn’t like to do less work?
  • Track your previous commands – You defiantly can't do this with a GUI. Once you click OK or Apply you can’t see the changes you made.
  • A sense of accomplishment. Who doesn’t like learning new things. It would take years to learn everything that you can do at a command prompt.

So today I am going to give you a couple of resources to help you master your Command Line Kung Fu.

If you have any sites you want to share, leave them in the comments and I will update the post!

Enjoy!
Matt

Friday, April 17, 2009

Welcome!

Welcome to the Packet Crazy blog. This is the new official blog of Matthew Johnson, also known as MWJComputing. You can find more out about me here. I have an old blog located here, but that was hosted on a site that is dedicated to Active Directory and identity related services. I used to focus heavily on that, but now I have moved into different things. This blog is focused on those new areas of technology I have moved into.

Some of the areas we will cover are:

  • Security (Network and OPSEC)
  • PowerShell / Scripting
  • Exchange (with some Active Directory)
  • Random topics (ranging from cool technology to anything happening in the news)

I am hoping to update this blog much more than I did the other one. So sit back and enjoy the ride. If you have any comments, questions or just want to get in touch, leave a comment here or contact me one of the ways on this page.

Thanks!
Matt