Search found 39 matches

by bhnuser
Tue May 21, 2019 11:58 pm
Forum: Windows PowerShell
Topic: Password as plain text in script
Replies: 3
Views: 92

Re: Password as plain text in script

Thank you for your prompt reply. The password I would not like to deposit in any case as plain text in my script. With ConvertTo .... I have already worked but I can not find a solution. I have the SecureString, but it can be easily decrypted by PowerShell. So I can not think of a 100% solution for ...
by bhnuser
Tue May 21, 2019 2:32 am
Forum: Windows PowerShell
Topic: Password as plain text in script
Replies: 3
Views: 92

Password as plain text in script

Hello everybody, i have a question about the password in a script. It should be a service user with high rights in the script deposited so that it is transparent to the end user. The script is exported to an executable file (.exe). My question is how can I implement it without a user can get to the ...
by bhnuser
Wed Apr 10, 2019 11:38 pm
Forum: Windows PowerShell
Topic: PSSession to Skype-Server
Replies: 2
Views: 718

Re: PSSession to Skype-Server

I'm aware of how I can see the cmdlets. The problem was that on the Skype server the cmdlets are displayed to me but not in a PowerShell session on my local machine. Now I have solved the problem. It was a mistake in the permission. I missed a higher privilege group to pull all the commands in the P...
by bhnuser
Fri Mar 22, 2019 7:17 am
Forum: Windows PowerShell
Topic: PSSession to Skype-Server
Replies: 2
Views: 718

PSSession to Skype-Server

Hello everybody, i got some problems with a script from the internet. It works on my Skype for Business Server 2015 but if i create a PowerShell-Session to the Server it won't work. Which script i use is Get-fBNumbers.ps1 (can found on the internet). My Problem is now, if i import the PowerShell-Ses...
by bhnuser
Thu Mar 21, 2019 11:52 pm
Forum: PowerShell Studio
Topic: Start ps1-Script in a form
Replies: 2
Views: 889

Re: Start ps1-Script in a form

Thank you very much. It works for me now :)
by bhnuser
Wed Mar 20, 2019 7:34 am
Forum: PowerShell Studio
Topic: Start ps1-Script in a form
Replies: 2
Views: 889

Start ps1-Script in a form

Hello everybody, I have received a script for my self-made tool from my colleagues and would like to incorporate it. Unfortunately I do not know how I can execute a script with a push of a button. The script as seen the attachments should be included in the project. To open other forms i can use: Sh...
by bhnuser
Mon Feb 25, 2019 4:49 am
Forum: Windows PowerShell
Topic: New PsSession with a Progress Bar
Replies: 18
Views: 1939

Re: New PsSession with a Progress Bar

You have to have the module (RSAT) installed on any system that needs to use it. It cannot be passed to a remote system. Is there no way to pass the Get-ADUser cmdlet on the job? Finally, the cmdlets are stored in a psm1 in the temp folder. If it does not work, is there any way to permanently save ...
by bhnuser
Mon Feb 25, 2019 2:29 am
Forum: Windows PowerShell
Topic: New PsSession with a Progress Bar
Replies: 18
Views: 1939

Re: New PsSession with a Progress Bar

Here is how you will have to do this to get the users and maintain the results while animating the button. $jobScript = { Param( $Server, $User ) $userProperties = 'set required properties here' Get-ADUser -Server $Server -Filter "Name -like '$User'" -Properties $userProperties } $updateScript = { ...
by bhnuser
Thu Feb 21, 2019 11:46 pm
Forum: Windows PowerShell
Topic: New PsSession with a Progress Bar
Replies: 18
Views: 1939

Re: New PsSession with a Progress Bar

jvierra wrote:
Thu Feb 21, 2019 8:10 am
What you are trying todo cannot be done. A job runs in a separate process and processes are isolated from each other.
Too bad. Is not it possible to indicate progress or otherwise in any other way while the code is running (as above)?
Currently only the button is disabled and no more.
by bhnuser
Thu Feb 21, 2019 7:56 am
Forum: Windows PowerShell
Topic: New PsSession with a Progress Bar
Replies: 18
Views: 1939

Re: New PsSession with a Progress Bar

So i am back at this topic and hope i can solve my issue with you. I would like to start a new session with New-PSSession but the loadtime is more than 20 seconds. So i would like to a an animated button in my script to show the user that the process is active. But how i can start a job with the fol...