Quantcast
Browsing all 21975 articles
Browse latest View live

Sending/reading hex data to a serial port in Powershell

I have a device which responds to serial port requests. Using portmon I can see a request formatted as a six byte hex string.e.g. x'02031005E6 the last byte being a crc which I can work out.I don't...

View Article


manage "Change PC settings" in Win 8.1 using PS

how to manage "Change PC settings" -> Privacy in Win 8.1 using Powershell. Thanks.-ss

View Article


ps help!

Hi all,I need to get all active network adapter and driver version from 6 servers at the same domain.  Also, HBA version, driver version firmware too.  export results to csv file.Can anyone help?Thank...

View Article

Modifying PSModulePath

I am thinking this is a simple question but I have been unable to find an answer so far. I know how to "ADD" to the PSMosulePath but how do I take away? I have a path I need to remove from my...

View Article

printer problem

my printer seems connected, but will not print

View Article


Not able to add active sync ids

The below script isnot adding the active sync ids. what I am doing wrong. see downCSV file andResult$CSV|ForEach{ $arr=$_.SerialNumber $result=$arr.split(",")...

View Article

Create local user via dropdown from .csv

Helloi try to create a powershell script to create local users on Win7.All the user informations are stored in a .csv file.Now I'd like to have a dropdown-menu to choose which user should be created.So...

View Article

Output in Email Body Formatting Warped

Hi AllI am completly new to powershell & am googling about for code.I have been able to so far to send the results of a powershell query by email and am mightly impressed it worked.When the query...

View Article


convertto-json issues

Evening All,I was hoping you guys & gals could point me in the right direction for a script I am writing?I use an online accountancy package that I need to automatically created invoices to. I am...

View Article


Error on update-help

Update-Help gives following error:Any ideasPS C:\Windows\system32> update-help update-help : Failed to update Help for the module(s) 'Microsoft.MonitoringAgent.PowerShell' with UI culture(s) {en-US}...

View Article

Scroll Excel Worksheet window at top

Is there a way to scroll to the top of Excel worksheet window by using PS? Thanks.

View Article

Get-Counter path is not correct

I'm to get this to run but keep getting this error: Get-Counter : The specified counter path could not be interpreted.Any insight into this issue would be appreciated.param($destserver, $destDB)...

View Article

How to getElementBy to click a javascript button

I use PS to logon a website. I am able to use getElementById to access UserID and Password but the logon button is created by java script as below. How do I use getElementsBy??? or something else to be...

View Article


Keep the first row Filtered using PS

I have an Excel worksheet with the first row as header, I highlight it and click Filter in Sort & Filter group of Data tab so I can manually sort by any column. However, after running vba code...

View Article

Using CIMSessions with DCOM vs Get-WMIObject

Hi everyone !I have this Script which performs a lot of queries/ actions on a SCCM Server using the WMI Classes.So I was wondering if I use the CIMSession (DCOM protocol) will it be more efficient way...

View Article


Find AD Email lengths with powershell

Just thought I would post this here in case anyone is after something similar, the question was asked of me today what the longest email address in use at our company was.  Short story, a vendor app...

View Article

Powershell DSC(Desired State Configuration) staggered configuration

I'm currently planning on using Powershell DSC to synchronize a IIS web server farm and i need to be able to do a staggered configuration on nodes so it does not affect availability. For now i only...

View Article


Connecting to remote computers

 We are designing an application to connect to remote computers. We have two options to connect as session. :> PSSession or CIM-Session There is a little detail on comparison between the two...

View Article

Expanding multiple NoteProperties??

I really should be able to figure this out!  I'm playing with the HPILO Cmdlets.  One of them, Get-HPILOHealthSummary, has multiple expandable propertiesSo, this is basic output of...

View Article

Powershell Script: Disable File and Printershare

Hello,could one of the powershell experts please give me a script/command with which I can disable File- and Printersharing on the LAN-settings?thx,hugo

View Article
Browsing all 21975 articles
Browse latest View live


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