![]() ![]() Yes, you can stop using the DOS prompt and start doing all of those same tasks within PowerShell. #2: Perform your favorite CMD tasks in PowerShell I have found this useful to maintain a report for servers that have a USB license device installed so that their connectivity is maintained from the device perspective. Should you want the full export, you can omit the pipe and filter statement to have a comprehensive export of the USB devices on a system. This will apply a filter to bring back the antecedent and dependent fields from the SERVER1 computer. From PowerShell, you can make a WMI call to retrieve the USB devices installed in a local or remote system: gwmi Win32_USBControllerDevice -computername SERVER1 |fl Antecedent,Dependent PowerShell is Windows Management Instrumentation (WMI) aware. #1: Report all of the USB devices installed This information is also available as a PDF download. Also consider using the “-confirm” parameter to test configurations before execution for certain commands. PowerShell can easily cause massive configuration changes, positive or negative - so protect yourself and establish a test environment for your learning experiences. Having someone watch you right-click and fix something doesn’t have the same appeal. Besides, it is always cooler when you amaze someone with the solution from the command line. I’m going to put some fun into the PowerShell arena and show you a few tricks that will definitely come in handy. It’s a core part of Exchange 2007, Windows Server 2008, and SQL Server 2008, and it has immense power we all need to grasp. If PowerShell’s learning curve has kept you from embracing it for daily use, “cool” might not be a word you’d associate with it. For more info, visit our Terms of Use page. This may influence how and where their products appear on our site, but vendors cannot pay to influence the content of our reviews. We may be compensated by vendors who appear on this page through methods such as affiliate links or sponsored partnerships. Here are some examples of how to put PowerShell to work. It's a core part of Exchange 2007, Windows Server 2008, and SQL Server 2008, and it has immense power worth tapping into. ![]() If PowerShell's learning curve has kept you from embracing it for daily use, "cool" might not be a word you'd associate with it. 10 cool things you can do with Windows PowerShell ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |