Posts Tagged ‘remote’


Where are v3 and v4? PowerShell Versions in PowerShell Studio

Monday, December 21st, 2015 by June Blender
In this post, we explain why PowerShell Studio can run your scripts only the versions of Windows PowerShell that are installed on local and remote computers. If you've recently upgraded to Windows 10 from Windows 7, 8, or 8.1, you'll notice quickly that you now have Windows PowerShell 5.0. Depending on your upgrade path and subsequent updates, you might be running any version of Windows PowerShell greater than or equal to 5.0.10240. Or, you might have installed the shiny new Windows Management Framework 5.0 for Windows 7 SP1, Windows Server 2008 R2, and later versions of Windows client and server. In…   More »

WMI Explorer 2014: Connect to remote computers.

Tuesday, August 6th, 2013 by Alex Riedel
As promised here are some more details on the new version of the WMI Explorer. One of the main flaws of the old versions was that it only worked on the current machine. With the 2014 version you can connect to any other computer in your network. Of course you will have to make sure you have sufficient rights to access WMI remotely. Just click on the connect button the first time you connect to a remote machine. Enter the remote machine’s name and add your user id and password. That’s it. Once you have connected successfully to a remote…   More »

But it works on my machine…

Thursday, May 16th, 2013 by Alex Riedel
We have all heard that phrase. We have all faced that scenario. A script runs perfectly fine on your machine or any VM you have, but just refuses to do anything useful on that one server where it really matters. Error messages can be notoriously unhelpful. “Access denied”, yes, but to WHAT and WHY? And everyone’s favorite “Unknown error” makes for a very frustrating day at the office. If you have physical or remote desktop access to that server it’s pretty easy, just use whatever debugger you have, install it on that machine and see what happens. Or, in case…   More »

Feature Peek 2011: Bridging the gap, Part 2

Thursday, December 2nd, 2010 by Alex Riedel
"Can I ask you a quick question?" This usually precede a long interruption in whatever work you are doing at the time. It doesn't matter if someone sticks their head into your cubicle while uttering these infamous words or if they pop up on an instant messenger window, inevitably you are expected to drop whatever you are doing at the time and attend to someone else's problem. As we have seen in the first part of this blog article, you can configure PrimalScript 2011 to run your scripts in 32 or 64 bit mode. Add that to the already existing…   More »

Registry access from 32 to 64 bit and back

Tuesday, August 18th, 2009 by Alex Riedel
Just recently, I received an email asking how you can access the 64 bit registry from a 32 bit script, or vice versa. The task the individual was facing was to come up with a way to verify installed applications via checking the corresponding Windows Installer registry entries. For a C++ programmer with access to the API, that really is not a big issue. From VBScript, using only WshShell.RegRead that is a completely different story. A quick consult with some fellow script experts revealed that the only real way was using WMI and the StdRegProvider. The main complaint I heard…   More »

Read Remote Registry Function

Thursday, February 14th, 2008 by Jeffery Hicks
Hopefully you found my last entry valuable. But I always like to take things a step further, especially when it comes to scripting and automation. So I turned my last script into a function that returns the value of a specified registry key   More »

Remote Registry Reading the VBScript Way

Monday, February 11th, 2008 by Jeffery Hicks
Last week I blogged about using REG.EXE in a batch file to read a registry key. The batch file I provided works, but the output is limited. You could probably parse it a bit more to get it in some other format. But I’d probably turn to VBScript and WMI if I wanted better output control or if I had more complicated needs.   More »

Got-PowerShell Revisited

Monday, January 28th, 2008 by Jeffery Hicks
Last week I showed a PowerShell function that used WMI to remotely query a machine to determine if PowerShell was installed. Well, like most things Microsoft there’s often more than one way to accomplish a task. Here is a different version of essentially the same function. This version, however, uses the .NET framework and the Microsoft.Win32.Registry class.   More »