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

PowerShell Team Publishes New Set of Desired State Configuration Resources

The PowerShell team released a new set of Desired Configuration State (DSC) resources, building blocks that allow the configuration of computer items. This resource kit was published to encourage 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


RDP and Network configuration verify script..

I have two script and i am trying to compile it to one. But while compiling these two i am not getting the expected output.   Remote network status verification  [cmdletbinding()]param (...

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

String manipulation

I execute this against a server param($serverName)$serverName = "BEAST"@(  "\\$serverName\PhysicalDisk(*)\Avg. Disk Read Queue Length",    "\\$serverName\PhysicalDisk(*)\Avg. Disk Write Queue Length",...

View Article


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

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

A few big questions

I have been tasked to create a powershell/sql solution for monitoring up to 50 servers for multiple perfmon counters and hitting WMI for metrics.  What would be the most efficient way to create this...

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
Browsing all 8411 articles
Browse latest View live


Latest Images