Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » CMDLET   (RSS)

Howto: Invoking cmdlets from within a cmdlet...

A fairly common question cmdlet developers have is "How do I invoke a cmdlet from within a cmdlet". This usually comes up when converting a script or function into a compiled cmdlet. Marco Shaw is writing a nice series of blog posts covering this topic
Posted by PowerShellTeam | 3 Comments
Filed under: ,

Active Directory Cmdlets

More great cmdlets from our partners. Quest Software , known for its ActiveRoles Server and PowerGUI , is offering its new Active Directory cmdlets to the community free of charge. To get them, click: PowerShell Cmdlets for Active Directory . The ZIP
Posted by PowerShellTeam | 10 Comments
Filed under:

ScriptCenter EventLog Article

ScriptCenter has a very good article exploring the use of Windows PowerShell to analyze your eventlogs. Check it out at: http://www.microsoft.com/technet/scriptcenter/topics/msh/cmdlets/get-eventlog.mspx PSMDTAG:CMDLET: Get-EventLog PSMDTAG:FAQ: EventLog
Posted by PowerShellTeam | 5 Comments
Filed under: ,

Finding out what determines which properties are displayed

MoW, a Monad newsgroup regular, asked why only the Caption, Name and PeakUsage properties were displayed from the command “get-WMIObject Win32_PageFileUsage” while the output object had a lot more properties. I think it is worth it to explain in details

Base64 Encode/Decode a string

Today I came across http://scripts.readify.net/ . This sight is focused on Monad and MSH and is starting a collection of scripts at: http://scripts.readify.net/Scripts.aspx . You should visit their site and let them know what type of scripts would be

Monitor the Event Log

Administrators often want to monitor the event logs and look for specific error conditions. The most capable way to do this, of course, is to use a dedicated monitoring application such as Microsoft Operations Manager , or get down-and-dirty with the
Posted by PowerShellTeam | 0 Comments
Filed under:

Is it safe to use ALIASES in scripts?

In our newsgroup (Microsoft.Public.Windows.Server.Scripting) , Mark Ayers asked the question: > Shouldn't best practice for scripts be full command name? The answer is YES, NO, and MAYBE. YES - Full names provide the most readable experience for scripts.
Posted by PowerShellTeam | 1 Comments
Filed under: , ,

How does Select-String work with Pipelines of objects?

<Edited to convert Match-String to Select-String 7/9/2006> In our newsgroup (Microsoft.Public.Windows.Server.Scripting) , Vasu asked about how Select-string works in pipelines: Here is what I observe: 1. MSH C:\> get-alias ..truncated.. Alias

Sunday morning drive with my hair on fire: Types/Community/Synthetic types/Democracy/Cool XML tricks

Exploring types is a pain! Monad provides Get-Member which makes it pretty nice to explore an OBJECT but if you want to explore that object's type, you have to use the capabilities of the System.RuntimeType class. Let me make that distinction a little
Posted by PowerShellTeam | 1 Comments
Filed under: , , ,
 
Page view tracker