PowerShell

Script to reset “Hidden files and folders” to normal using PowerShell

  Hi, yesterday one of my users laptop get infected with virus. After removal of virus i saw that “Virus” hide every file and folder in the laptop.  It was quite a pain to “Choose file and folder” right click on it, choose properties and un-tick the hidden option. Then i decide to write a… Continue reading Script to reset “Hidden files and folders” to normal using PowerShell

PowerShell

Uninstall Software using PowerShell

  Hi, today i was trying to uninstall the the software using PowerShell. i See few blog posts about uninstalling software using PowerShell they re recommending WMI to uninstall software using the .Uninstalled() method. But i think this method is not right because it don’t un-installed the software properly. Sometime uninstalling software using these method… Continue reading Uninstall Software using PowerShell

PowerShell

“Enable or Disable” Network adapters using Powershell.

  Hi, In our IT environment we don’t give  “admin” rights to the normal users and they can’t enable/disable, install/un-install anything. Today one of our users was having some problem with Wi-FI and to troubleshoot it i need to “enable” and “disable” Wi-Fi network adapter few times, but to enable or disable the network adapter… Continue reading “Enable or Disable” Network adapters using Powershell.

PowerShell

“Script to list all folder of Outlook and total number of emails store in them” using PowerShell

  Hi, from past few days I tried to writing a script which shows me that how many folders I do have in my Outlook and total number of emails stored on them. I get only 50% success so far, I am able to see the folders but somehow not able to see the total… Continue reading “Script to list all folder of Outlook and total number of emails store in them” using PowerShell

PowerShell

How to find “Stopped” windows Services, whose start up mode is set to “Automatic” using PowerShell.

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.