Sign in
|
Join PowerShell.com!
|
Help
Home
PowerTips
Ask the Experts
Forums
Webcasts
Blogs
eBookV2
Script Library
Twitter Grid
Featured Posts
Dreaming in PowerShell
Don Jones
Code MarkUp Tool
Directory
The Lonely Administrator
»
All Tags
»
WMI
»
functions
»
PowerShell
(
RSS
)
Browse by Tags
Share
|
Recent Posts
Find Files with PowerShell 3.0
Scripting with PSCredential
Get Local Administrators with WMI and PowerShell
Get WMI Namespace
Get Registry Size and Age
Archives
May 2013 (9)
April 2013 (10)
March 2013 (6)
February 2013 (8)
January 2013 (15)
December 2012 (5)
November 2012 (7)
October 2012 (5)
September 2012 (2)
August 2012 (3)
July 2012 (4)
June 2012 (8)
May 2012 (11)
April 2012 (18)
March 2012 (2)
February 2012 (10)
January 2012 (12)
December 2011 (10)
November 2011 (15)
October 2011 (12)
September 2011 (4)
August 2011 (9)
July 2011 (8)
June 2011 (6)
May 2011 (10)
April 2011 (8)
Tags
CommandLine
Conferences
Friday Fun
FridayFun
Function
functions
Get-WMIObject
Google Plus
Group Policy
hashtable
Hyper-V
objects
Out-Gridview
Pipeline
PowerShell
Powershell 3.0
PowerShell ISE
PowerShell v2.0
ScriptBlock
Scripting
Training
Validation
Windows Server
WMI
Write-Host
View more
Administrators
CIM
Get-CIMInstance
Get-WMIObject
Get-WMObj
Invoke-Command
Invoke-Expression
Jobs
new-object
Powershell 3.0
PowerShell v2.0
PSCredential
Registry
ScripitngGames
ScriptBlock
Scripting
security
Find Files with PowerShell 3.0
My last few articles have looked at using WMI and CIM_DATAFILE class to find files, primarily using Get-WmiObject in PowerShell. But now that we have PowerShell 3.0 at our disposal, we can use the new CIM cmdlets. So I took my most recent version of Get...
Published
Thu, Feb 02 2013 9:11 AM
by
The Lonely Administrator
Filed under:
functions
,
Scripting
,
WMI
,
PowerShell
,
Powershell 3.0
,
CIM
,
Get-CIMInstance
Scripting with PSCredential
I see this question often: how can I pass a parameter value for a PSCredential that might be a credential object or it might be a user name? In the past I’ve used code like this: begin { … Continue reading → Read More...
Published
Tue, Apr 04 2012 9:40 AM
by
The Lonely Administrator
Filed under:
functions
,
Scripting
,
WMI
,
PowerShell
,
ScriptBlock
,
PSCredential
,
security
Get Local Administrators with WMI and PowerShell
Earlier this week I was helping someone out on a problem working with the local administrators group. There are a variety of ways to enumerate the members of a local group. The code he was using involved WMI. I hadn’t … Continue reading →...
Published
Fri, Jul 07 2011 8:55 AM
by
The Lonely Administrator
Filed under:
functions
,
Scripting
,
WMI
,
PowerShell
,
PowerShell v2.0
,
Get-WMIObject
,
Invoke-Command
,
Jobs
,
Administrators
Get WMI Namespace
PowerShell and WMI just seem to go together like peanut butter and jelly, beer and pretzels, or salt and pepper. However, discovering things about WMI isn’t always so easy. There are plenty of tools and scripts that will help you … Continue...
Published
Thu, Jun 06 2011 9:50 AM
by
The Lonely Administrator
Filed under:
functions
,
WMI
,
PowerShell
,
PSCredential
,
Invoke-Expression
,
Get-WMIObject
Get Registry Size and Age
I’m not sure why the registry has been on my mind lately. I probably need a vacation to get out more. But I put together a relatively simple Windows PowerShell function to retrieve registry statistics that you might find useful. … Continue...
Published
Wed, May 05 2011 9:19 AM
by
The Lonely Administrator
Filed under:
functions
,
Registry
,
Scripting
,
WMI
,
PowerShell
Scripting Games 2011 Beginner Event 5 Commentary
My commentary for Beginner Event 5 in the 2011 Scripting Games is now available. One item that seems to be missing on the ScriptingGuys site is my complete solution so I thought I would share it here, plus a variation. … Continue reading →...
Published
Mon, Apr 04 2011 12:01 PM
by
The Lonely Administrator
Filed under:
functions
,
Scripting
,
WMI
,
PowerShell
,
PowerShell v2.0
,
Get-WMObj
,
new-object
,
ScripitngGames
Copyright 2012 PowerShell.com. All rights reserved.