Search found 14477 matches

by jvierra
Wed Jul 15, 2020 10:43 am
Forum: PowerShell
Topic: Service Getting Its Own Version?
Replies: 5
Views: 875

Re: Service Getting Its Own Version?

Applications have no concept of version internally. A version is an arbitrary number that is applied to code when it is packaged. The versioning system in Windows is attached to the executable and has multiple components. "FileVersion""ProductVersion" and other tags.
by jvierra
Tue Jul 14, 2020 7:42 am
Forum: PowerShell GUIs
Topic: Comparing Original and Current Datatable values for each cell
Replies: 4
Views: 276

Re: Comparing Original and Current Datatable values for each cell

Other useful examples on how to detect and manages chages with PowerShell: https://www.google.com/search?newwindow=1&sxsrf=ALeKk02g1lQvTGApMyItZSWW_I3xDN7-9Q%3A1594737373599&ei=3cINX6iRJN6FytMPttg4&q=powershell+datatable+get+dirty+rows&oq=powershell+datatable+get+dirty+rows&gs_lcp=CgZwc3ktYWIQAzIICC...
by jvierra
Tue Jul 14, 2020 7:40 am
Forum: PowerShell GUIs
Topic: Comparing Original and Current Datatable values for each cell
Replies: 4
Views: 276

Re: Comparing Original and Current Datatable values for each cell

Start by learning what a data table is and try to understand what its properties and methods are designed to do:

DataRowVersion

System.Data.DataTable
by jvierra
Mon Jul 13, 2020 9:54 pm
Forum: PowerShell GUIs
Topic: Creating a Hamburger Menu/Navigation View style navigation
Replies: 4
Views: 225

Re: Creating a Hamburger Menu/Navigation View style navigation

The article you referenced seems to be a complete description of how to do this with WPF. What is it that is not happening. Dir you do the full example to see how it works? If so what is the issue you are having? Add the control to a form as indicated in the article and you will have your menu.
by jvierra
Mon Jul 13, 2020 1:02 pm
Forum: PowerShell
Topic: .net remote install
Replies: 12
Views: 1920

Re: .net remote install

$path = 'C:\classInstalls\ndp48-x86-x64-allos-enu.exe' Invoke-Command -ComputerName $computerName -ArgumentList "/q /norestart" -ScriptBlock { Start-Process -FilePath using:$path $args[0] -WorkingDirectory ?????????? } Do you need to include a WorkingDirectory? No. Installers use temp or the defaul...
by jvierra
Mon Jul 13, 2020 9:04 am
Forum: PowerShell GUIs
Topic: Creating a Hamburger Menu/Navigation View style navigation
Replies: 4
Views: 225

Re: Creating a Hamburger Menu/Navigation View style navigation

You can use a fly out panel and a menu bar to create a similar menu in WinForms.
by jvierra
Sun Jul 12, 2020 10:29 am
Forum: PowerShell
Topic: Issues with elevation after 1803 upgrade
Replies: 2
Views: 308

Re: Issues with elevation after 1803 upgrade

You have to specify to run the EXE elevated when you build it. Your issue is likely that UAC has been disabled on the older systems but not on the neer systems. No changes were made to the Admin account. I don't know where you heard that.
by jvierra
Fri Jul 10, 2020 5:10 pm
Forum: PowerShell GUIs
Topic: Powershell: SQLCMD, substituting variable for -serverinstance parameter
Replies: 4
Views: 229

Re: Powershell: SQLCMD, substituting variable for -serverinstance parameter

Here is an example of how to work with this: $paramInvokeSqlcmd = @{ Query = 'select * from VIEW_NAME order by instance_name' Database = 'DATABASE_NAME' ServerInstance = 'SQLSERVERNAME' } $wksList= invoke-sqlcmd @paramInvokeSqlcmd $DropDownBox = New-Object System.Windows.Forms.ComboBox $DropDownBox....
by jvierra
Fri Jul 10, 2020 5:02 pm
Forum: PowerShell GUIs
Topic: Powershell: SQLCMD, substituting variable for -serverinstance parameter
Replies: 4
Views: 229

Re: Powershell: SQLCMD, substituting variable for -serverinstance parameter

As I noted before. You have to load the second list from an event that can read the first events selection. Since we don't have your database there is no ways to demonstrate this easily. Start by learning about how forms are event driven. Here are some links that will help you understand how this wo...