Books

Translate This Blog
-
Recent Posts
Top Posts
- Querying UDP Ports with PowerShell
- Changing Ownership of File or Folder Using PowerShell
- PowerShell and WPF: Writing Data to a UI From a Different Runspace
- Locating Mount Points Using PowerShell
- PowerShell and Events: Permanent WMI Event Subscriptions
- Create a Mouse Cursor Tracker using PowerShell and WPF
- PowerShell and WPF: Introduction and Building Your First Window
- Quick Hits: Ping Sweep One Liner
- Retrieving a Registry Key LastWriteTime Using PowerShell
- Use PowerShell To Calculate the Hash of a File
Archives
Categories
- .net
- api
- array
- background jobs
- binary
- book
- c#
- clock
- codeplex
- com object
- convert
- CTP
- database
- deep dive
- excel
- Favorites
- function
- groups
- guest blog
- hash table
- Internet Explorer
- ise
- mcpmag
- module
- MVP
- network
- news
- parameter
- patches
- performance
- pinvoke
- podcast
- port
- PoshChat
- poshpaig
- PoshRSJob
- poshwsus
- powercli
- powerscripting
- Powershell
- printers
- quickhits
- reflection
- regex
- registry
- Regular Expressions
- report
- resolution
- runspace
- runspaces
- scripting games 2012
- scripting games 2013
- scripting guy
- scripts
- SMO
- Speaker
- speaking
- SQL
- tcp
- tips
- tsql
- updates
- user group
- V3
- V4
- v5
- weather
- widget
- win32API
- winter scriting games 2014
- wmi
- word
- WPF
- wsus
- xaml
Tag Archives: reflection
Building a Enum that Supports Bit Fields in PowerShell
I was working on a project recently that required me to have an Enum that allowed bit fields as opposed to the normal fields that we might deal with in our day to day endeavors with PowerShell. If you aren’t … Continue reading
Finding the PowerShellAsyncResult on PowerShell Object After Using BeginInvoke
I’ve been here many of times when working with the console and creating a PowerShell instance and runspace to kick off a runspace in the background. I have everything situated and then call BeginInvoke() against my PowerShell object and realize … Continue reading
Invoking Private Static Methods Using PowerShell
Usually if I want to accomplish a task in PowerShell, I can count on either a cmdlet or a publicly available .Net method to come to my rescue. Sometimes though, a method that I would like to use is just … Continue reading
Managing Privileges using PoshPrivilege
A recent project of mine has been to write a module to manage privileges on a local system. What I came up is a module called PoshPrivilege that allows you to not only look at what user rights are available … Continue reading
Posted in powershell
Tagged pinvoke, PoshPrivilege, Powershell, privileges, reflection, user rights
4 Comments
A Look at Implementing $Using: Support in PowerShell for PoshRSJob
After I made my initial release of PoshRSJob, one of the things left that I wanted to accomplish was implementing the $Using: scope that is found when using Invoke-Command or Start-Job which allows you to use an existing variable in … Continue reading