Tailing rolling log files
Hi, What is the most efficient way to tail log files that are rolled over when they get to a certain size. Some app log files can get pretty large, 500+ MB. For example: Tailing “file.log”. After it...
View ArticleScript Getting Slower While Encryption
Hi there! First off: THANK YOU ALL! For the help you gave me until now. I’ve used alot of your advices. Now my project is all working, but there is still a pain in the ass: While I’m encrypting...
View ArticlePowershell Module for Microsoft Cognitive Services
submitted by /u/Prateeksingh1590 [link] [comments] The post Powershell Module for Microsoft Cognitive Services appeared first on How to Code .NET.
View ArticleList all installed applications on all Domain’s workstations
Hello /r/powershell, I’ve been working all day on this, and I cannot figure this out. My goal is to have a script that will list all installed apps in all computers across the domain in an...
View ArticleJson Confusion
I’m just messing around and learning some more Powershell stuff. This morning I wanted to get the convertto-json and convertfrom-json to work, but am having no luck. I have a text file formatted like...
View Article[Question] How to get the lastwritetime with a starting date
I am trying to get the last write time of all files starting from 5/10/2016, and everything two years back. I’m not sure how its written, or if I should use Set-Date or $Start date. This is what I...
View ArticleIssue with incrementing variable
Edit: Whelp, I tried to call the $Message.Subject before I made the $Message.Subject Can you tell it’s Friday!! I wrote a block of code to fire a quick daily report for AR usage, I am using the WHS...
View ArticleGet GPO Permissions
Does anyone have code that identifies the ACL permissions properly on a Group Policy Object? Get-GPPPermissions is returning inaccurate data for my needs. For example it’s showing a permission of...
View ArticleSetAD-User: how do I tell it which OU to use?
Sorry if this is simple or I am going about this wrong. I have a script that sets certain users email addresses. Not everyone has an email address so I have a csv with the AdUsername,Email address....
View ArticleNeed help to setup a silent install of a .exe for Groupwise client. I cannot...
Thanks in advance. Can you show me a complete command that should work with the parameters that I would need. This is how I wrote it. invoke-command -computername ****** { start-process -filepath...
View ArticleSimple question about manipulating a variable(string)
I currently have a script that will scour multiple domains and DC’s for for a user and then pass the user’s displayname into a variable. Everything works great and as expected, unless the user has an...
View ArticlePSLANDesk module
Decided I should share a module I wrote for working with the LANDesk Management product. Uses the MBSDK service provided by LANDesk. Available on GitHub and from the PowerShell Gallery. Please take a...
View ArticleDedicate my time to learning PowerShell? Worth it? (Long-term)
Hello guys, I’m a Chilean guy who’s been working with SCCM since a couple of years ago. Though I’m not an expert, I have nice problem-solving skills, since I’m quite creative. I’d like to become an...
View Article(Oracle) Siebel Call Center and Powershell?
I’ll start by saying I have some experience with powershell and have found it very useful in the past. I was wondering if I can use powershell to extract data and/or insert data to (Oracle) Siebel...
View ArticleHow to get Task Scheduler to run my script in elevated PS?
I threw together a script in our Computer DC that filters out laptops that aren’t in group X or Group Y and then adds them to it. I added the script to task scheduler and have the box selected to run...
View ArticleManage Active Directory Groups Using PowerShell – Petri
submitted by /u/stongeroma [link] [comments] The post Manage Active Directory Groups Using PowerShell – Petri appeared first on How to Code .NET.
View Article[AMA Request] PowerShell Team
Just making a post in the hope we might be able to organize an AMA with the PowerShell Team and if it was to happen what sort of questions would you like to ask the PowerShell Team. Eg. Is there any...
View ArticleGrab email via imap from O365 shared mailbox?
Hi, I’m having issues with this. I’d like to test connectivity to a shared o365 shared mailbox via Imap. Someone is going to be developing a PHP program to crawl an inbox, and I’m trying to test the...
View ArticleCaesar cipher – rotate by n chars
First of all: I KNOW THIS IS NOT AN ENCRYPTION FOR TODAY STANDARDS, but i want to try it out by myself and share my results. ROT13:...
View ArticleNOOB/Beginner Questions: Import-Module vs. Linux Apt-Get/YUM
So I’m literately 2 hours into working on PowerShell. Quick FYI, I used to be very good at something called WINBATCH and I have coded in VB.NET so I feel I have some competency in this kind of...
View Article