Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Browsing all 6937 articles
Browse latest View live

Finding Installed Applications on Servers using the registry

Hello Everyone!This is my first post so let me know if I am doing anything incorrectly. I am trying to find all of the applications installed on the servers in my domain. I usually would use the...

View Article


Query 2 registry entries for a workstations by OU and output to an excel file

I am just learning powershell of course, but I need to find a way to query 2 registry entries in the same key "HKLM\SYSTEM\CurrentcontrolSet\control\Session Manager\Environment" and then output that to...

View Article


Understanding COM objects in PowerShell (Working with Excel)

Hi all, Im trying to edit an excel doc in powershell and slowly getting there finding bit parts of solutions on the web, in the end it would be lot easier! and beneficial if i could work it out myself,...

View Article

QAD tools vs default PS cmdlets

Hi,What are the major differences between the two and which technology would should I use? Thanks!

View Article

Update attribute from csv file

Hi, I have a .csv file that looks like the belowREFERENCENUMBERFIRSTNAMELASTNAMEFULL NAMESB363JimmyWhiteJimmy WhiteSB131SteveDavisSteve DavisSB90AlexHigginsAlex HigginsWhat I would like to acheive is...

View Article


Export group membership of user to csv file

Hi, When I run the follwoing command to display group membership of a user I can see the groups.get-aduser -filter { CN -eq "username" } -searchbase 'ou=users,dc=domain,dc=com' -properties memberof |...

View Article

The need for Managed Availability

Managed Availability is clearly a very important component for Exchange 2013, probably more so for the cloud version running inside Office 365 than for its on-premises counterpart. But why do we need...

View Article

SQL SERVER – Start Services or Stop Services with PowerShell – Answer to...

Earlier I asked a very interesting question related to Powershell and T-SQL command.Read More 

View Article


remotely set trusted hosts

I would like to configure psremoting on alot of servers. I was wondering if there a method of setting trustedhosts remotely such as:Invoke-Command -ComputerName $server -Credential $cred...

View Article


Powershell daily tips

I stopped receiving my Powershell Tips quite a while ago.  I assumed it was because of our Central Management (CMS) State of Illinois firewall or Outlook rules.  They have checked and there is NO...

View Article

User access to result a script.

I am trying to write a script... When a User(logging in from his Domain account) runs this script on the console and gives his username, the result would be a customized message for him. That task is...

View Article

Help with script to copy files from one UNC path to another

I need a script that can copy files from one UNC path to another.  This will be running from an intermediary server and copying from one remote server to another.I also need to specify specific files...

View Article

recursive NTFS permissions / change AD of existing users

hi all, i am a reader of the forum for some time now, but never had a question my self... now it's time :-)upfront, i am not a programmer but i use PS often for simple tasks . specially when the normal...

View Article


Monitor folder & Upload files to FTP and download the response file

Hello,This codes are uploading the files to FTP Server, but i need modification to automate it, being a newbie its very difficult for me to get the result, I need help.1. The script to monitor the...

View Article

Deploying System Center Using the PowerShell Deployment Toolkit

What's in a name? With the name "PowerShell Deployment Toolkit," (PDT) one would be forgiven for assuming that this utility is some silly script created to assist those of us who are still living with...

View Article


Managing Active Directory Password Policy with PowerShell

The Microsoft Active Directory module includes a number of PowerShell cmdlets for working with the domain password policy.Read More

View Article

Need help. Newbie on PowerShell. Currently using PSAppDeployment Toolkit for...

I'm trying to detect .net extended via registry uninstall GUID {8E34682C-8118-31F1-BC4C-98CD9675E1C2}. Once detected, I would like dotNetFx40_Full_x86_x64.exe not to install but if not detected, I...

View Article


Pesky music and movies on user home drives

Hi Community,This morning i decided i would write a PS command to determine which users have music & movies on their home driveMore importantly I've had to address this, as the file server is fast...

View Article

gwmi win32_product error ONLY in win xp

Hi  All,I am creating a script to collect some system information for multiple servers. As a part of it, I am collecting softwares installed in group of machines. I am taking the list of softwares...

View Article

Remove-Item does not work (Permissions) but "cmd /c 'rd /s /q directory' "...

Hallo,I would like to delete a directory of a user with the powershell (I 've run it as administrator):PS C:\Users> Remove-Item DIRECTORY -Force -Recurse    + CategoryInfo          :...

View Article
Browsing all 6937 articles
Browse latest View live