Home
Search results “Powershell get one property”
Getting Started with Microsoft PowerShell: 03 Objects for the Admin
 
41:29
Interested in learning PowerShell? This Microsoft PowerShell course is designed to teach busy IT professionals, admins, and help desk personnel about how to use PowerShell to improve management capabilities, automate redundant tasks, and manage the environment in scale. Through this PowerShell tutorial, you will learn how PowerShell works and how to make PowerShell work for you from experts Jeffrey Snover, the inventor of PowerShell, and Jason Helmick, Senior Technologist at Concentrated Technology. Create a valuable experience when you take this free Microsoft PowerShell course at Microsoft Virtual Academy. Don't fear the shell This module provides an overview of PowerShell, including how to install it, manage it, and customize it. Get familiar with the shell. The help system Learn about the Help system, including updatable Help, understanding Syntax, and discoverability. The pipeline: getting connected & extending the shell In this session you will discover what the pipeline is and what it does. It will go into details on exporting/ importing CSV, exporting/ importing XML, displaying information in a GUI, cmdlets. Additionally you will learn about extending the shell and how to find and add snap-ins, modules and commands. Objects for the Admin This module reviews objects across the pipeline and how to get the information you need. You will learn about sorting and selecting objects, custom properties and filtering data, and what methods to use when no cmdlet exists. The pipeline: deeper This section reviews how the pipeline really works and the four step solution - ByValue, ByPropertyName, how to customize properties that do not match, and the Parenthetical. The PowerShell in the shell: remoting This session provides an overview of remoting and how to enable it. You will also learn how one-to-one and one-to-many remoting works. Getting prepared for automation In this module, learn about automation and PowerShell security goals, execution policy, and variables. You’ll be introduced to to fun with quotes, getting and displaying input, and other output for scripts and automation. Automation in scale: remoting In this module, learn about automation and PowerShell security goals, execution policy, and variables. You’ll be introduced to to fun with quotes, getting and displaying input, and other output for scripts and automation. Introducing scripting and toolmaking This module provides an overview of the new ISE and how to make commands repeatable, how to add parameters to your script, and how to document your script. It shows you how to turn your script into a tool for others and store your tools in a module.
Powershell script installed software list for Remote Computers [AskJoyB]
 
12:22
powershell script installed software list, Powershell script To Check installed Software for Remote Computers http://aikitsupport.com/ One of the life lessons I have learned over the years working in the IT field as a server administrator is that there are often several different valid responses to a situation. It's one of the things that makes work interesting. Finding the "best" solution to a problem is one of the goals that I think drives many people who are successful at what they do. Occasionally, the best solution is the path of least resistance. This is one things I love most about working with Windows PowerShell (and scripting in general) is that most problems have more than one solution. Sometimes the "right" way to do something comes down to a matter of opinion or preference. However, sometimes the best solution is dictated by the environment or requirements you are working with. For instance, let us talk about the task of determining which applications are installed on a system. If you're familiar with the Windows Management Instrumentation (WMI) classes and the wealth of information that can be gathered by utilizing the Get-WmiObject cmdlet, an obvious choice might be referencing the Win32_product class. The Win32_Product represents products as they are installed by Windows Installer. It is a prime example of many of the benefits of WMI. It contains several useful methods and a variety of properties. At first glance, Win32_Product would appear to be one of those best solutions in the path of least resistance scenario. A simple command to query Win32_Product with the associated output ************************************** Get a IT Job - http://skl.sh/2ewiCnT What New Skill its Automation http://skl.sh/2ewiCnT Why Skillshare Course are Best? Get Discount 0.99 Cents 3 Months More Information : http://aikitsupport.com/lms/buy-courses/ All AIK IT Support Trainings Now on Skillshare Any Question You Have Just Click http://aikitsupport.com **************************************************************** Facebook : https://www.facebook.com/AIKITSupport/ Twitter : https://twitter.com/AIKITSupport Support Us : https://www.patreon.com/askjoyb **************************************************** Buy Best WordPress Hosting : http://aikshop.com [Power VPS Server] ****************************************************
Views: 8882 Joy Banerjee
Getting Started with Microsoft PowerShell: 01 The help system
 
54:38
Interested in learning PowerShell? This Microsoft PowerShell course is designed to teach busy IT professionals, admins, and help desk personnel about how to use PowerShell to improve management capabilities, automate redundant tasks, and manage the environment in scale. Through this PowerShell tutorial, you will learn how PowerShell works and how to make PowerShell work for you from experts Jeffrey Snover, the inventor of PowerShell, and Jason Helmick, Senior Technologist at Concentrated Technology. Create a valuable experience when you take this free Microsoft PowerShell course at Microsoft Virtual Academy. Don't fear the shell This module provides an overview of PowerShell, including how to install it, manage it, and customize it. Get familiar with the shell. The help system Learn about the Help system, including updatable Help, understanding Syntax, and discoverability. The pipeline: getting connected & extending the shell In this session you will discover what the pipeline is and what it does. It will go into details on exporting/ importing CSV, exporting/ importing XML, displaying information in a GUI, cmdlets. Additionally you will learn about extending the shell and how to find and add snap-ins, modules and commands. Objects for the Admin This module reviews objects across the pipeline and how to get the information you need. You will learn about sorting and selecting objects, custom properties and filtering data, and what methods to use when no cmdlet exists. The pipeline: deeper This section reviews how the pipeline really works and the four step solution - ByValue, ByPropertyName, how to customize properties that do not match, and the Parenthetical. The PowerShell in the shell: remoting This session provides an overview of remoting and how to enable it. You will also learn how one-to-one and one-to-many remoting works. Getting prepared for automation In this module, learn about automation and PowerShell security goals, execution policy, and variables. You’ll be introduced to to fun with quotes, getting and displaying input, and other output for scripts and automation. Automation in scale: remoting In this module, learn about automation and PowerShell security goals, execution policy, and variables. You’ll be introduced to to fun with quotes, getting and displaying input, and other output for scripts and automation. Introducing scripting and toolmaking This module provides an overview of the new ISE and how to make commands repeatable, how to add parameters to your script, and how to document your script. It shows you how to turn your script into a tool for others and store your tools in a module.
Windows PowerShell Fundamentals Chapter 12 - Objects, Variables, Arrays and Escaping
 
11:05
Chapter 12 of 16 These videos were developed for PowerShell version 1, but the material is still valid. All training video labs can be found here: https://www.sapien.com/books_training/Self-Paced-Training Learn how to use Windows PowerShell -- whether you are administering Windows, Exchange Server, or any other PowerShell-enabled product. PowerShell MVP and guru Don Jones, one of the world's most experienced PowerShell instructors, guides you through PowerShell's basics -- assuming no prior experience. You will learn about cmdlets, the pipeline, WMI and ADSI within Windows PowerShell, and much more. Don's conversational style, conceptual animations, extensive demonstrations, and real hands-on exercises help you learn quickly and effectively.
Views: 12717 SAPIEN Technologies
10 PowerShell commands every Windows admin should know
 
22:50
10 PowerShell commands every Windows admin should know http://aikitsupport.com 1: Get-Help The first PowerShell cmdlet every administrator should learn is Get-Help. You can use this command to get help with any other command. For example, if you want to know how the Get-Process command works, you can type: Get-Help -Name Get-Process and Windows will display the full command syntax. You can also use Get-Help with individual nouns and verbs. For example, to find out all the commands you can use with the Get verb, type: Get-Help -Name Get-* 2: Set-ExecutionPolicy Although you can create and execute PowerShell scripts, Microsoft has disabled scripting by default in an effort to prevent malicious code from executing in a PowerShell environment. You can use the Set-ExecutionPolicy command to control the level of security surrounding PowerShell scripts. Four levels of security are available to you: Restricted — Restricted is the default execution policy and locks PowerShell down so that commands can be entered only interactively. PowerShell scripts are not allowed to run. All Signed — If the execution policy is set to All Signed then scripts will be allowed to run, but only if they are signed by a trusted publisher. Remote Signed — If the execution policy is set to Remote Signed, any PowerShell scripts that have been locally created will be allowed to run. Scripts created remotely are allowed to run only if they are signed by a trusted publisher. Unrestricted — As the name implies, Unrestricted removes all restrictions from the execution policy. You can set an execution policy by entering the Set-ExecutionPolicy command followed by the name of the policy. For example, if you wanted to allow scripts to run in an unrestricted manner you could type: Set-ExecutionPolicy Unrestricted 3: Get-ExecutionPolicy If youre working on an unfamiliar server, you ll need to know what execution policy is in use before you attempt to run a script. You can find out by using the Get-ExecutionPolicy command. 4: Get-Service The Get-Service command provides a list of all of the services that are installed on the system. If you are interested in a specific service you can append the -Name switch and the name of the service (wildcards are permitted) When you do, Windows will show you the services state. 5: ConvertTo-HTML PowerShell can provide a wealth of information about the system, but sometimes you need to do more than just view the information onscreen. Sometimes, its helpful to create a report you can send to someone. One way of accomplishing this is by using the ConvertTo-HTML command. Get-Service | ConvertTo-HTML -Property Name, Status C:\services.htm 6: Export-CSV Just as you can create an HTML report based on PowerShell data, you can also export data from PowerShell into a CSV file that you can open using Microsoft Excel. Get-Service | Export-CSV c:\service.csv 7: Select-Object If you tried using the command above, you know that there were numerous properties included in the CSV file. Its often helpful to narrow things down by including only the properties you are really interested in. This is where the Select-Object command comes into play. The Select-Object command allows you to specify specific properties for inclusion. For example, to create a CSV file containing the name of each system service and its status, you could use the following command: Get-Service | Select-Object Name, Status | Export-CSV c:\service.csv 8: Get-EventLog You can actually use PowerShell to parse your computers event logs. There are several parameters available, but you can try out the command by simply providing the -Log switch followed by the name of the log file. For example, to see the Application log, you could use the following command: Get-EventLog -Log "Application" Of course, you would rarely use this command in the real world. Youre more likely to use other commands to filter the output and dump it to a CSV or an HTML file. 9: Get-Process Just as you can use the Get-Service command to display a list of all of the system services, you can use the Get-Process command to display a list of all of the processes that are currently running on the system. 10: Stop-Process Sometimes, a process will freeze up. When this happens, you can use the Get-Process command to get the name or the process ID for the process that has stopped responding. You can then terminate the process by using the Stop-Process command. You can terminate a process based on its name or on its process ID. For example, you could terminate Notepad by using one of the following commands: Stop-Process -Name notepad Facebook : https://www.facebook.com/AIKITSupport/ Twitter : https://twitter.com/AIKITSupport Support Us : https://www.patreon.com/askjoyb
Views: 28971 Joy Banerjee
How The Where-Object Cmdlet Works In PowerShell
 
04:34
If you enjoyed this video, be sure to head over to http://techsnips.io to get free access to our entire library of content! One of the beauties of PowerShell is that it deals with objects. Objects have properties and properties have values, which enables you to filter groups of objects by different values in their properties. Now, knowing this, you could try writing a bunch of If statements, but at the command line, that is unwieldy. But never fear! Where-Object is here!The Where-Object cmdlet is one of the most frequently used commands in PowerShell. It allows you to filter any kind of object! Even custom objects you write for your own custom functions. In this video, Adam will go over everything you need to know about how to use Where-Object.
Views: 32 TechSnips
How To Find Windows Installer MSI Properties With PowerShell
 
01:23
If you enjoyed this video, be sure to head over to http://techsnips.io to get free access to our entire library of content! In this video, we'll cover how to get windows installer file (MSI) properties with PowerShell using the Get-MSIDatabaseProperties cmdlet with a brief walkthrough of what each of the properties mean/are.
Views: 45 TechSnips
PowerShell Pipeline Parameter Binding ByValue : PSB E08
 
04:00
We will take a look at how the PowerShell pipeline works by taking a looking at parameter binding by value Learn more at http://powershellbytes.com Follow me on twitter https://twitter.com/robbiepc30
Views: 788 PowerShell Bytes
PowerShell 02 - Configuring the Properties of your PowerShell Console
 
05:43
In this second tutorial we go through some of the adjustments that you should consider making in the PowerShell console, before we start learning about commands.
3 ways to Assign and Return PowerShell Variable Value simultaneously
 
