Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

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.(image)  How can I use Windows PowerShell to find the titles of windows?(image)  Use Get-Process and display the title of the processes for windows by looking at            the MainWindowTitle property...

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.(image)  How can I update a module from the Windows PowerShell Gallery?(image)  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 ...