Book now with code EOY2025
the_hutch wrote: » Powershell scripting is VERY easy to pick up if working in the ISE, and EXTREMELY powerful. A few things that might help: 1. Upgrade to 3.0 (this is a must IMO). 2. Use 'Get-Help'. If you use 'Get-Help' followed by any PS command, you will be provided a lot of very helpful information to include usage, syntax and examples. For example: Get-Help Get-ADUser 3. You can also use the online switch to be automatically directed to additional information about the command on the web. Example: Get-Help Get-ADUser -online 4. Use already existing scripts as templates when you are trying to accomplish something. And then just analyze the scripts line-by-line to understand what they are doing. Modify as needed to apply to your specific task or environment. Modifying scripts will get your feet wet, and you'll be surprised how quick you'll be ready to start writing your own scripts. 5. Don't be afraid to ask for help. There is a huge support community online for PowerShell scripting. Check out powershell.org.
Salt0912 wrote: » what about moving a mouse cursor over an object in a application in windows and clicking it in a scripting programming file?
Salt0912 wrote: » I assume I just google powershell templates for examples?
Salt0912 wrote: » I tried to download version 3.0 but was unable to do so.
ptilsen wrote: » PowerShell is able to make .NET calls, and cursor movements can be controlled with .NET calls. You need to learn the basics of .NET programming and PowerShell to get anywhere on your own.
the_hutch wrote: » I disagree. I don't know much about .NET but I get a LOT accomplished with Powershell. Mostly using it to multi-thread network security tasks to include vulnerability remediation (remote installation of patches, removal or modification of registry keys, etc...), Active Directory object querying and manipulation, discovery scanning, system analysis for security events, rogue system identification, etc...
Salt0912 wrote: » I assume I just google powershell templates for examples? I tried to download version 3.0 but was unable to do so. I am about to add powershell.org to favorites right now.
Use code EOY2025 to receive $250 off your 2025 certification boot camp!