PDQ Live! : Gotta Catch ‘Em All - Error Handling with PowerShell

Опубликовано: 29 Сентябрь 2024
на канале: PDQ
1,054
18

What is Error Handling? :54

Flow Control. 1:33

Try/Catch. 5:13

Try/Finally. 9:24

Catch specific exception types. 15:20

Call Stack. 19:06

Question: What's the best way to handle user interaction? For example, can I deploy an interactive PowerShell script to prompt the user to answer yes/no and use the returned response later in my deployment? 26:47

Question: What is the best way to remove built-in Windows 10 apps for all users with PowerShell. I have read a bit about it and am still having issues getting them to remove for all users. Maybe a PowerShell tool/package in PDQ that runs on computers when they first join Inventory? 28:22

Question: Any recommendations on books to gain more PowerShell knowledge? Currently enrolled in the University of Google. 30:38

Question: I am trying to build a tool in PDQ for renaming computers. At the moment, I found a Spiceworks script that works but is annoying. I have to enter my credentials every single time. What do you recommend regarding renaming computers? Perhaps PDQ Inventory can have a nice Right click Change computer name function someday. 31:31