Learn Powershell | Achieve More
What is this Powershell of which you speak?
Image
Skip to content
  • Home
  • About
  • Articles
  • PowerShell Forum Directory
  • Projects
  • Publications
  • Scripts
  • Speaking
← Fix Duplicate WSUS ClientIDs Using PowerShell
Using the ESPN API with PowerShell →

Guest Post on Hey, Scripting Guy! Talking PInvoke and PowerShell

Posted on October 19, 2013 by Boe Prox

Today my Hey, Scripting Guy! guest blog goes live. I am talking about using Pinvoke with PowerShell to handle the removal of files which may be locked by a process.

Check it out and let me know what you think!

Weekend Scripter: Use PowerShell and Pinvoke to Remove Stubborn Files

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to email a link to a friend (Opens in new window) Email
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on Pocket (Opens in new window) Pocket
Like Loading...

Related

This entry was posted in News, powershell and tagged guest blog, pinvoke, Powershell, scripting guy. Bookmark the permalink.
← Fix Duplicate WSUS ClientIDs Using PowerShell
Using the ESPN API with PowerShell →

Leave a comment Cancel reply

  • Books

    Image
  • Translate This Blog

    Translate this blog into different languages...

    العربية
    Български
    中文(简体)
    中文(繁體)
    Hrvatski
    Česky
    Dansk
    Nederlands
    Suomi
    Français
    Deutsch
    Ελληνική
    हिन्दी
    Italiano
    日本語
    한국어
    Norsk
    Polski
    Português
    Română
    Русский
    Español
    Svenska
  • Recent Posts

    • Dealing with Runspacepool Variable Scope Creep in PowerShell
    • 2018 PowerShell Resolutions
    • Quick Hits: Getting the Local Computer Name
    • Recent Articles on MCPMag
    • Quick Hits: Finding all Hyperlinks in an Excel Workbook
  • Top Posts

    • Querying UDP Ports with PowerShell
    • Setting up Local Administrator Password Solution (LAPS)
    • Changing Ownership of File or Folder Using PowerShell
    • Speedy Network Information Query Using PowerShell
    • Locating Mount Points Using PowerShell
    • Avoiding System.Object[] (or Similar Output) when using Export-Csv
    • Building a TCP Server Using PowerShell
    • Quick Hits: Ping Sweep One Liner
    • Using a ScriptBlock Parameter With a PowerShell Function
    • PowerShell and Excel: Adding Some Formatting To Your Report
  • 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
  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 486 other subscribers
  • Blog Stats

    • 5,776,310 Visitors Since August 5, 2010
  • Meta

    • Create account
    • Log in
    • Entries feed
    • Comments feed
    • WordPress.com
Learn Powershell | Achieve More
Blog at WordPress.com.
  • Comment
  • Reblog
  • Subscribe Subscribed
    • Image Learn Powershell | Achieve More
    • Join 486 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Image Learn Powershell | Achieve More
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar
%d
    Advertisement