Hi,
I found a solution :
- import-module -name powershellget -requiredversion 1.0.0.1
Then I get no error when I launch the "Publish-Module" command.
If you got another fix I'll take it
Best Regards
Search found 23 matches
- Tue Jan 02, 2024 4:12 am
- Forum: PowerShell
- Topic: Publish-Module Error
- Replies: 1
- Views: 1433
- Tue Jan 02, 2024 2:15 am
- Forum: PowerShell
- Topic: Publish-Module Error
- Replies: 1
- Views: 1433
Publish-Module Error
Hi, I declare a local repository with the following command : $RepoName = "REPONAME" $RepoUNcPath "\\Path\Share" $RepoInstallationPolicy = 'Trusted' $registerPSCd22Repository = @{ Name = $RepoName SourceLocation = $RepoUNcPath ScriptSourceLocation = $RepoUNcPath InstallationPolic...
- Tue Nov 21, 2023 12:57 am
- Forum: PowerShell
- Topic: Function parameter based on value of another parmeter
- Replies: 3
- Views: 6876
Re: Function parameter based on value of another parmeter
Hello,
Thanks for this anwser, but have you got an example of this kind of function ?
Best regards.
Thanks for this anwser, but have you got an example of this kind of function ?
Best regards.
- Fri Nov 17, 2023 12:18 am
- Forum: PowerShell
- Topic: Function parameter based on value of another parmeter
- Replies: 3
- Views: 6876
Function parameter based on value of another parmeter
Hello, I got a problem with parameter in a function. I try to pass a parameter based on the value of the precedent parameter : - if the value of the parameter FieldName is Color - the value of the parameter NewValue must be have a validateset attribut and can be choosen For other value of the parame...
- Sun Aug 20, 2023 11:40 pm
- Forum: PowerShell Studio
- Topic: can't browse database on Object browser
- Replies: 2
- Views: 1141
Re: can't browse database on Object browser
Hello,
The MySQL version is 8.0.31
I tried to add "charsert=utf8" to the connection string, but I get the same error.
I think I need to update Powershell Studio.
Thanks for your answer.
The MySQL version is 8.0.31
I tried to add "charsert=utf8" to the connection string, but I get the same error.
I think I need to update Powershell Studio.
Thanks for your answer.
- Thu Aug 17, 2023 1:20 am
- Forum: PowerShell Studio
- Topic: can't browse database on Object browser
- Replies: 2
- Views: 1141
can't browse database on Object browser
Product, version and build: powershell studio 2022, 5.8.208 Operating system: windows 2022 PowerShell version(s): I just install a wamp server version 8 on a windows 2022 and I got the following problem : When I create a new database connection everything seems to ok. the test of the connection is s...
- Wed Aug 10, 2022 2:04 am
- Forum: PowerShell GUIs
- Topic: combobox and valuemember
- Replies: 3
- Views: 1008
Re: combobox and valuemember
Hi, I found another way to dislay the "ValueMember" attribut on your forum. The result of the query is a hashtable. I must create a System.Data.DataTable object. Below the code I used : $ComboBox_DelRowItem = (Invoke-SqlQuery -Query "SELECT DOC_ID, DOC_APP, DOC_PATH FROM DOC ORDER BY ...
- Tue Aug 09, 2022 6:43 am
- Forum: PowerShell GUIs
- Topic: combobox and valuemember
- Replies: 3
- Views: 1008
combobox and valuemember
Hi, I used for a long time the function automatically added (Update-ComboBox) in a form when you create a combobox. Since today I haven't have to used the "ValueMember" argument. When I try to use it, it always retrieve the ValueMember of the last entry of the ComboBox. Here below the code...
- Fri Aug 05, 2022 3:24 am
- Forum: PowerShell Studio
- Topic: output deploy PS1 to exe
- Replies: 1
- Views: 1192
output deploy PS1 to exe
Product, version and build: SAPIN POWERSHELL STUDIO 2022, 5.8.208 Operating system: Windows 10/Windows server 2022 PowerShell version(s): 5 / 7 Hi, When you deploy a PS1 file ton an exe file, the deployment process automatically create a "x64" folder under the directory you choose in the o...
- Mon Feb 28, 2022 10:53 pm
- Forum: PowerShell Studio
- Topic: autocompletion
- Replies: 10
- Views: 8099
Re: autocompletion
Hi,
I try this morning after upgrade my powershell studio to the last version and the autocompletion on exported ps1 file seems to work fine.
Thanks for your help.
Best regard.
I try this morning after upgrade my powershell studio to the last version and the autocompletion on exported ps1 file seems to work fine.
Thanks for your help.
Best regard.