03:49
In this video we are going to discuss about 3 techniques of PowerShell Variable assignment, through which you can store and display PowerShell variable value simultaneously. I often find one of these techniques as very useful In order to write less code or to write better PowerShell one-liners. Let me know if you feel the same. Blog Article: https://ridicurious.com/2017/06/30/3-ways-to-store-display-results-infrom-a-powershell-variable-at-the-same-time/
Organizational unit in active directory - Powershell to get Properties of Organizational Unit
 
03:16
Hello Guys, Please Follow Me on Facebook As well For New Videos. Below is the Fan page URL. https://www.facebook.com/windowsitexperts Organizational unit in active directory - Powershell to get Properties of Organizational Unit We literally want to know, when the OU is created and when it is modified last time and we can do it from GUI as well, but there are multiple properties, which will be useful for system administrators. So, to know the OU properties, you should have DN of the OU. TO get the DN, you can use DSA.msc and then right click on the ou and go to attribute editor. Make sure you have enabled Advanced features from the view menu. So, now we have our DN. Let’s jump to powershell. I am doing this procedure on the windows server 2012 R2, if you do not have access to server directly. You can install RSAT on your windows 7/windows 10 machine and will be able to manage Active directory. Right click on the Powershell icon on the taskbar and then open it with Administrator. We have to define variable. We are going to use $organizationalUnit and then is equal to [adsi] "LDAP://localhost:389/ou=West,ou=Sales,dc=Fabrikam,dc=COM" this command. We are storing value in the $organizaitonalunit variable In the second line, we are going to retrieve that value by using this command $organizationalUnit | Format-List * This command will give us properties in the list format. We can also get this list in the text file by using this command $organizationalUnit | Format-List * | out-file c:\test\ou.txt If you like the videos uploaded on my channel, please do like them, subscribe & share with your friends. Thanks. Facebook:- https://www.facebook.com/WindowsITExperts/ Twitter:- https://twitter.com/WindowsITExp Website:- https://windowsitexperts.com Subscribe Link :- https://www.youtube.com/channel/UCRC1DRiXiAD6_FvFCUVsJ5A
Views: 41 Windowsitexperts
MessageBox: Display user messages in a PowerShell GUI app
 
09:27
Create a MessageBox with one line of PowerShell script. GUI apps don't have a console, so the GUI author needs to display all output, including errors, to the user. One easy way is by using a MessageBox. With **one line** of PowerShell script, you can display a message that requires an acknowledgment or response from the user. This video shows how to add a MessageBox "Show" method call to your script, how to use the msgbox snippet in SAPIEN PowerShell Studio, and how to use DialogResult value that the Show method returns. Want more info? -- Spotlight on the MessageBox Control: http://info.sapien.com/index.php/guis/gui-controls/spotlight-on-the-messagebox-control -- How to manage errors in a PowerShell GUI app: http://info.sapien.com/index.php/guis/gui-scripting/manage-errors-in-a-gui-application -- How I Learned to Love DialogResult: http://info.sapien.com/index.php/guis/gui-scripting/how-i-learned-to-love-dialogresult
Views: 4230 SAPIEN Technologies
PowerShell on Ubuntu: Objects, Properties, and Methods
 
05:10
PowerShell on Ubuntu: Objects, Properties, and Methods Hi, my name is Wes Holton and welcome back to my series on running Microsoft’s PowerShell on Ubuntu Linux. This series is aimed at the IT professional or hobbyist who may be new to PowerShell, Linux, or both. In previous videos, we’ve discussed two of the most important cmdlets to get familiar with: Get-Command and Get-Help. Today, we are going to add one more: GET-MEMBER, which will form a very powerful trio. With a basic understanding of these three cmdlets, you can figure out solutions to all sorts of challenges. Before I demonstrate Get-Member, let’s take a brief moment to talk about objects. Every action you take in PowerShell occurs within the context of objects. As data moves from one command to the next, it moves as one or more identifiable objects. An object, then, is a collection of data that represents an item. You can represent everything from a file to an ant colony. An object is made up of three types of data: the objec’ts type, its methods, and its properties. The object type tells what kind of object it is. For example, an object that represents a file is a FileInfo object. The object methods are actions that you can perform on the object. For example, FileInfo objects have a CopyTo method that you can use to copy the file. Object properties store information about the object. For example, FileInfo objects have a LastWriteTime property that stores the date and time that the file was most recently accessed. When working with objects, you can use their properties and methods in commands to take action and manage data. For a less abstract demonstration, I’ve created a custom class in PowerShell called Person. We’ll discuss classes in a later video. This Person class has three properties, and two methods. We can take a brief look at the script to create the class and see, that the Work method decreases energy, and the Rest method increases energy. If we pipe our $JohnDoe object to Get-Member, we can see those properties, and if we pipe it to select *, we can see that the Work and Rest functions decrease and increase the energy level. If you found this video helpful, and you would like to see more like it, be sure to give it a like and hit the subscribe button as well. Leave a comment if you have any questions or there’s something that you’d like me to cover in a future video. And as always, POSH ON!! -Wes TWITTER https://twitter.com/holtonwes BLOG http://wshwes.blogspot.com/ DOWNLOAD POWERSHELL FOR LINUX https://github.com/powershell/powershell/ SOURCE FOR TODAY'S SCRIPT https://gist.github.com/holtonwes/870310b3439efd34d95c9d1796026081
Views: 57 Wes Holton
5 Arrays and hash table in PowerShell
 
36:33
We will continue our discussion on PowerShell basics on following topics: Arrays and hash table in PowerShell Correction: In PowerShell Array can have multiple data type, arrays can not have multiple data type in .NET. PowerShell automatically converts the datatype in objects hence it make all datatype as one type behind the scene. Arithmetic operators Comparison operators Wildcard and RegEx Logical and bitwise You may find all the videos of series at https://www.youtube.com/playlist?list=PLkSpjPdRpFFJt-H1cgUjh9r_o_wRwhj-N You can access the slides used in video at https://www.slideshare.net/ashishrajsrivastava/power-shell-basics-day-5 You may join my telegram powershell group https://t.me/joinchat/EmY3SgxLhLGQzRj8zuTh2g
Views: 3071 Ashish Raj
Get ADUser information using PowerShell
 
07:05
This video shows how to get AD user information from Active Directory using PowerShell.
Views: 29962 Tech World
How to get the last user logged into a computer with PowerShell
 
