Resources to learn basic loops and arrays
I’m new to Powershell scripting and looking for a good resource that shows step by step how to work with loops and arrays. My beginning project was to write a ping script importing hostnames from a...
View Article2 PowerShell Features I was Surprised to Love
submitted by /u/michaelshepard [link] [comments] The post 2 PowerShell Features I was Surprised to Love appeared first on How to Code .NET.
View Articleauto download free ebook ?
Hi, I was wondering if there was a module out there that does the same as this pyton one : https://github.com/igbt6/Packt-Publishing-Free-Learning It auto-downloads the free e-book from...
View ArticleOne more small little headache – UPN changing between ADs
Hey there again, So I made a small script to export AD users to a .csv, and then got another to import the .csv to another AD, how would you do it? The domains are different, therefor I can’t just go...
View ArticleShowing progress bar for total installation progress of programs?
So this is the function I have: function ProgramInstallation { Write-Host "Installing Firefox..." Start-Process -FilePath $(Join-Path -Path $PSScriptRoot -ChildPath "ProgramsBrowsersFirefox*.exe")...
View ArticlevCenter Cluster Performance Tool
submitted by /u/kabanossi [link] [comments] The post vCenter Cluster Performance Tool appeared first on How to Code .NET.
View ArticlePowerShell documentation created and edited by the Stack Overflow community
submitted by /u/goods_and_services [link] [comments] The post PowerShell documentation created and edited by the Stack Overflow community appeared first on How to Code .NET.
View ArticleIntermediate-level learning resources
When you’ve read all the “30 days of PowerShell” books, and you’ve done the Write-Host and foreach tutorials, sometimes it’s nice to learn some of the more… good things. The things that aren’t really...
View ArticleServer Inventory Using PowerShell and SQL
submitted by /u/boeprox [link] [comments] The post Server Inventory Using PowerShell and SQL appeared first on How to Code .NET.
View Article[CodeReview] Tips on formatting, and structure
Hey guys, Hope I can get some advice, tips, and suggestions on my script. Code is at https://pastebin.com/yMzqEKjS I believe I’m running powerShell 2.0, may be mistaken. Target computers will be...
View ArticleFilter AD-PrincipalGroupMembership for a specific group
Hey Guys, I want to create a list of members which shows their Organisation Groups. But further on my intention is to only show a specific type of groups for each member. For example: A user is...
View ArticleImporting values from menu script to second script.
** Solved ** Hey guys, I have learnt too much PS in a short amount of time. I have created a menu script, where we choose classroom (and x amount of hosts). We then choose a script that confirms...
View ArticleMaking sure your Citrix Desktops are utilized in 35 lines of PoSH
submitted by /u/kabanossi [link] [comments] The post Making sure your Citrix Desktops are utilized in 35 lines of PoSH appeared first on How to Code .NET.
View ArticleNeed help with a simple script
Hello guys, first of all I want to say that I’m an absolute beginner with Powershell so I might have done some very simple mistakes which seem stupid for other people. I haven’t had any powershell...
View ArticleSummary PowerShell Conference EU 2017 (Slides/Code/Videos)
submitted by /u/JaapBrasser [link] [comments] The post Summary PowerShell Conference EU 2017 (Slides/Code/Videos) appeared first on How to Code .NET.
View ArticleWorking With Plaster
submitted by /u/yazik [link] [comments] The post Working With Plaster appeared first on How to Code .NET.
View ArticlePowerShell GUI Automation
Hello, Does anyone know if its possible to use PowerShell with WASP in order to open an exe, click on an ellipsis, navigate to a folder location and select the latest file? I have a manual task that...
View ArticleGet-Command, Aliases, and a Bug
submitted by /u/michaelshepard [link] [comments] The post Get-Command, Aliases, and a Bug appeared first on How to Code .NET.
View ArticleQuestion: Function does not work with piped data.
I created this function that parses a field for specific text and returns a custom object. Everything works fine if I use the syntax, Get-MachineUser -VMArray $PassedArray but it doesn’t work if I...
View Article[X-Post /r/Office365] O365 PowerShell PSSession breaks after ~2 minutes
I’m trying to build some automation around our user on-boarding and management using PowerShell to connect to Office 365. I’m noticing that my remote PSSession “breaks” (i.e. the session state goes...
View Article