All users in all distribution groups in office 365
Hello all,I have around 8 to 10 distribution groups in my office 365 organization and each DG has around 10 to 15 users.I wanted an output in which I had the name of the DG and the list of users...
View ArticleGet informations from website
Hello,We have one ashx - html page, hostet on IIS 7.5 Website with windows authentication.This site has informations, you can see it at the picture:My question:How can I open this ashx site in...
View ArticlePwershell set property value for Netsuite
I need some help setting values in this web services property using Powershell. Can anyone help?passport Property...
View ArticleDomain Unjoin and rejoin with a new domain using script
I have migrated the users from child domain to parent domain. Therefore i need to add them to the parent domain. Actually there are about 500 pcs to ADD. What would be the power-shell for bulk users....
View ArticlePowerShell Multiple Groups of Mutually Exclusive Parameters
So, I am not sure if what I am asking is even feasible given the limitations I have come across in the ParameterSetName property, but I figured I would ask.Here's the deal. I have two groups of three...
View ArticleHow to add values in TXT files
I have a directory full of text files with one number. Ideally, I'd like to add all the values together and get some output. ButI'll accept putting all the values into one file so I can do the math...
View ArticleMonitoring a remote service, then starting and sending notfification
0 Hi- I am a PS newbie so forgive me if this has been answered. We are migrating to SCOM2012 but have 1 2000 server that needs 1 service running on it. Since SCOM2012 can't monitor 2000 servers I need...
View ArticleGet-Movestatus by users active directory attribute
Hi all,for monitoring of Mailbox Migration I have to check an attribute called 'msExchMailboxMoveStatus' in active directory. I try to get a powershell script which can read the email addresses of...
View ArticleSOAP response enclosed in XD tags
Hello,I use this function to make a SOAP request to my server:function Execute-SOAPRequest ( [Xml] $SOAPRequest, [String] $URL ) { write-host "Sending SOAP Request To Server: $URL" $soapWebRequest =...
View ArticleProblems with get-printer command and remote computers
Hello all,I am trying to remotely get printer information from domain joined user workstations through PowerShell, and I am having problems with some of them.Environment info:- Administrator...
View ArticleRemote command works on one client but not another
My previous question turns out to be erroneous -http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/52e5861f-3cde-42c4-9a52-64bbda0c16daIt turns out that the fact that one of...
View ArticleCan PowerShell pull CIM data from non windows sources?
I have a storage unit with a CIM agent running on it, and would like to use PowerShell to pull administrative data from it.After some searching around the web, I found this, that works fine with...
View ArticleHelp with Powershell script, I modified Boe Prox script but can't find me error
Can anyone see my syntax error, I can't find it even using step into????#Email info to send an email, if an issue is found, change as needed $email = @{ To = 'email address" From ='email address'...
View ArticleGroup Membership Audit
I'm trying to get a list of group members for selected groups. It's for groups that start with "RPT-" and this is what I have so far.I did not get a chance to clean it up yet, because I'm trying to...
View ArticleAdd a column in this script to put an '*' if the PercentFree is below 10%
I want to add a column to the output called ATTENTION. In that column I want to display an "*" if percentfree is < 10%Any suggestions?$servers = get-content servers.txt foreach ($server in...
View ArticleOffice 365 Powershell Help
Guys,I have an interesting powershell question. Forgive me, I'm not a powershell expert...but I want to delete all users in the cloud that are a) not licensed and b) not administrators... Short and...
View ArticleSearch String in Powershell
Hello all,I am looking for some help in term of searching a string using powershell.Here is what I have:$FldrPath = "\Test\Test1"and I have an dynamic array $arry for which the value of $arry[0]...
View ArticleAdd recursive permissions to public folder for all users in CSV
I have a public folder that needs grant several users the reviewer permissionsI know i can run this command for each user like soGet-PublicFolder -identity "\Internet Newsgroups\Medical...
View Articleexport-csv changes cell value with export-csv ...but value is correct in txt
hello. thanks for the time. I had a question in regards to how to spit out a result. i am exporting computer systems information for all users. when i export using export-csv some cell values get...
View ArticleScript for request a certificate using other user's credentials
Hi, I need to request for a certificate using other test user's credential. For this requirement I came up with the following script, cd C:\temp-folder Add-Content C:\temp-folder\req.inf...
View Article