Quantcast
Channel: PowerShell General
Browsing all 10624 articles
Browse latest View live

remove users disable from a group

Hi I would like to remove all the user disable in a specific group. Because I have users in a group that are no more used (disabe in the active directory). How can I do that: Remove-QADGroupMember...

View Article


How to add user to multiple groups from .csv

Hi All,I have tried researching previous posts, but didn't find anything in relation to adding users to multiple groups from .CSV file import.  I have been able to get the below script to work on...

View Article


Shared Printer and its associated machines

Hi I would like to run a powershell script that looks at a specific shared network printer in AD and returns a list of all PCs\laptops that are attached to it in the form of a CSV file. Is this...

View Article

Image may be NSFW.
Clik here to view.

Adding Users to AD in Bulk From CSV File

 I am trying to write a script that will add users from a csv file and then add them to a group. I am currently testing with just one user at the is time. The csv file has the following headers...

View Article

Powershell script to move user to new OU

Currently I have a PowerShell script to create new users, modify settings and set a AD Group or disable the user.I receive my input file and at the end of line there is a code at tells the script what...

View Article


Report on selected AD users with groups for each user

Hi everyone, I'm new-ish to PowerShell, but have been more recently made aware of it's prowess so i'm going to start using it more!  ;)Let me set the scene; our AD structure is arranged so that users...

View Article

Home drive and looking for blanks

Back again, with a change of direction. Another project has befallen me. Id rather take a ring to Mordor to be honest. LDAP is useful but so unreadable so again i look to powershell.from many thousands...

View Article

Active directory backup & recovery by powershell

Hello I must write a powershell script, which must backup and recovery an active directory by powershell script (with GUI). Do you have any ideas? Can you help me?Thanks in advance.Best regards winkid

View Article


Adding Global group from one forest into a Domain Local group in another...

Hi everyone...  I've been trying to create a script to nest groups from one forest into another forest.  I can do it with no issues from the ADUC.  I've read some articles on what they suggested to...

View Article


CSV File Import into AD

Human Resources is going to start providing a .CSV file to me on a regular basis to be imported into AD.The file will only contain "employeeID" "department" and "company".  It will not have the UPN,...

View Article

Image may be NSFW.
Clik here to view.

Ignoring blank fields of csv file

Hi, I am new to powershell and I need some help if you are kind :)I have one  script for adding users to my AD and I want to import a csv file. The script is working, but I want to add one user to more...

View Article

DNS SERVER Backup Script

I am writing a DNS server backup script with additional options. Backing Up DNS Server DailyCreate a folder based on current dateCopy the backup from source to newly created folder based on...

View Article

Reading the HKCU Registry keys from a list of remote computers

I am trying to query the registry of remote computers to obtain of list of devices, specifically printers.  I have used the remote registry on the past, but I was querying the HKLM (local machine) keys...

View Article


Runas a different user on a remote server

Hi... I am trying to create a remote powershell session from which I have to run a PS script which resides on the target server. I need to run this target script with a different user other than which...

View Article

Need some Help with executing a ps1 on a remote machine

Hi all I have been working on this for two days now to no avail. My company is in the middle of changing its spam service from postini to Proof point. In outlook we point the junk mail folder to a site...

View Article


PowerShell 3.0 Remoting vs PS 2.0

For the past few months I've been using PowerShell 2.0 with Remoting set up through Group Policy. Recently, the Microsoft Management Framework 3.0 came out as an optional update. We sent that update to...

View Article

Manage User Workstations with Remote Powershell via SSL

Hey Folks,I am looking for a solution to remotely manage around 100 workstations.I will be connecting to these systems to complete several local system tasks. (3rd party updates, security auditing,...

View Article


remoting server execution powershell script show Sysocmgr error

I'm want remoting server win2003  auto install iis6 with powershell script.so the mananger server the system path D:\PS\  have 2 ps file :RemoteRunScritpion.ps1  &  Install-CN_IIS60_x86_K3.ps1I run...

View Article

Problem running PSSession from within a script

Hello AllCan someone please help me with the followng question please.If is run the following from a command line it works find$Session = new-pssession -computername remote1enter-pssession $session"now...

View Article

powershell script to enable "Offer Remote Assistance" automatically for all...

Hello guys,Just a question, is there a way to create a powershell script to enable "Offer Remote Assistance" automatically for all windows 7 computers in the office ?I know to set up through gpedit...

View Article
Browsing all 10624 articles
Browse latest View live