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

Help With Script To Get Nagios Client Info For Multiple Servers & Export To CSV

Morning all,              I have a great script that I found on the internet, that will gather the Nagios Client version for a specific server, however I want to amend the script to look at list of...

View Article


Powershell Rename Script

Hello everyone,I am working on trying to rename a bunch of files that will generally always have an underscore and a number (exp:  net_text_doc_01.pdf)What I am trying to do is create a powershell...

View Article


Setting GWMI with a space in the name

I was looking to implement WOL on all the machines here and found the correct BIOS settings to do it.  I went in and set them correctly and thought "I wonder if PoSH can do this for me?"As it turns...

View Article

Exchange PowerShell script for listing Active Sync users?

Howdy:Can someone help me with a PowerShell script  for Exchange that will list all users on a domain that currently have an Active Sync relationship with the Exchange server?This is needed for a SBS...

View Article

Ping computer With its computer name in powershell

Hello everyone, Having trouble with a laptop thats connected to the network but cannot do anything. Am i able to ping the computer with powershell by its Computer name?

View Article


Powershell Scan for infected files

Hello everyone. Our company is battling the "HowDecrypt" ransomware on a file server which stems from a local workstation somewhere in the company. I am wondering if there is a way powershell can look...

View Article

Email reporting

Is there a way Powershell could pull of a report on a single mailbox with how many emails came to it that day, and how many of them emails got actioned (ie forwarded or replied too) Any other...

View Article

Import Phone all phone field via powershell script

Hello, looking for some help with PowerShell.  I have rarely used it so pretty new to it.  I am looking for a way where i can script from a .csv file the updates to phone numbers for users in active...

View Article


Remote PowerShell - can't run SConfig - vbs erros?

This is really odd.  Getting this error: sconfig : ERROR: The system was unable to find the specified registry key or value.    +CategoryInfo           :    NotSpecified(ERROR: The syst...y key or...

View Article


Powershell scripts read html content by using Html-Agility-Pack

Sorry for limited knowledge with powershell. Here I try to use "Html-Agility-Pack" to read html content from a website, and output as csv file.Here is link of  "Html-Agility-Pack" I can successful...

View Article

Powershell Receive-Job Results

So i will take a step back and give you my goal and situation.Goal: I want to Restart a server during off hours. Why? i need to restart the NetLogon service and have read on technet to restart the...

View Article

PowerShell Bulk Export Mailboxes to PST

I'm working on bulk exporting mailboxes of disabled users from Exchange 2010 to PST, I found a good script that uses a CSV file to complete the export. Powershell1 2 3 4 5 6 7 8...

View Article

get user fields in get-mobiledevice results

I am trying to get some user fields in an export of get-mobiledeviceI have a scriptPowershell 1 2 3 4 5 6 7 8 9 10 11 12 13 14...

View Article


Change Users Home Drive Powershell Script

I've written a PowerShell script that will batch change and copy user's home drives by OU. Everything is working with the change and the copy...except that it doesn't set the security permissions. I'm...

View Article

Image may be NSFW.
Clik here to view.

Sorting PSObjects numbers correctly

So I have a script that gathers Server uptimes through WMI.It is putting all of the returned information into an array of PSObjects. The following code is how it works:Powershell 1 2 3 4 5 6 7 8 9 10...

View Article


Changin the mouse cousor in powershell

Hello,I've been searcing the web for a solution to this, to no avail, though I would have thought this to be an easy one...I need to change the mouse cursor to hourglass for some time, then change it...

View Article

Get-Eventlog Remote Machine Powershell Error

Im running the following to try and pull the last 10 application logs from a client machine deployed on our networkPowershell1Get-Eventlog-LognameApplication-ComputerNameWH-LYNDSEYB7-Newest10But when I...

View Article


powershell to list user connected session on Server 2008

Hi I have this powershell command that lists all the sessions on Windows 2008 File Server. Is there anyway to modify this command to list the session for particular username ?Get-WmiObject...

View Article

Search Registry for a value then delete containing key

Hi,My Powershell skills are basic to say the least. The few scripts I use are mainly modified versions of ones I've found on the net.However what I wish to achieve I'm sure must be possible with PS but...

View Article

GPO report by value

Is there a way to get GPO report by value? e.g. GPO contains IE settings onlythere is a option to do search GPO for this kind of values but if you add more than one value then it will try to find gpo...

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>