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

Remote PowerShell for launch script in Cloud environement

Hello,I try to understand and describe the way to configure and design a Remote Powershell in order to manage email and mobile services on a Cloud Exchange platforme. The Exchange servers are...

View Article


Capture all process output and display it

Hi allGoing round in circles here, help please.I'm wanting to capture the out put of an exe (so I can email it after) and also display it. Am I missing something obvious?So here's an example of how far...

View Article


New Scripts list remove members

good afternoon Working for a private bank and need to develop a script that do the following. I'm starting to develop in Power Shell script. I need the script to check my machines in the network...

View Article

Copy folders and subfolders to another destination

Hi,I am trying attached script but it doesn’t work well. Everything is OK except line with Robocopy.I don’t know what parameters I should use.I need copy the newest file from each folder and subfolders...

View Article

activate windows

Hi gurusI am looking for the following, as you can see on my first post, I am learning PS. how can I get this done, I would like to have PS read a text file with a bunch of computer names and then find...

View Article


fifa 14 coins JOvff hWJG9 bwdOE

That judge Xiao Wei, the government should show Yoshioka is the only daughter of a woman bending over in front of Yoshioka political Ya a ceremony, such as the Valley ghostly sounds crisp sound...

View Article

windows-powershell-getprocess

A NodeJS Module to get process information on Windows runtimesRead More

View Article

Map a network drive based on the user group

Dear everyone, I know there is a tone of topics about that but i need a script a bit specific.I need in Powershell to map a network drive based on the group user.The particularity is : There is not a...

View Article


Compare a property of one CSV to a different property in another CSV

Hi everyone, I've been trying get my head around this and can't work it out.  I have two CSV files which I would like to compare. The problem is the lines are ordered differently in each in file so I'm...

View Article


CSV ping formatting.

Ok.. so I am very new to PS. in fact this is my first script so bare with me.What I am trying to do is run a script that will ping a list of devices if from a csv file, then output the results to...

View Article

Show all printer connections and delete all Xerox

Hello,with thiscodeI getonly displayedthelocalprinter connections.How do I getthenetwork printervisible.I want to deleteallXeroxdrivers sincethey cause ProblemsGet-WmiObject win32_printer -ComputerName...

View Article

How to get MS Office product key

Hello all, I would like to ask if is possible to get MS Office Product key from registry using powershell. I have one script which gets Windows Product key I need same think for office. Is it possible...

View Article

An Active Directory Health Check PowerShell script v1.0

This is a PowerShell script which offers an Active Directory Health Check. These checks are based on my personal best practices. Some of the checks may not be applicable to your environment.Read More

View Article


Looking to create a PowerShell script that deletes everything under all users...

Hi All, Looking to create a powershell script that doesn't delete the home directory from everyone but deletes everything within there home directory and then remap their home directory to another...

View Article

Remove-ADComputer message: The directory service can perform the requested...

When I run this command:  Remove-ADComputer -identity $computernameI get this message:  "The directory service can perform the requested operation only on a leaf object."This is because ADUC tells me...

View Article


export result to csv files

Hi, In below script i am able to query the NTFS security rights for the data files but i am unable to export into csv files.Please help me to export the result to csv files.  Function Get-DBPermissions...

View Article

powershell inventory script sometimes writes empty csv

ive written a powershell script that runs at pc startup to grab various inventory details from a pc and save it to a scv file on a server.  In testing it works fine but when deployed i keep finding...

View Article


who is logged

how do I getout whoiscurrently logged on.I'm interested inthesamaccountname.The variable $computerisalready definedas a computernameThanksMarek

View Article

Reading and Processing Data in Batches of Some Number

Let's say I have a text file containing all county names of any state and I want to process those in groups of 5 until I have exhausted the entire file for purposes of sending that list of 5 to one...

View Article

Copy two files into the profile

Hi there.I want to copya folderwith twofilesin the DFSShareinthe user'sCitrixprofile.However, if thefolderalready exists,nothing shouldbe copied.This shouldbechecked everytime the user logs.I wantthis...

View Article
Browsing all 8411 articles
Browse latest View live


Latest Images