06:18
As an Administrator, I have been asked more than once to find out where a computer is on the network. This question is usually asked by someone that needs to inventory or lifecycle the equipment. If your IT department is well organized or you have some sort of 3rd party software running that does this for you, you probably don’t have a whole lot of use for this script. If, on the other hand, you’re the 1 man/woman IT shop at a small business with no access to 3rd party tools… this script may save you some time. All we want to know is what user is currently logged in to the machine, or the last user to log in. The assumption is, if we know the user, it’s fairly easy to find out where he or she sits within your organization. Recommended Reading Learn Windows PowerShell in a Month of Lunches - http://amzn.to/2spBc7u PowerShell in Depth 2nd Edition - http://amzn.to/2uJIOTf An Administrator's Guide: Powershell in Depth - http://amzn.to/2upRUFw Windows PowerShell Best Practices - http://amzn.to/2tIo0ys Windows PowerShell Cookbook: The Complete Guide to Scripting Microsoft's Command Shell - http://amzn.to/2spOSzo Sound Effects: http://soundbible.com/ Website: www.signalwarrant.com Twitter: @signalwarrant Facebook: facebook.com/signalwarrant/ Google +: plus.google.com/113307879414407675617 YouTube Subscribe link: https://www.youtube.com/c/SignalWarrant1?sub_confirmation=1
Views: 13506 SignalWarrant
PowerShell and AD groups
 
12:45
More videos like this online at http://www.theurbanpenguin.com If like me you have better things to be doing than crreate and populate groups all day in the Ad see how we can speed the process up using PowerShell from the command line in Windows. I have no problems with Active Directory User and Computers but you will see how quick PowerShell can be if you have many groups to play with. We will look at New-AdGroup , Add-ADGroupMember , Remove-ADGroupMember, Get-ADGroupMember and Remove-ADGroup
Views: 24626 theurbanpenguin
Getting Started with Microsoft PowerShell: 08 Introducing scripting and toolmaking
 
50:03
Interested in learning PowerShell? This Microsoft PowerShell course is designed to teach busy IT professionals, admins, and help desk personnel about how to use PowerShell to improve management capabilities, automate redundant tasks, and manage the environment in scale. Through this PowerShell tutorial, you will learn how PowerShell works and how to make PowerShell work for you from experts Jeffrey Snover, the inventor of PowerShell, and Jason Helmick, Senior Technologist at Concentrated Technology. Create a valuable experience when you take this free Microsoft PowerShell course at Microsoft Virtual Academy. Don't fear the shell This module provides an overview of PowerShell, including how to install it, manage it, and customize it. Get familiar with the shell. The help system Learn about the Help system, including updatable Help, understanding Syntax, and discoverability. The pipeline: getting connected & extending the shell In this session you will discover what the pipeline is and what it does. It will go into details on exporting/ importing CSV, exporting/ importing XML, displaying information in a GUI, cmdlets. Additionally you will learn about extending the shell and how to find and add snap-ins, modules and commands. Objects for the Admin This module reviews objects across the pipeline and how to get the information you need. You will learn about sorting and selecting objects, custom properties and filtering data, and what methods to use when no cmdlet exists. The pipeline: deeper This section reviews how the pipeline really works and the four step solution - ByValue, ByPropertyName, how to customize properties that do not match, and the Parenthetical. The PowerShell in the shell: remoting This session provides an overview of remoting and how to enable it. You will also learn how one-to-one and one-to-many remoting works. Getting prepared for automation In this module, learn about automation and PowerShell security goals, execution policy, and variables. You’ll be introduced to to fun with quotes, getting and displaying input, and other output for scripts and automation. Automation in scale: remoting In this module, learn about automation and PowerShell security goals, execution policy, and variables. You’ll be introduced to to fun with quotes, getting and displaying input, and other output for scripts and automation. Introducing scripting and toolmaking This module provides an overview of the new ISE and how to make commands repeatable, how to add parameters to your script, and how to document your script. It shows you how to turn your script into a tool for others and store your tools in a module.
Get members of all Active Directory Groups with PowerShell
 
04:17
Have you ever taken over Active Directory Administration duties at an organization that has a fully functional AD architecture? In some cases this is great, just set down in the seat and watch it all work as normal. However, at some point in time, you will need to know what users have what access to what resources, what users are Domain Admins etc... In a smaller organizational this may not be such a daunting task, simply clicking through ADUC might suffice. In larger organizational with 100's and users and maybe 100's of groups, clicking through ADUC is not going to cut it. Using some PowerShell magic this task is pretty easy no matter what the size of Active Directory. Download Link: http://www.signalwarrant.com/2016/06/16/get-members-security-groups-active-directory-w-powershell/ Recommended Reading Learn Windows PowerShell in a Month of Lunches - http://amzn.to/2spBc7u PowerShell in Depth 2nd Edition - http://amzn.to/2uJIOTf An Administrator's Guide: Powershell in Depth - http://amzn.to/2upRUFw Windows PowerShell Best Practices - http://amzn.to/2tIo0ys Windows PowerShell Cookbook: The Complete Guide to Scripting Microsoft's Command Shell - http://amzn.to/2spOSzo Sound Effects: http://soundbible.com/ Website: www.signalwarrant.com Twitter: @signalwarrant Facebook: facebook.com/signalwarrant/ Google +: plus.google.com/113307879414407675617 YouTube Subscribe link: https://www.youtube.com/c/SignalWarrant1?sub_confirmation=1
Views: 14773 SignalWarrant
Get folder size PowerShell script
 
11:02
This script uses the function get-dirstats Reference 1 - https://technet.microsoft.com/en-us/library/ff730945.aspx Reference 2 - https://blogs.technet.microsoft.com/heyscriptingguy/2012/05/25/getting-directory-sizes-in-powershell/ Script download - https://gallery.technet.microsoft.com/scriptcenter/Outputs-directory-size-964d07ff Modified Script to solve truncation problem in Windows 10 - https://plus.google.com/102879216237101053362/posts/eCzY3yeNv68 I have posted it in Google+ as I was not able to post it here.
Views: 2875 Linuxanthus
Format Your PowerShell Output with Hashtables | Pluralsight
 
