They’re just examples, feel free to supply your own items. SCCM - System Center Configuration Manager SCOM - System Center Operations Manager SCCM is a systems. I can still refer to the name of the PC through the $pc variable. I have to store the name of the current PC in a variable with the command $pc=$. Object on all the items from the second text file and write that on the screen also. Then I’m reading the different elements to report on from another text file (wmi.įor the current system in the loop I’m running a Get- Wmi. Write the name of the PC on the screen in green to easily identify which system we’re processing. Then I use a foreach- clause to iterate through the list of pc’s. With more than 9,000 video.Īfter experimenting a little bit I came up with the following line of code: Get- Content pcs. Shell, SQL, VMware, Hyper- VRecently, I was wondering how much code I would need to do basic hardware and software inventory on several remote systems.įree video tutorials from CBT Nuggets, creator of innovative, on-demand IT training that is informative, meaningful, and engaging.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |