Not sure how to get this the best way possible
Has to be compatible with Version 3 or higher.I'm looking to take this function and be able to apply these switches and then pass that to the where clause so that it takes on the actual where clause.I...
View ArticleExport ini to CSV
Hi all, i need to convert a .ini file ( bulletproof FTP User) to csv, I attached a sample ini file, i need export the values of the ini fields in the their perspective csv columns.TIA
View ArticleNew-DFSReplicationGroup from PSSession is not working.
Spent all day battling with this... I built a test domain on azure to play with IIS and DFS etc. To build the script out I had a RDP session to the DC and from there a PSSession to two IIS servers....
View ArticleInvoke-RestMethod cannot run in PS script
I can run the Invoke-Restmethod in the attached script if I type in the full path in Powershell ISE.But when I try to run a scheduled job using the script, the Invoke-Restmethod does not run.Would...
View ArticleExchange 2010 powershell command to search a mailbox and export mail to .pst
Exchange 2010A mail froward was wrongly setup to forward mail and not keep a copy in the recipients mailbox. So the user wants all the mail sent to them during the forward back. To do this I believe we...
View ArticlePowerCLI 6.3.0 and Powershell 4 ISE
I have a funny issue.I have two RDS 2102 R2 servers that we run powershell from. it has a bunch of citrix,VMware,MS lunc,scom,sccm modules installed.I recently upgrqaded from powercli 5.5 to 6.3RC1...
View ArticleControlling PowerPoint with PowerShell
Hi as a scripting/powershell newbie I tried to automate "digital signate" with PS.The Goal here is to copy files from folder in $share and then continuously loop that files (powerpoint...
View ArticleMore efficient way to use Get-Childitem?
I have a marketing department that is full of hoarders. I need to find a list of all items in there 4tb share older than 2 years. My script looks like this: Text$time = (Get-Date).addDays(-730)...
View ArticlePS script to read CSV file of users JobTitle and export logon name to CSV
Hi all, I am looking for a Powershell script which reads CSV/txt file of users JobTitle and export their logon names to CSV file.Any help will be very much appreciated !
View ArticleObject reference not set to an instance of an object
hi guys , i have issue when try to run get-counter command in power shell version 5 in windows 10 , when i type command as administrator i got below error message :"Object reference not set to an...
View ArticleNeed to loop a batch file running a powershell command
I am having trouble with this batch file. When it finishes running the power shell command I want it to start over and ask if I want to continue or quit. Any help would be great.Text$computername =...
View ArticlePowerShell Script to upload .csv for new AD Users Server 2012R2
I created a CSV file so I can bulk upload 209 new students to AD in server 2012R2 and I am having trouble with the PowerShell script.my CSV has the following headers in this order from A-L; Name,...
View ArticlePower up your PowerShell Game
...with our 70 hand picked, full of potential and designed to make you a powerhouse with PowerShell tools.https://blog.varonis.com/powershell-tool-roundup/Love to hear your feedback on our PowerShell...
View ArticleMailbox FullAccess and Send As
Hi guys me again, i am getting the powershell bug now, and i have made a few to get mailbox permissions for certain shared mailboxes. But its very tiresome doing one at a time. So i though there must...
View ArticlePowershell - Create Certificate Request
Hello,Can someone help me to automate creating certificate requests? I know how to do it manually (instruction below) but could not figure out how to do it in powershell.1. Create Certificate Request2....
View ArticleConverting output from Text into CSV (System Audit Report)
Hi All,I currently use a script to audit our network PCs and each PC's results are saved to a text file.We would like to plug the results into a database so we can search all the results for specific...
View ArticlePowerShell Basics
I'm trying to get some basic perspectives of our AD. Ultimately I'm trying to get a list of all the groups (security and distribution) and the members in each. Some of the PS commands i've found...
View ArticleExport xml with DISM, then import with Powershell
We have a need to set IE as the default internet browser, and Adobe Reader as the default PDF viewer, both in place of Edge.We've used this commandBatchfileDism.exe...
View ArticleHelp with a PowerShell Script listing AD Groups and their members.
Total Powershell newbie warning.So I'm working on a script that will give me a csv file of AD Groups and the members within that group. Looked up a script online and been trying to get it to work with...
View ArticleDell OpenManage and PowerShell
I have a group of Dell servers that I'm monitoring with Zabbix. The servers are running Hyper-V Server 2012 R2 with OMSA 8.3 installed. Using a PowerShell script that runs the command line version of...
View Article