06:51
Formatting With PowerShell | http://www.pluralsight-training.net/microsoft/courses/TableOfContents?courseName=formatwithpowershell Did you know that PowerShell has powerful formatting features that allow you to change the output of your PowerShell commands including built in commands? In this video excerpt from Thomas Lee's course Formatting with PowerShell you'll see how to use hashtables to format output from the built in Get-Process command as well as how to use them with Format-Table and Format-List. In the full course Thomas goes on to cover other advanced formatting topics such as pipeline formatting, format files, display XMLs, and even outputting Office documents and HTML. Visit us at: Facebook: https://www.facebook.com/pluralsight Twitter: https://twitter.com/pluralsight Google+: https://plus.google.com/+pluralsight LinkedIn: https://www.linkedin.com/company/pluralsight Instagram: http://instagram.com/pluralsight Blog: http://blog.pluralsight.com/ 3,500 courses unlimited and online. Start your 10-day FREE trial now: https://www.pluralsight.com/a/subscribe/step1?isTrial=True Format Your PowerShell Output with Hashtables | Pluralsight -~-~~-~~~-~~-~- Push your limits. Expand your potential. Smarter than yesterday- https://www.youtube.com/watch?v=k2s77i9zTek -~-~~-~~~-~~-~-
Views: 5212 Pluralsight
How To Edit Active Directory Object Properties In Bulk
 
08:24
If you enjoyed this video, be sure to head over to http://techsnips.io to get free access to our entire library of content! If you've got a lot of users in Active Directory and suddenly HR rolls out title updates or manager changes, you know how tedious clicking through the GUI can be for even a dozen users. Now your company is being renamed and you need to change the 'Company' property on all your users. Do you find AD automation software? Or do you finally figure out how to use PowerShell? I, for one, hope you chose the latter! The Active Directory module in PowerShell is quite powerful! Using the Get-ADObject and Set-ADObject cmdlets, you have significant flexibility to bulk manage objects in Active Directory. If you are specifically editing users you have have Get-ADUser and Set-ADUser, and then if you are working with computers you have Get-ADUser and Set-ADUser. Prerequisites include: Active Directory PowerShell Module
Views: 35 TechSnips
6. Create and Manage AD User Account using Powershell
 
10:34
In this video we will use Windows Powershell to create and manage Active directory user account in Windows server 2016 Active Directory. 1) Use new-aduser command to create user account 2) Set-ADAccountPassword to set password to user account 3) Enable-ADAccount to enable user acocunt 4) Set-Aduser to modify user account properties
Views: 13764 MSFT WebCast
Copy, Move, Delete files with PowerShell
 
17:01
In this video, we get back to the basics of working with files on the filesystem using PowerShell. We look at some aliases, copy files, move files, and remove files. We also look at how network file shares roll into the fold. Fun, foundational stuff. Cmdlets covered: * copy-file * move-file * remove-file For support, training, or more information about PowerShell check out http://www.boldzebras.com
Views: 57984 Shane Young
Introducing PowerShell 5 Classes
 
08:18
Covers the concept of classes as it applies to Windows PowerShell 5.0 on Windows 10. I cover properties and methods
Views: 2773 ed wilson
PowerShell, Select-Xml and XPath Namespaces
 
02:01
This video shows how Select-Xml cmdlet in PowerShel makes it easier to find specific parts of an XML.
Views: 4128 StartAutomating
Create a PowerShell Multi-Form GUI app
 
14:49
Follow along with step-by-step instructions as we build a simple multi-window PowerShell GUI application with Windows PowerShell and PowerShell Studio 2016. You'll learn: -- How to create an app with multiple modal windows -- How to open a child form from a parent form -- How to get property values from a child form See also: -- Write a Multi-Form PowerShell GUI App: http://info.sapien.com/index.php/guis/gui-scripting/write-a-multi-form-powershell-gui-app -- How to Multi-Form Projects Work? http://info.sapien.com/index.php/guis/gui-scripting/how-do-multi-form-projects-work Code on GitHub: https://github.com/juneb/ThinkingInEvents/tree/master/GetTextFromChildForm NOTES: Video uses PowerShell Studio 5.2.127 This video assumes that you know how to create a single-form PowerShell GUI app. Need help? -- PowerShell GUIs: Where do I start? http://info.sapien.com/index.php/guis/gui-scripting/powershell-guis-where-do-i-start -- My First Form - Part 1: https://www.youtube.com/watch?v=BAi81bOjYlQ -- My First Form - Part 2: Controls & Properties https://www.youtube.com/watch?v=BIAjbP-eQUw
Views: 24033 SAPIEN Technologies
How To Set And Remove The Read Only Attribute To Files With PowerShell
 
04:33
If you enjoyed this video, be sure to head over to http://techsnips.io to get free access to our entire library of content! PowerShell can be used to add or remove the "Read Only" attribute for one or many files. In this Snip, Matt demonstrates a couple of ways to change the read-only attribute by using the Set-ItemProperty cmdlet and storing a file to a variable with Get-ChildItem to modify the object's IsReadOnly property. Matt will also demonstrate how to change the read-only attribute for files in sub-directories recursively.
Views: 51 TechSnips
Copy File Share with Metadata to SharePoint Online using PowerShell
 
28:09
In today's show, we learn how to use add-pnpfile to copy files from our fileshare to SharePoint Online with their metadata. The file owner, create date, and modified date are all covered. Pretty awesome stuff. Video for installing PNP PowerShell https://www.youtube.com/watch?v=qmni0TqknBE Video for managing PowerShell Passwords https://www.youtube.com/watch?v=MVZAbQEkegU Link to the Free companion PowerShell Download https://sellfy.com/p/k5Ap/ Video for manipulating Strings in PowerShell https://www.youtube.com/watch?v=-aQWrfqHbjU *****Download of the Premium PowerShell Function for copying files to SharePoint Online with their metadata***** https://sellfy.com/p/EHdz/ Other uses could be to migrate to SharePoint Online or move to SharePoint Online. For support, training, or more information about PowerShell or SharePoint check out http://www.boldzebras.com
Views: 4052 Shane Young
Replace STRINGS in file/files with Powershell!
 
04:19
Subscribe: http://bit.ly/mrps-yt-sub Website: https://bit.ly/mrps-site Discord: https://bit.ly/mrps-discord Patreon: https://bit.ly/mrps-patreon Power Up!: https://bit.ly/mrps-powerup Simple way to change a string value in a file/files with Powershell
Views: 9372 MrPowerScripts
Working with a PowerApps Collection
 
23:23
In this video, we learn about PowerApps collection. These are a special type of variable that allows you to collect a table worth of information as a variable. You can use it for things like creating a shopping cart. Functions used: * Collect * ClearCollect * Patch * Remove * ThisItem * Gallery Video on other types of PowerApps Variables https://www.youtube.com/watch?v=e2_BGekECfY For information or PowerApps consulting check out https://www.BoldZebras.com
Views: 31445 Shane Young
Workaround Cmdlets that don't accept pipeline input : PowerShell Bytes E11
 
05:15
How to workaround Cmdlets that don’t accept pipeline input. Learn more at http://powershellbytes.com Follow me on twitter https://twitter.com/robbiepc30
Views: 248 PowerShell Bytes
How to use Windows Powershell in Windows 7/8.1/10
 
00:44
Here i show you how you can use Windows Powershell 1. Navigate the Windows Registry like the file system: cd hkcu: 2. Search recursively for a certain string within files: dir –r | select string "searchforthis" 3. Find the five processes using the most memory: ps | sort –p ws | select –last 5 4. Cycle a service (stop, and then restart it) like DHCP: Restart-Service DHCP 5. List all items within a folder: Get-ChildItem – Force 6. Recurse over a series of directories or folders: Get-ChildItem –Force c:\directory –Recurse 7. Remove all files within a directory without being prompted for each: Remove-Item C:\tobedeleted –Recurse 8. Restart the current computer: (Get-WmiObject -Class Win32_OperatingSystem -ComputerName .).Win32Shutdown(2) Collecting information 9. Get information about the make and model of a computer: Get-WmiObject -Class Win32_ComputerSystem 10. Get information about the BIOS of the current computer: Get-WmiObject -Class Win32_BIOS -ComputerName . 11. List installed hotfixes -- QFEs, or Windows Update files: Get-WmiObject -Class Win32_QuickFixEngineering -ComputerName . 12. Get the username of the person currently logged on to a computer: Get-WmiObject -Class Win32_ComputerSystem -Property UserName -ComputerName . 13. Find just the names of installed applications on the current computer: Get-WmiObject -Class Win32_Product -ComputerName . | Format-Wide -Column 1 14. Get IP addresses assigned to the current computer: Get-WmiObject -Class Win32_NetworkAdapterConfiguration -Filter IPEnabled=TRUE -ComputerName . | Format-Table -Property IPAddress 15. Get a more detailed IP configuration report for the current machine: Get-WmiObject -Class Win32_NetworkAdapterConfiguration -Filter IPEnabled=TRUE -ComputerName . | Select-Object -Property [a-z]* -ExcludeProperty IPX*,WINS* 16. Find network cards with DHCP enabled on the current computer: Get-WmiObject -Class Win32_NetworkAdapterConfiguration -Filter "DHCPEnabled=true" -ComputerName . 17. Enable DHCP on all network adapters on the current computer: Get-WmiObject -Class Win32_NetworkAdapterConfiguration -Filter IPEnabled=true -ComputerName . | ForEach-Object -Process {$_.EnableDHCP()} Software management 18. Install an MSI package on a remote computer: (Get-WMIObject -ComputerName TARGETMACHINE -List | Where-Object -FilterScript {$_.Name -eq "Win32_Product"}).Install(\\MACHINEWHEREMSIRESIDES\path\package.msi) 19. Upgrade an installed application with an MSI-based application upgrade package: (Get-WmiObject -Class Win32_Product -ComputerName . -Filter "Name='name_of_app_to_be_upgraded'").Upgrade(\\MACHINEWHEREMSIRESIDES\path\upgrade_package.msi) 20. Remove an MSI package from the current computer: (Get-WmiObject -Class Win32_Product -Filter "Name='product_to_remove'" -ComputerName . ).Uninstall() Machine management 21. Remotely shut down another machine after one minute: Start-Sleep 60; Restart-Computer –Force –ComputerName TARGETMACHINE 22. Add a printer: (New-Object -ComObject WScript.Network).AddWindowsPrinterConnection("\\printerserver\hplaser3") 23. Remove a printer: (New-Object -ComObject WScript.Network).RemovePrinterConnection("\\printerserver\hplaser3 ") 24. Enter into a remote PowerShell session -- you must have remote management enabled: enter-pssession TARGETMACHINE 25. Use the PowerShell invoke command to run a script on a remote servers: invoke-command -computername machine1, machine2 -filepath c:\Script\script.ps1 Bonus command To dismiss a process you can use the process ID or the process name. The -processname switch allows the use of wildcards. Here's how to stop the calculator: Stop-Process -processname calc*
Views: 36 Tech Tips Tv
How to export user information to CSV from AD Active Directory Powershell
 
01:39
First: import-module ac* Second: get-aduser -filter * -Properties DisplayName, EmailAddress | Select DisplayName, EmailAddress | Export-csv C:\userswithemailaddress.csv Third: File name "userswithemailaddress.csv" is now located in C Drive. You can export to other directories, just change the path.
Views: 136847 letzmedodis
Filegroups in PowerShell Studio
 
03:52
You can open multiple files from multiple locations in a single click and specify their display order in PowerShell Studio -- without affecting the files at all. Filegroups. One click to create a filegroup. One click to use it. This simple feature is excellent for arranging code for presentations, testing, and development. **Update**: Beginning in PowerShell Studio 5.2.117, you can pin a filegroup (or any other file) to Recent Documents. One more time-saver.
Views: 1082 SAPIEN Technologies
Solution : Python not running in Powershell
 
01:35
Python not running in Powershell Then here's the Solution for it. Python might not be running in Powershell because you don't have declared a environment variable for it .. and here's the solution . Steps :- 1. Open My Computer Properties 2. Open Advance System Settings in Properties 3. Open Environment Variable 4. Search for Variable named Path and double click on it 5. Locate Your Python installation folder and copy it's path add ;C:\"Pythonfolderlocation" at the end of value and click ok , ok ,ok 6. Close Powershell and Open a new one 7. Done !! Thanks for watching and please subscribe.
Views: 14342 Tanish Baansal
How To Change The PowerShell Script Execution Policy
 
01:53
If you enjoyed this video, be sure to head over to http://techsnips.io to get free access to our entire library of content! One of the most annoying rituals anyone new to PowerShell goes through is getting told they don't have permission to execute scripts on their own system. "But I'm an administrator!", many exclaim. Oh contraire, but did you know about how the PowerShell execution policy restricts script execution? Josh does and he's here to provide the answers.
Views: 33 TechSnips
Powershell logical operator -match
 
00:21
Powershell logical operator -match
Database as Filesystem
 
22:23
Peter Chubb https://2019.linux.conf.au/schedule/presentation/212/ Most network file systems are either a layer over an existing filesystem (NFS, CIFS), or are develped from scratch to have separate, replicated, purpose-designed databases for metadata and object store (GFS, Glusterfs). At the same time, most database engines provide (or can be coerced into providing) replication and all the ACID properties needed for a high-performance filesystem. Idea: Use a database engine (Postgres, MariaDB) on raw partitions with a fast separate nVME log file; build POSIX file system semantics on top. It's pretty obvious that this could work; I'm just starting to implement it so performance and durability can be measured. linux.conf.au is a conference about the Linux operating system, and all aspects of the thriving ecosystem of Free and Open Source Software that has grown up around it. Run since 1999, in a different Australian or New Zealand city each year, by a team of local volunteers, LCA invites more than 500 people to learn from the people who shape the future of Open Source. For more information on the conference see https://linux.conf.au/ #linux.conf.au #linux #foss #opensource
How To Always Run PowerShell As Administrator In Windows 10
 
00:27
PowerShell is a default component in Windows 10. Not only does it come packaged with the operating system but you can also replace Command Prompt on the Power User menu with PowerShell. Like it is with Command Prompt, you can run PowerShell as an ordinary user or as a user with administrator rights though there are few occasions when you need to use either of these tools without admin privileges. If you prefer PowerShell over Command Prompt and want a quicker way to open it with admin rights, you can modify its taskbar shortcut to always run as an Administrator. Pin PowerShell to the taskbar. Search for it via Windows search, find it in the All Apps list on the Start Menu, or ask Cortana to find it for you. Right-click it and select ‘Pin to taskbar’ from the context menu. Once PowerShell has been pinned to the taskbar, right-click the icon to bring up the jump list for the program. On the jump list, right-click ‘Windows PowerShell’ again and select Properties. The properties window will open to the Shortcut tab by default. Click the ‘Advanced’ button at the bottom of this tab to open the Advanced Properties window. Enable the ‘Run as administrator’ option here and click ‘Ok’.
Views: 36 Đại Phi Lê
Configure Exchange 2010 Room Mailbox Properties
 
07:45
Learn how to configure an Exchange 2010 Room Mailbox to include a Delegate(s), policy and included resources. http://www.brickhouselabs.com
Views: 22258 brickhouselabs
NIC Teaming Demonstration
 
12:25
This video will look at using the NIC teaming feature on Windows Server 2012 R2 to combine 3 network cards together. The video will look at using NIC Teaming using software and also network hardware that supports networking combining protocols. Download the PDF handout http://ITFreeTraining.com/handouts/server/nic-teaming-demo.pdf Demonstration 1. To configure NIC teaming, first open Server Manager from the task bar. 2. When a server is selected in server manager, on the properties screen, it will show all the network adapters for that server. 3. In this case, this server has 3 network adapters installed. Each network adapter can have its own configuration. In this example one network adapter has been configured with a static IP Address. The other two network adapters have been configured to use DHCP. 4. If one of the network adapters is selected, this will display a windows with the network connection in it. 5. To display the properties for a network adapter, right click on the network adapter and select the option for properties. When a network adapter is not part of a NIC team, all the items listed will have tick boxes next to them except for one. This one is the "Microsoft Network Adapter Multiplexor Protocol". While the network adapter is not in a NIC team, all the items in here can be configured. 6. To configure NIC teaming, in the properties for the server, select the enabled or disable text next to "NIC Teaming". This will open the configuration for NIC teaming. 7. NIC teaming is divided into 3 windows. The bottom left Window is Teams. Select the Tasks pull down on this window and then select "New Team". 8. From the New Team, it is just a matter of entering in a name for the NIC Team and then ticking which network adapters that you want to use. You can use up to 32 network adapters in the one NIC team. 9. To see additional options that can be configured in the NIC team, select the option at the bottom Additional properties. 10. For the teaming mode, the default option Switch Independent is a software solution. The option Static Teaming requires your network switch to support IEEE 802.3ad and LDAP requires IEEE 802.1ax. 11. The second option that can be configured is load balancing mode which has 3 options. Address Hash uses characteristics of the stream like the IP Address and port to determine which network adapter to use. Hyper-V port works with virtual machines. Each virtual machine will always will use the same network adapter. Dynamic combines both address hash and Hyper-V port together. It also has the ability to move a network stream from one network adapter to another in an attempt to balance the load. It does however required Windows Server 2012 R2. 12. The option "Standby adapter" allows one of the network adapters in the team to be used as a stand by adapter. If a network adapter in the team was to fail, the standby adapter will change from stand by to active and will be used to replace the failed network adapter. 13. Once o.k. is pressed the NIC team will be created. At the bottom right hand of the screen you can see the status on the NIC team. When you first create the NIC team it may take about 30 seconds for the NIC Team to complete and become available. 14. Once the NIC team has been created, if you go in the properties of any of the network adapters, all the items in the properties will be un-ticked except for Microsoft Network Adapter Multiplexor Protocol. 15. When a NIC team is created, a new virtual adapter is created on the server and is visible under network connections. This virtual adapter can be configured just like any other network adapter in the system. NIC Team When a NIC team is created, a virtual network adapter is created on the system. This virtual adapter is responsible for transferring traffic to and from the physical network adapters in the system. This means that any software on the server uses the virtual network adapter just like a physical adapter and thus does not require an understanding of how the NIC team works or how it is configured. Description to long for YouTube. Please see the following link for the rest of description. http://itfreetraining.com/server#nic-teaming-demo References "Installing and Configuring Windows Server 2012 Exam Ref 70-410" pg 23-26 "NIC Teaming Overview" http://technet.microsoft.com/en-us/library/hh831648.aspx "Link aggregation" https://en.wikipedia.org/wiki/Link_aggregation "Windows Server 2012 NIC Teaming (LBFO) Deployment and Management" http://www.microsoft.com/en-au/download/details.aspx?id=30160
Views: 74003 itfreetraining
AD, GPO & REGEX in PowerShell with Jeremy Brown and Mark Hutchinson November 14th 2018
 
