Search found 63 matches

by Domtar
Wed Nov 07, 2018 10:02 am
Forum: Windows PowerShell
Topic: looking for advice
Replies: 5
Views: 1199

Re: looking for advice

you misunderstood, I consider myself efficient with powershell, i'm not starting from scratch.

I'm looking for stuff related to scripting for the cloud. I'll have a look at this azure thing you mentioned.

thanks!
by Domtar
Wed Nov 07, 2018 9:43 am
Forum: Windows PowerShell
Topic: looking for advice
Replies: 5
Views: 1199

looking for advice

hi all, My company is looking into the Cloud for some services and I would like to develop my scripting skills to have a position in that project. Does anyone here can suggest material that I could use to learn stuff regarding scripting for the cloud? I know I'm vague but I'm starting to look into t...
by Domtar
Mon Nov 05, 2018 6:19 am
Forum: PowerShell GUIs
Topic: invoke-command behavior
Replies: 4
Views: 682

Re: invoke-command behavior

Same result. I honestly cannot understand why my variable returnedValue doesn't contain what should be returned by the Invoke-Command cmdlet. All I see when I display it is: C: $returnedValue = Invoke-Command -ComputerName $env:COMPUTERNAME -ScriptBlock {Get-BitlockerVolume -MountPoint C:} I believe...
by Domtar
Fri Nov 02, 2018 11:18 am
Forum: PowerShell GUIs
Topic: invoke-command behavior
Replies: 4
Views: 682

invoke-command behavior

hi all, I use a scriptblock to connect to a computer, get some info and store that info into a variable, some basic stuff function Get-BitlockerEncryptionStatus ($DeviceName) { $scriptBlock = { Get-BitlockerVolume -MountPoint "C:" } $Script:BitlockerInfos = Invoke-Command -ComputerName $DeviceName -...
by Domtar
Mon Oct 29, 2018 10:43 am
Forum: PowerShell GUIs
Topic: status form
Replies: 1
Views: 335

Re: status form

OK I got it. it was easy!

I changed ShowDialog() to Show() only.

thanks!
by Domtar
Mon Oct 29, 2018 8:09 am
Forum: PowerShell GUIs
Topic: status form
Replies: 1
Views: 335

status form

hi, I'm creating a GUI where I would like to show some status to the users by showing a new form with mouse_hover event but I do not know how to get rid of it afterwards. here's part of the code to illustrate where I'm at now; $buttonCreation_MouseHover={ Add-Type -AssemblyName System.Windows.Forms ...
by Domtar
Fri Sep 28, 2018 10:47 am
Forum: Windows PowerShell
Topic: calling function in external file
Replies: 4
Views: 835

Re: calling function in external file

In other words;

I can easily start another script each time with that sysnative thing but that means I would have to create a script for each function and that is what I want to avoid.

any hint?
by Domtar
Fri Sep 28, 2018 10:32 am
Forum: Windows PowerShell
Topic: calling function in external file
Replies: 4
Views: 835

Re: calling function in external file

Well, looks like I badly explained my situation. In SCCM, when you want to deploy something to a bunch of computers, you create a "package" that is sent to those computers. The package has a command line to execute something. On the computers, there is an agent that receives those instructions and p...
by Domtar
Fri Sep 28, 2018 10:18 am
Forum: Windows PowerShell
Topic: calling function in external file
Replies: 4
Views: 835

calling function in external file

hi all, aside from dot sourcing, is there some oter way to call a function inside an external file? I know about . .\myfile.ps1, I also know about modules, but in my case, both these options aren't doing what I want. The issue is that I need to force a script to be launched in the 64-bit system from...
by Domtar
Tue Jul 03, 2018 8:17 am
Forum: Customer Service
Topic: I would like to use my product on a third computer
Replies: 3
Views: 2172

Re: I would like to use my product on a third computer

WOW!

I already have my third activation!

Your service is outstanding. I'm very happy now. I will be able to sit outside while I work my scripts :-)

Thank you very much, Sapien. You just made my day!