Quantcast
Channel: /r/powershell – How to Code .NET
Browsing all 8793 articles
Browse latest View live

Free Powershell book for 24 hours on Amazon USA

submitted by /u/saintdle [link] [comments] The post Free Powershell book for 24 hours on Amazon USA appeared first on How to Code .NET.

View Article


Find ip of switch with mac address

I have a Cisco SG200 switch that I cannot login into. Option of a factory reset are not available as it is acting as a primary switch. I found the mac address of it. I’m trying to see if there is way...

View Article


[FREE] SЕX-Dаting-WЕBSITE

Нi guys. Gо to: http://imgur.com/9AWKX0N submitted by /u/Jackreisei [link] [comments] The post [FREE] SЕX-Dаting-WЕBSITE appeared first on How to Code .NET.

View Article

Help Spliting Line Into Columns

I have a URI that returns a block of CSV line by line. The text looks like this: Column 1,Column 2,Column 3 There is no header returned. Currently I’m exporting to a CSV file and using Import-CSV...

View Article

looking for info on the diff between...

howdy y’all, once again, i am wandering thru ways to format posh scripts. [grin] i ran across these two items …[System.Management.Automation.PSParser][System.Management.Automation.Language.Parser] the...

View Article


MAC Address Vendor Lookup

Hi, I put together the below in around 5 minutes as a helper function for another project I thought it may be useful for someone else, enjoy. Function Invoke-MACVendorLookup { [CmdletBinding( HelpUri...

View Article

ODBC to SQL Server Replication Using Powershell?

I asked on r/sysadmin if anyone knew how to take a QuickBooks file that I can access using and ODBC connection and replicate it over to a MS SQL Server (SQL Sever Express if possible) and someone...

View Article

Combine multiple CSV files into an XLSX file

Hi, I have used a script from another site which combines csv files into excel document. Works pretty well, but it seems to be adding the data from the fist sheet into the next and in the sheets after...

View Article


Learning regex today, to write awesome scripts tomorrow!

submitted by /u/Stephanevg [link] [comments] The post Learning regex today, to write awesome scripts tomorrow! appeared first on How to Code .NET.

View Article


Anyone looking for a full-time PowerShell position?

Not sure what the policy is on posting jobs to this subreddit, but for anyone interested, we’re hiring: http://www.adminarsenal.com/careers-powershell-scripting-expert/ We are offering relocation to...

View Article

Add/Remove RDSessionHost question.

Greetings, /r/powershell! I’m having an issue with a script that adds and removes multiple RDS hosts (Server 2012) to and fro a collection. It works fine if I explicitly name the machines in the...

View Article

find value in string and drop everything else

I am trying to inventory the local computer store of my AD Domain remotely. I am getting a comma delimited string back for the subject,and I would like to strip everything out of the string except for...

View Article

Powershell keeps finding a in front of a string, that I can’t see

I’m trying to update the path to remove all references to 1 word. In order to do so I want to find all instances of that word Here I’m just trying to figure out how to expand %ENV_VARS% to ultimately...

View Article


PowerShell function for querying the XKCD API

submitted by /u/positivemark [link] [comments] The post PowerShell function for querying the XKCD API appeared first on How to Code .NET.

View Article

Something completely different – PoshARM

submitted by /u/toregroneng [link] [comments] The post Something completely different – PoshARM appeared first on How to Code .NET.

View Article


Image may be NSFW.
Clik here to view.

New to powershell, is it possible to make a script to export something from...

Hello, I’m currently a student who is working an IT help desk. We’re going to be manually setting up new Outlook accounts for over 100+ people. I’ll be exporting their old outlook data files to the...

View Article

Getting a list of the last user login after obtaining a computer name by ip...

So I’m pretty new at PS. So I’m creating a script that obtains the computer name through an IP address. I also want to show the last users who logged into that same workstation. That is where I’m...

View Article


Exporting Null fields with Get-ADUser command

I have the following command: Import-Module ActiveDirectory Get-ADUser -Filter 'EmailAddress -ge 0' -Properties EmailAddress, Surname | Select-Object EmailAddress,Surname | Export-Csv -Path...

View Article

Totally free training, PowerShell Runspaces: Putting your pants on both legs...

I just wanted to mention that on Wednesday Drew Furgiuele will present “PowerShell Runspaces: Putting your pants on both legs at a time” for the PowerShell Virtual Group of PASS. Description: What’s...

View Article

Script to add Users to AD with Specific Parameters

So here’s the script I’m using as a basis: $Users = Import-Csv -Delimiter "," -Path "C:users.csv" foreach ($User in $Users) { $Displayname = $User.Firstname + " " + $User.Lastname $UserFirstname =...

View Article
Browsing all 8793 articles
Browse latest View live