01:23:06
Our first presenter, Jeremy Brown, will be walking us through techniques that can be used to optimize data lookups for Active Directory and Group Policy! Most admins and developers have some level of working knowledge of Active Directory and Group Policies. One of A/D's greatest strengths is it's flexibility. However, performing large-scale searching in AD and GPO can be very slow and cumbersome. Jeremy is a sysadmin who has many years of experience supporting Active Directory and related services and he has found methods to search for data much faster than using the default methods and how to find that small morsel of data you need from a mountain of AD and GPO data. Our second presenter, Mark Hutchinson, will be showing us the power available when using REGEX as a search method. REGEX has long been a taboo subject for many IT professionals and Mark is here to dispel those rumors and show the benefits of learning how to leverage REGEX. Mark is a consultant who specializes in building solutions for small to medium businesses and teaching technology to the masses.
Views: 86 RTPSUG
How to Set Environment Variables in Windows
 
01:27
Follow this step by step tutorial to learn how to set environment variables from system settings in the windows operating system. Don't forget to check out our site http://howtech.tv/ for more free how-to videos! http://youtube.com/ithowtovids - our feed http://www.facebook.com/howtechtv - join us on facebook https://plus.google.com/103440382717658277879 - our group in Google+ In this tutorial, you will learn how to set environment variables in windows. Operating systems require environment variables as settings and configurations for several processes. Although these variables are automatically defined or initialized during the installation of the system or specific software, in windows, to set environment variables manually is not a difficult task. That's because windows allows us to manually add, remove or edit environment variables through system settings according to our requirements. Step # 1 -- Opening environment variables In windows, to set environmental variables, you can take two paths. Either we can go to control panel, then access the system security option, and then the system option. Or we can simply right click on My Computer and select its properties. Once we are in the system window, select the advanced system settings from the list on the left side. A new window will pop up. Over here, click on the environment variables button near the bottom of this window and you can now access the Windows environment variables. Step # 2 -- Adding a variable In this window there are two sets of environment variables, one is the "user variables", and the other is the "system variables". Choose the new button in the user variables section to open the "define a new variable" dialog window. Over here, you will be required to define the variable name as anything you wish to set, such as temporary and then define its value as the path to the directory. With that done, let's complete this process by pressing OK. Your new environment variable has been created now. Step # 3 -- Editing and removing a variable To edit an environment variable, click on it, and then click on the edit button to open a dialog window. Here we can edit the name and value of the variable. Likewise to remove an environment variable, simply click on the variable and then click on the delete button. Once all the definitions are complete, close the window and restart your computer to allow the operating system to load these settings on boot. And that's basically all you need to know for how to set environment variables in windows.
JenkinsMinute - Adding Parameters to Jenkins Pipeline
 
02:17
In this "Jenkins Minute", you'll see how to add parameters to your Jenkins Pipeline. To read more about this, check out the Jenkins documentation: * Parameters - https://jenkins.io/doc/book/pipeline/syntax/#parameters * Jenkins Pipeline - https://jenkins.io/doc/book/pipeline/
Views: 14066 CloudBeesTV
How To Fix "Access Denied" Error In Command Prompt
 
09:29
In this video is show you how to fix the Access Denied error while executing commands through command prompt. This occurs because the user does not have permission on the cmd.exe file to allow changes to be made. Another problem we face is UAC (User access control) is turned on by default, which prevents the user from making changes that could harm a system. These occur even though you are running an administrator account. PLEASE NOTE: I AM NOT RESPONSIBLE FOR ANY DAMAGE OR ISSUES THAT MAY OCCUR, THIS IS FOR EDUCATIONAL PURPOSES ONLY Now onto the fix 1) we are going to turn off UAC. start, control panel, search bar at top right, type uac, and its the first option. click on it and drag the bar all the way to the bottom so it is off. 2)were going to change the owner of the file as you have to be the owner to make changes to permissions. to do this we are going to hold the start button (on your keyboard+r) and type c:\windows\system32 in the run dialog box. When system32 folder opens, type cmd and click the cmd.exe file at the top. now right click, properties, security, advanced, and at the top where it displays owner, click change and type in your username, and click Ok. 3)Next were going to set the permissions to allow you to make changes. right click cmd.exe again and click properties, security, edit, add (your username). Click full control box and click apply. 4) finally exit out of the cmd properties, right click the cmd.exe file and click run as administrator. In your command prompt, type you command that wasnt working originally, and BINGO thanks for watching dont forget to like comment and subscribe below for more great videos
Views: 337662 icanswim70
Easy Buy to Let Property Experiment: Week 1 Progress
 
04:35
http://www.whatsamsawtoday.com/ Sam shares her progress after one week at the easy buy to let property experiment.
Views: 615 Samantha Collett
PowerShell 07 - A few quicktips on getting around in the help file
 
06:18
Just a few basic things that's good to know when using the help file. Mostly for those that are not used to Linux or coding. If you know how to get around in the help file, move on to the next tutorial.
List All Web Parts in a SharePoint 2010 Site Collection Using Windows PowerShell
 
02:27
The video captures the steps involved in executing a Windows PowerShell script that will loop through pages on publishing and non-publishing sites, finds all web parts, and outputs the result to a grid view. for more information please visit: http://sharepointquester.com or to see the specific script and blog post please visit: http://wp.me/p2fV5q-6H
Views: 2284 SharePointQuester
How To Create And Extract A Zip Archive In PowerShell
 
05:17
If you enjoyed this video, be sure to head over to http://techsnips.io to get free access to our entire library of content! Anthony doesn't like folders full of files. This guy zips everything. You should see it. Using built-in cmdlets like Compress-Archive, Expand-Archive, and even the older PowerShell v2 stuff, he shows us he's got way too much experience playing around with zip files.
Views: 49 TechSnips