Functions from Module Scoping Question
Hello Power Users I have the following case: I`m using module that contains several functions, some of them are executing commends in remote sessions. These functions are used from Powershell Script....
View ArticleGet-DHCP Server Cmdlet on a Windows Svr 2012 R2 Member Server
My DHCP Server is a Windows 2003 Server I have a member server that is running Windows Server 2012R2. Is it possible for me to have the Get-DHCP cmdlets running on this member server?
View Articlesecurely storing passwords for reuse w/o exposing them
Hi. This is a topic that has been discussed many times in various places, but so far I haven’t found any satisfactory answer/solution. What I need is to: – securely store passwords/credentials in a...
View ArticleReply To: PowerShell v1 strange behaviour
Thanks for the tips on the script, I’ve made the changes you suggested. It works on Powershell v2 & 3. This is not the first time that v1 has done something unexpected when running a script so I...
View ArticleReply To: Get-DHCP Server Cmdlet on a Windows Svr 2012 R2 Member Server
Yes I got this working now
View ArticleReply To: securely storing passwords for reuse w/o exposing them
I don’t think what you’re describing is possible if everything runs locally on the non-privileged user’s computer. If the user is allowed to run a script, and the script is able to retrieve and use a...
View ArticleReply To: Functions from Module Scoping Question
Ideally, you should pass in $var as a parameter to your module function. It’s cleanest if any input required by a function is defined as a parameter, and any output is returned via the output stream...
View ArticleReply To: securely storing passwords for reuse w/o exposing them
Dave, thanks for responding. When you speak of the intermediary server, can you be more specific how this would work? Or would this have to be some specialized software?
View ArticleReply To: securely storing passwords for reuse w/o exposing them
It would be something custom developed, unless you find a similar solution that already meets your needs; I haven’t searched for one. The general idea would be this: A user connects to a service...
View ArticleReply To: securely storing passwords for reuse w/o exposing them
Just subscribing for possible future updates. I’ve been wondering this as well.
View ArticleReply To: securely storing passwords for reuse w/o exposing them
I agree with Dave Wyatt that you really can’t store the passwords in the way you request. Either the script can get the password and then you also can get it (with more or less work involved,...
View ArticleWhat tools do you use for creating GUI?
I have little experience in using microsoft visual studio and I would like to be able to create tools that have GUI and be able to call scripts from within the tool. Is this possible in the visual...
View ArticleReply To: What tools do you use for creating GUI?
You certainly can use Visual Studio if you like, but http://www.sapien.com/software/powershell_studio is probably easier.
View ArticleSecrets of PowerShell Remoting eBook Problem
Hello. I recently downloaded When trying to open it in Word 2013, I receive a message about the file being corrupted. You can see the error in the attached screenshots. I just thought I would let...
View ArticleReply To: Secrets of PowerShell Remoting eBook Problem
Thanks. I’m not presently having any problems downloading the file; you might try from a different network.
View ArticleReply To: Secrets of PowerShell Remoting eBook Problem
How are you downloading it? If you right-click on this URL and choose Save As, it works for me (making sure to rename the file to a .docx extension; Internet Explorer may be detecting it as .zip...
View ArticleScripting gathering and inventorying info
I am relatively new to powershell and this might be a bit of running before walking but working through this will help crystallize a lot of concepts. There are two scenarios I am trying to address. I...
View ArticleReply To: Secrets of PowerShell Remoting eBook Problem
Don and Dave. I’m able to download the file just fine. It downloads as a .docx extension. Opening the file is another thing. Please try opening the file in Word 2013.
View Article