Scripting Blog

A place to learn about PowerShell and share stories of automation

Weekend Scripter: Remove a Long Path File

Summary: Boe Prox shows how to remove a file with a long path. Honorary Scripting Guy and Cloud and Datacenter Management MVP, Boe Prox, here today filling in for my good friend, the Scripting Guy. This is a continuation of this weekend series on working with PowerShell and PInvoke to do things that you normally couldn’t do natively. ...

PowerTip: Display Titles of Windows

Summary: Boe Prox shows how to use Windows PowerShell to find the titles of windows. How can I use Windows PowerShell to find the titles of windows? Use Get-Process and display the title of the processes for windows by looking at            the MainWindowTitle property, for example:...

Weekend Scripter: Manage Window Placement by Using PInvoke

Summary: Boe Prox shows us how to manage window placement in Windows PowerShell. Honorary Scripting Guy and Cloud and Datacenter Management MVP, Boe Prox, here today filling in for my good friend, the Scripting Guy. Today I start a little weekend fun by using a technique known as platform invoke, or PInvoke for short. What is PInvoke, you ask...

PowerTip: Update Module from PowerShell Gallery

Summary: Boe Prox shows how to update a module from the Windows PowerShell Gallery. How can I update a module from the Windows PowerShell Gallery? Run the following command to check for an update to the module and install the update if one is found:Update-Module –Name PoshRSJob –VerboseVERBOSE: Checking for updates for ...

Feedback usabilla icon