Topic Tag: powershell
Viewing 5 topics - 1 through 5 (of 5 total)
-
- Topic
- Voices
- Last Post
-
-
Button that runs PowerShell script Hello! Thanks for a really cool app! I'm trying to create a button that launch powershell script which mapping network drives. Script itself working without any troubles, but i can't associate it with the button - it's just not running the script. "Set-ExecutionPolicy RemoteSigned -Scope CurrentUser" is typed in the script. Eventualy i ran script by button, but first it runs bat-file which runs vbs-file which run powershell script i needed. But it doesn't seem nice-) So i will be very gratef...
- 2
- 3 years ago
-
List RDP Users I see in desktopinfo's manual there is a RDS and RDSSESSIONS item but I've been playing around with both of them and I can't seem to find a way to get either of them to output a list of users connected via RDP. What I am looking for is output similar to if you open task manager, and go to the users tab. So I want output like: ID User Status #1 bob connected #2 susan connected #3 jane disconnected #4 dick connected Where # is the RDP session ID number, bob/susan is the users username, and...➤
- 1
- 3 years ago
-
Parsing WMI Queries Greetings, It has been years since I looked for updates to this fine product and boy was I surprised on how much activity there has been! I'm still trying to understand the new syntax for the .ini files. One thing that has changed is the OS Version display. It now uses a WMI call. Is there a way to parse the %caption% response so I can pull just the bits I want? For example namespace:root\cimv2,query:Win32_OperatingSystem,display:%caption% will show "Microsoft Windows Server 2019 Standard"...
- 2
- 3 years ago
-
Useful Powershell Commands Let's start a collection of useful Powershell commands that you use with Desktop Info. If we get even a small collection I'll add a chapter to the manual. I'll start the ball rolling with this one that was sent to me by someone whose name I've forgotten (feel free to put your hand up). It returns a list of installed Microsoft applications. I've added this to the advanced ini file. CMD=active:6,font-size:75%,font-face:courier new,wide:1,file:powershell.exe,parameters:Get-ItemProperty HKLM:\...
- 2
- 4 years ago
-
Execute a powershell script Hi everybody, I'm trying execute a powershell script with CMD Command but I'm not be able, it doesn't work. I've a script to check updates pending properly, and manually it works and write the exit in a text file. I follow the manual but DTI does't execute the script .ps1. Somebody have an example to execute a powershell script? Thanks in advance.
- 2
- 4 years ago
Viewing 5 topics - 1 through 5 (of 5 total)
-