Quantcast
Channel: PowerShell
Browsing all 15370 articles
Browse latest View live

Deleting/resetting a computer object remotely using PowerShell?

We have several computer labs, each with about 25 computers. We sometimes need to re-image the computers. The computers automatically add themselves to the domain using PowerShell.The problem is that...

View Article


System.Management.Automation.Remoting.PSRemotingTransportException:

Hi all,I am using Exchange server 2013.I am getting below Exception when try to run my code in...

View Article


Populate .CSV file With Powershell?

What are some methods I could use to populate a .CSV file from variables I gathered in a powershell script?

View Article

autoexec.bat for 2008 R2 / 2012 R2

Current SetupMany Hyper-V hosts filled with Windows VM's running 2008 R2 or 2012 R2 all in a Workgroup, credentials for each server are different, Hyper-V hosts are in a domain.I need to run a script...

View Article

Export exchange users by country

Hey all,I am a bit of a Powershell rookie so this might be an extremely obvious answer.One of our IT officers in country wants a report on users who haven't signed in in 60+ days. I ran this...

View Article


Powershell and Active Directory

Hey guys. \Im trying to run a powershell scriptlet to gent an inventory of hosts from Active directory. Ive installed the RSAT tool on the server, but when I try to import the AD module I get an error...

View Article

exchange - export distribution group members to a spreadsheet

hi all,i have exchange 2007 and have a few distribution groups with members in the distribution group, i was wondering if there is a free program that can grab all the members in the distribution...

View Article

Check for recently modified/new FILES only

Hello, I'm trying to have a PS script that checks for files with recent 10minute modification time and then send an email alerting that there is a new/modified file. How ever, the script also alerts if...

View Article


PowerShell - use variable in command

I am creating a PowerShell script to give me results from my AppAssure backup, I can pull the server name but when I try to use that variable within my command it doesn't reference the actual server...

View Article


Script to find a specific program on all computers in Domain

Hi I am looking to find a script that is able to find a specific program installed on the computers within my Domain. Thanks

View Article

Powershell to notify users of reboot

I have a created a powershell script to automate server reboots but cannot seem to find a good way to notify all users with a session that the server will be rebooting in X number of minutes. Is there...

View Article

Finding Terminated Users

Hi Guys,I was given a list of First and Last names one column (Diana Harms, Clark Kent, Bruce Wayne etc) and we want to find out who is terminated on this list? It's a mix of Active and Terminated...

View Article

Powershell script change

So I was able to use this script to pull some need info however i would like to add one more data point to it. I need to list group scope for each group it pulls and i'm not sure how to change the...

View Article


Change an html to rtf in Powershell

I have no idea where to even begin on this. I have very little Powershell experience. Please help! I am needing it to open the html and convert it into a rich text file format. Any help would be...

View Article

how to tell if I'm running new-moverequest onsite or on o365?

I'm trying to move a mailbox from onsite to o365. I have to run the command on o365 so I connect to o365 exchange with new-pssesion ..... then I import-pssession, I get the outlook of the commands that...

View Article


uninstall spiceworks

Is there a command that can be run to silently uninstall Spiceworks (setup as remote collectors) from computers. I need to remove it from a bunch, 90+, of computers.

View Article

Power Shell Queries to .csv file

My Goal is to have the Power Shell Script to:create a .csv fileCreate Column headersQuery for anything and add that data to a specific columnWhen i query for computer names the script outputs...

View Article


How to PowerShell Get-WinEvent by EventID?

We are attempting to do an audit on printing, and thought that PowerShell would be an excellent way to parse the Event Viewers of our computers to get out all of our ID numbers 307 out of...

View Article

Start-job calling a script function

Hi everybody.I am rebuilding my folder size analysis script, without using Get-Childitem as this command does not works with files that are over 260 characteres in the full path. (Damn .Net!)So here I...

View Article

Mass shortcut link alteration

I'm looking to change the location of all the shared files in my company from;\\Bericapsbs\Rest of the path\to\\Bericapfs\Rest of the path\Althought the company has a lot of files in this area and the...

View Article
Browsing all 15370 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>