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 Articlemanage "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 Articleps 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 ArticleModifying 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 ArticleNot 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 ArticleCreate 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 ArticleOutput 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 Articleconvertto-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 ArticleError 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 ArticleScroll Excel Worksheet window at top
Is there a way to scroll to the top of Excel worksheet window by using PS? Thanks.
View ArticleGet-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 ArticleHow 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 ArticleKeep 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 ArticleUsing 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 ArticleFind 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 ArticlePowershell 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 ArticleConnecting 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 ArticleExpanding 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 ArticlePowershell 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