How to List Registry Hives
PowerTip of the Day, from PowerShell.com: Use the provider name instead of a drive name when you need to get a list of all Registry Hives: Dir Registry:: thanks aman
PowerTip of the Day, from PowerShell.com: Use the provider name instead of a drive name when you need to get a list of all Registry Hives: Dir Registry:: thanks aman
hi, Thanks to http://www.powershellmagazine.com they just upload my powershell story yesterday. you can read the complete story here: http://www.powershellmagazine.com/2011/12/12/powershell-and-i/ thanks aman
PowerTip of the Day, from PowerShell.com: You can use WMI like this if you want to change a service start mode: ([wmi]’Win32_Service.Name=”Spooler”‘).ChangeStartMode(‘Automatic’).ReturnValue ([wmi]’Win32_Service.Name=”Spooler”‘).ChangeStartMode(‘Manual’).ReturnValue Note that a return value of 0 indicates success. You will need Administrator privileges to change the start mode. Thanks to www.powershell.com
PowerTip of the Day, from PowerShell.com: When you need to store a picture into an AD account, the picture will have to be converted to byte values before it can be stored. Just make sure you adjust the path to the picture you want to store and the LDAP path of the AD object… Continue reading Storing Pictures in Active Directory
PowerTip of the Day, from PowerShell.com: Finding IP and MAC address When you query network adapters with WMI, it is not easy to find the active network card. To find the network card(s) that are currently connected to the network, you can filter based on NetConnectionStatus which needs to be “2” for connected… Continue reading Finding IP and MAC address
Hi Today i was searching for one PDF file on my laptop and then I just thinks “How Many PDF files do i have?”, i have no idea, one way to find is go to windows search and find all .PDF files? but “how can i find this with powershell” we can let try… Continue reading “Find how many types of files you have in you laptop” using Powershell.
PowerTip of the Day, from PowerShell.com Sometimes it would be nice to be able to access network adapter configuration based on the name of that adapter as it appears in your Network and Sharing Center. To find the network configuration data for any network card with a “LAN” in its name, use this code:… Continue reading Finding Network Adapter Data Based On Connection Name
Hi, I called these services as “Problematic services”. The start-up mode of these services are “Automatically” so that whenever windows starts or reboot these services should start automatically. So logically if any of windows services start mode is set to “Automatic” then the Window Service should be running not “stopped”we are using WMI query language… Continue reading How to find “Stopped” windows Services, whose start up mode is set to “Automatic” using PowerShell.
PowerTip of the Day, from PowerShell.com: If you want to capture PowerShell results in a text file, you can redirect the results or pipe them to Out-File. In any case, what you capture is the exact representation of what would have been displayed in your PowerShell console. So, depending on the amount of data,… Continue reading Outputting Text Reports without Truncating