Program to extract data from PDF file and add it into excel column
I have list of names (Ariel, John) – if one of those names appear in the PDF text/file it would write that name under an excel column. Any idea how to do this? submitted by /u/hey9239 [link]...
View ArticlePowershell and error handling?
Hey /r/powershell, I am trying to convert from a .bat file to a PowerShell file, but I am not sure how to handle if it errors out. The batch file modifies a file via an applications exe and some...
View ArticleWhy Your Hyper-V PowerShell Commands Don’t Work (and how to fix them)
submitted by /u/-SPOF [link] [comments] The post Why Your Hyper-V PowerShell Commands Don’t Work (and how to fix them) appeared first on How to Code .NET.
View ArticlePowershell request[I have duplicate sam accounts in two separate domains]
I have two domains, one that is used for the GAL of as linked master ad accounts, and one domain that we put in ad information into. I’d like to take the one domain properties such as title,...
View ArticleIf/Else statement – Getting PowerShell Version
Hey again /r/PowerShell, Got some awesome assistance last time, I am currently muddeling through trying to get a new part of my script to work. I am trying to make it determine the Powershell version...
View ArticleWindows Location Sensor (GPS) Access in Powershell
Hey all, I am looking to access GPS data using the Windows.Devices.Geolocation.Geolocator library in Windows 10. The goal is to create a script that will post GPS data to a web service, via a...
View Articlescript to find ad users without a password policy using a -searchbase
all help is appreciated submitted by /u/m4t9a10 [link] [comments] The post script to find ad users without a password policy using a -searchbase appeared first on How to Code .NET.
View ArticleNeeding help with script, keep getting “handle is invalid”
I’m trying to disable the disk defrag task on a list of servers that I’ve compiled and placed in a text file. I’m then running the following script to disable the task but keep getting the error “the...
View ArticleHow do I use remove on $_.name?
I want to delete the first 35 characters from a bunch of files in a directory tree that match a pattern I am using get-childitem ?doi*. pdf | rename-item - newname{$_.name -remove(1,35)} and various...
View ArticleThe Hacker Playbook
Hello all, I have just recently purchased the book and the first powershell command it gives us already got me stuck, somehow it doesn’t work, maybe outdated? I googled and found other commands that...
View ArticlePassing a parameter in New-Alias
Hi, I use PS Remoting a lot with my T2 account and would like to have Remote <hostname> do Enter-PSSession <hostname> -Credential ADCourtJestersT2 Is that possible? I tried using a...
View ArticleNeed help running a script or batch file on several remote computers
Hi guys, I need to create a script or batch file that will create tasks on several remote computers and execute them when the script or batch file is ran. I was thinking something like this : schtasks...
View ArticleBasic Math in PowerShell Script
Is it possible to do basic math in a powershell script? Say I have a file and each line in the file is a basic math equation. Is there any way to do this equation and output the results into a new...
View ArticleHack | A typeface designed for source code – For VS Code
submitted by /u/imjoseangel [link] [comments] The post Hack | A typeface designed for source code – For VS Code appeared first on How to Code .NET.
View ArticlePrevent ISE Script echo to console
Hello all, I have a question about if there is a way to prevent the script to be echoed to the ISE console before running. In the example screenshot below, I want to prevent the script circled in red...
View ArticleAlternative to Get-ADDirectReports for direct user reporting. So close…
I have worked with a few people and come up with the script below. https://pastebin.com/0p8P3wSK I do not want to install the Get-ADDirectReports function...
View ArticleProgram to extract PDF text into excel column
I have list of names (Ariel, John) – if one of those names appear in the PDF text/file it would write that name under an excel column. Any idea how to do this? Edit: – work computer has NO access to...
View ArticleStory Time: Automating GAL Sync and Azure B2B Permissions with PowerShell...
submitted by /u/markekraus [link] [comments] The post Story Time: Automating GAL Sync and Azure B2B Permissions with PowerShell (Get-PowerShell Blog /u/markekraus) appeared first on How to Code .NET.
View ArticleBest resource to ask simple questions?
I have a moderate grasp of programming languages I am just looking for someone ( maybe a discord or something ) that would answer simple one off questions. Here is my first question while I’m here – I...
View ArticleRunning Universal Dashboard in a Docker Instance
submitted by /u/l33t_d0nut [link] [comments] The post Running Universal Dashboard in a Docker Instance appeared first on How to Code .NET.
View Article