Is it possible to add a PC to a domain via a remote CLI using Powershell?

If this is going into a domain, which it sounds to be the case, you'll be using a specified base image as per your company policy (image A goes to computer build A group). If you are using SCCM, FOG, etc... A better method would be to put in a task sequence to integrate the machine, at the end of the sequence of course. Don't want GPOs and firewall settings coming up before everything is complete. This would also allow you to automate the process, rather than push it manually.

I saw an instructional video from "Eli the Computer Guy" about adding Windows 8.1 PC's to a Server 2012 Domain. He did it via the GUI which is what I am very comfortable with, but I would love to be able to do this via a remote command line using Powershell, is this possible? Let's say my Workgroup is ABC and the Domain I'd like to join the PC to is BCORPINC
Thank you
This topic first appeared in the Spiceworks Community

Similar Messages

  • Is it possible to add button in the main tool panel of AI cs6 using javascript?

    Hello freinds,
    Is it possible to add  button in the main tool panel of AI cs6 using javascript?
    or is there any other way of adding the ui component to the tool panel..
    is it feasible??

    you can't add buttons to the tool panel using javascript, your only option is to create a plugin, you'll need C++ for that.
    yes, you'll need the SDK...if you need help with that, there's a dedicated forum for it
    http://forums.adobe.com/community/illustrator/illustrator_sdk?view=discussions

  • How to add user to one to many groups in Active directory using powershell

    Hi  All
    I am working on a script to create a user and based on user type i would like to add that user into 2 to 3 groups . At the moment i have 3 groups e.g domain users, Developers, tester, 
    $NewUser = Read-Host "New Username"
    $firstname = Read-Host "First Name"
    $Lastname = Read-Host "Last Name"
    $NewName = "$firstname $lastname"
    $Group = "Dev"
    New-ADUser -SamAccountName $NewUser -Name $NewName -GivenName $firstname -Surname $lastname -displayname $Newname -UserPrincipalName $[email protected] -Path "CN=Users,DC=mydomain,DC=local" -AccountPassword (ConvertTo-SecureString -AsPlainText
    "Password" -Force)  -Enabled $true 
    Add-ADGroupMember -Identity $Group  -Members $NewUser
    I am not sure how to give user(sys admin) this option of choosing 1 or more groups while creating new user

    modified this line Add-ADGroupMember
    -Identity ([string]$h[$group])
    -Members
    $NewUser
    and
    now getting the error message Add-ADGroupMember : Cannot find
    an object with identity: '' under: 'DC=mydomain,DC=local

  • Is it possible to add fields in field catelog

    Hi,
    Pl inform is it possible to add field as per requirement in field catelog.
    which is used for picking fields for condition table.

    Hi,
    Use user exit adding fields to field catlog.
    USEREXIT_PRICING_PREPARE_TKOMK (module pool SAPLV60A, program RV60AFZZ)
    This user exit allows you to copy additional fields for pricing in the TKOMK communication structure (header fields), which have not been provided in the standard SAP system. These fields can also be used for pricing in the billing document.
    This user exit is described in detail in the "New fields in pricing" section.
    USEREXIT_PRICING_PREPARE_TKOMP (module pool SAPLV60A, program RV60AFZZ)
    This user exit allows you to copy additional fields for pricing in the TKOMP communication structure (item fields), which have not been provided in the standard SAP system. These fields can also be used for pricing.
    Reward points if useful
    Regards,
    Amrish Purohit

  • How to add a certificate to IIS global "Server Certificates" list using PowerShell?

    Hi, been surfing the web for an example on how to add a certificate to the "global" IIS "Server Certificates" list using PowerShell but to no luck. I already have code in place on how to tie / associate a specific website with a specific cert but not how
    to add the new .cer file using the "Complete Certificate Request..." wizard using PowerShell.... I dont expect the final code to become published but if someone had an idea on howto integrate / get an entry point on where to interact between the "Server Certificate"
    list in IIS and POSH I would be super happy! :|
    I am runnign IIS on a Windows 2008R2 x64 Standard Edition if that helps..... of course, I would saddle for an CLI if there is no other way, but POSH is of course the way to go! :)
    Thanks for the help in advance guys, take care!
    br4tt3

    Hi and thanks for the suggestions!
    Although it comes close, the suggested code example points on howto import / incorporate .pfx files - I am getting fed by .cer files which I need to add into the IIS console using POSH.
    I tried explore the IIS.CertObj object but was not able to work out if this one could be used for importing / adding .cer files into IIS! However, launching the following command from a POSH console with Import-Module Webadministration already
    loaded into that shell;
    $certMgr = New-Object -ComObject IIS.CertObj returns the following error message:
    New-Object : Cannot load COM type IIS.CertObj
    From an IIS perspective I have the following components installed;
    [X] Web Server (IIS)                                    Web-Server
        [X] Web Server                                      Web-WebServer
            [ ] Common HTTP Features                        Web-Common-Http
                [ ] Static Content                          Web-Static-Content
                [ ] Default Document                        Web-Default-Doc
                [ ] Directory Browsing                      Web-Dir-Browsing
                [ ] HTTP Errors                             Web-Http-Errors
                [ ] HTTP Redirection                        Web-Http-Redirect
                [ ] WebDAV Publishing                       Web-DAV-Publishing
            [X] Application Development                     Web-App-Dev
                [ ] ASP.NET                                
    Web-Asp-Net
                [X] .NET Extensibility                      Web-Net-Ext
                [ ] ASP                                    
    Web-ASP
                [ ] CGI                                    
    Web-CGI
                [ ] ISAPI Extensions                        Web-ISAPI-Ext
                [ ] ISAPI Filters                           Web-ISAPI-Filter
                [ ] Server Side Includes                    Web-Includes
            [ ] Health and Diagnostics                      Web-Health
                [ ] HTTP Logging                            Web-Http-Logging
                [ ] Logging Tools                           Web-Log-Libraries
                [ ] Request Monitor                         Web-Request-Monitor
                [ ] Tracing                                
    Web-Http-Tracing
                [ ] Custom Logging                          Web-Custom-Logging
                [ ] ODBC Logging                            Web-ODBC-Logging
            [X] Security                                   
    Web-Security
                [ ] Basic Authentication                    Web-Basic-Auth
                [ ] Windows Authentication                  Web-Windows-Auth
                [ ] Digest Authentication                   Web-Digest-Auth
                [ ] Client Certificate Mapping Authentic... Web-Client-Auth
                [ ] IIS Client Certificate Mapping Authe... Web-Cert-Auth
                [ ] URL Authorization                       Web-Url-Auth
                [X] Request Filtering                       Web-Filtering
                [ ] IP and Domain Restrictions              Web-IP-Security
            [ ] Performance                                 Web-Performance
                [ ] Static Content Compression              Web-Stat-Compression
                [ ] Dynamic Content Compression             Web-Dyn-Compression
        [X] Management Tools                                Web-Mgmt-Tools
            [X] IIS Management Console                      Web-Mgmt-Console
            [X] IIS Management Scripts and Tools            Web-Scripting-Tools
            [ ] Management Service                          Web-Mgmt-Service
            [ ] IIS 6 Management Compatibility              Web-Mgmt-Compat
                [ ] IIS 6 Metabase Compatibility            Web-Metabase
                [ ] IIS 6 WMI Compatibility                 Web-WMI
                [ ] IIS 6 Scripting Tools                   Web-Lgcy-Scripting
                [ ] IIS 6 Management Console                Web-Lgcy-Mgmt-Console
        [X] FTP Server                                      Web-Ftp-Server
            [X] FTP Service                                 Web-Ftp-Service
            [X] FTP Extensibility                           Web-Ftp-Ext
        [ ] IIS Hostable Web Core                           Web-WHC
    More or less the one thing that I am trying to get up and running is an automated FTPS solution - I just use the IIS console to be able to troubleshoot / compare how things scripted from POSH interacts in the MMC representation. The error I am getting
    might be that I am lacking some IIS components to be in place to be able to automate some parts of the IIS - as suggested by the IIS.CertObj object listed in the example..... I will get back if I can track down which component needs to be added to be
    able to reference the IIS.CertObj object.
    Br4tt3 signing out...
    br4tt3

  • Is it possible to boot from a shared dvd or disk image remotely

    Is it possible to boot from a shared dvd or disk image remotely without using netboot for install or utility?

    All Apple Remote Desktop can do is point a system to a startup disk; it has no facility for providing a boot image. So you may want to ask this question in the Mac OS X or Mac OS X Server forums. You'll be more likely to get suggestions there, though other than NetBoot I know of no way to boot a group of computers from a single disk image or DVD.
    Regards.

  • Add Column to an existing CSV using powershell

    Hi Everyone,
    I am horribly stuck in building a logic of how can i add a column with certain details in an existing CSV using powershell. I tried many things one of the code is posted below.
    The situation is , I have a Folder path ' D:\Exclusion\Final1' it contains a list of CSV's that looks like below:
    preprocessed1.csv
    CI,Environment
    vm-Serv1,Test
    preprocessed2.csv
    CI,Environment
    vm-bkp1,Prod
    and so on with same structure..
    Then I have another CSV that Contains certain list of Patches and Title
    looks like:
    Master_Exclusion.csv
    Title, Patch
    xyz, KB23109
    abc, KB432344
    yyy, KB321221
    What I am Trying to do is to Copy the Column 'Patch' from here and copy them to all the CSVs present at ' D:\Exclusion\Final1'
    and  the output would look like :
    preprocessed1.csv
    CI ,Environment , Patch
    vm-Serv1, Test     ,KB23109
                                KB432344
                                KB321221
    CI,Environment,Patch
    vm-bkp1,Prod,  ,KB23109
                            KB432344
                            KB321221
    $filepathex=Get-ChildItem D:\Exclusion\Final1
    foreach($fileex in $filepathex)
    $exclusion=Import-Csv D:\Exclusion\Master_Exclusion.csv
    $list=Import-Csv D:\Exclusion\Final1\$fileex
    $list |
    Select-Object *,@{Name='Patch';Expression={$exclusion.Patch}}} |
    Export-Csv D:\Exclusion\Split2\$fileex -Append -NoTypeInformation
    Thanks in Advance for any help or suggestions.

    I am extremely sorry for the confusions , actually I am trying to just add a new column named "Patch" to a a list of existing CSV's . the patch column is present in another CSV i need to append it to the list of CSV's
    Like
    existing csv:
    CI,Environment
    vm-serv,Test
    and another CSV is 
    Master_Exclusion.csv
    Title,Patch
    xyz,kb084932
    yrx,KB893748
    trw,kb949298
    The output would be :
    output.csv
    CI,Environment ,Patch
    vm-serv,Test,kb084932
                         KB893748               
                          kb949298

  • Is it possible to add markups to a PDF that I am not the author of

    Most of the PDFs I generate are from other applications (like Autocad) where I "print to PDF" to create the file.   Most of the PDFs I recevie are generated the same way.   Prior to Acrobat Reader 8, it was simple for me and my collueges to exchange information on these PDFs by using markup tools and resending them with markups.   Since Acrobat 8 has come along, I now find it impossible to markup a drawing (no matter if I have created it using Print to PDF or if someone has sent it to me).  I went to the knowledge base and see that the drawing has to be enabled for markup in one of 2 ways
    In an open PDF, choose Comments > Enable For Commenting In Adobe Reader, and then save the PDF.  
    Start the wizard to initiate a shared review or an email-based review and follow the on-screen instructions. When you’re finished, commenting is enabled in the PDF that you specify for the review. 
    Well, there is no Comments selection in my toolbar.   Second method is given by
    Quickstart: Start an email review
    An email-based review lets you track review status and merge received comments into the PDF.
    Click Review & Comment and choose Attach For Email Review.
    If prompted, enter your identity information to create a reviewer profile.
    Follow the on-screen instructions to select the PDF, invite reviewers, and send the email invitation.
      If your email application doesn’t send email automatically, you may need to answer alert messages and switch to your email application to finish sending the message
    But there is no Review & Comment button to click.
    So, can someone tell me, can I still do a simple markup of any PDF?   Even if I have to jump through hoops can I?    I guess I can understand Why Adobe has done away with this feature in their free tool, as they were not getting any revenue off of it, but it greatly diminishes the usefulness of Acrobat Reader and therefore all PDFs for me.
    Thanks in advance for your response.

    To enable this right you need Acrobat, not the free Reader.
    However, starting from Reader X it is possible to add simple markups to any file, unless it has been specifically disallowed by the creator of the file.

  • In contacts there is the possibility to add a new event, as the birthdays, but they do not appear in iCal. Is there any way to make that possible? It is normal to have a person with his birthday, anniversary and others key dates you want to link to him.

    In contacts there is the possibility to add a new event, as the birthdays, but they do not appear in iCal. Is there any way to make that possible? It is normal to have a person with his birthday, anniversary and others key dates you want to link to such person, but the only one shows up is the birthday. How to be able to show all those dates linked to people in the agenda in the iCal?
    Thanks

    Hi,
    I sugggest you try my application, Dates to iCal. It is shareware with a 2 week trial period.
    Dates to iCal 2 is a replacement for Apple's birthday calendar for iCal. It has a range of features to allow the user to choose what, and what not, to sync to iCal from Address Book.
    As well as automatically syncing birthday dates from Address Book, Dates to iCal 2 can sync anniversary and custom dates. It can set up to five alarms for each date in iCal and can also set different alarms for birthdays and anniversaries. It allows the option of only syncing from one Address Book group. This application also allows for the titles of the events sent to iCal to be modified to the user's preference.
    Best wishes
    John M
    As I sell software on my site and ask for donations, the Apple Support Communities Use Agreement requires that I state that I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Is it possible to add text to a non-fillable form using Reader DC?

    TLDR: Can I add text to a form (e.g., fill it out) using Adobe Reader DC on Windows, or can that only be done with "fillable" forms?  If so, how?
    I'm attempting to fill out a fairly lengthy "paper" form.  The form is not a fillable form, it is a government form that is downloadable for printing but for whatever reason the government agency chose not to enable the "fillable" feature. 
    On my Mac, I can just use the "text box" tool in the Preview app to add all of the text that I need to complete this form. 
    On Adobe Reader DC, which is installed on my Work PC running Windows 8, nothing happens when I click the "fill and sign" button and the features displayed in the online tutorial simply don't show up.  There's no text tool.  I just see the "hand" icon.  When I right-click, I get an option for the Select tool, which enables me to select text, but doesn't allow me to add a text box.  The web tutorial says there should be a menu somewhere with an icon to add a text box, but that icon is just straight up missing. 
    I am very confused by this software.  I am not an idiot with computers; but I am a bit old, and I'm more used to keyboards, toolbars, and windows than this "pane" based touch-oriented approach.  The toolbar up top seems to be limited to a "pane selector" between Home, Tools (which just reveals a panel of icons most of which are links to cloud services that I don't want), an then a few file handling icons.  On the right there is a little panel that says "get started" and offers only two clickable functions, "Send & Track" and "Get Others to Sign" neither of which reveals any text tools. 
    Now, the answer to my question very well may be "no" which is fine, I'll just keep using my Mac for the task since I know that it works, but I'd really like to be able to leave my personal computer and get everything done within Windows.  Surely this isn't one of those things that can only be done on a Mac or with expensive third-party software on a PC.  But the web seems to insist that this is a thing that should be both possible and simple.  Is it?

    You can try the comments tools.

  • Is it possible to add a graphics card to the back of my HP

    Hello  I want to know if it's possible to add a new graphics card to the back of a Laptop not inside of it but on the back of my laptop ???  my graphics Card is a Intel 4000 graphics card is a terrible for gaming TERRIBLE !!!  

    Not sure where it would go on the back, but no the system is closed. There is no place to insert a graphics card or attach it. You will find some hokey stuff on the internet where people say you can plug a video card in the wireless card slot but those are a hoax at worst and at best they do not tell you that such a thing would not even perform as well as what you have and is likely to damage the motherboard. 

  • Is it possible to add a backlit keyboard to an hp envy touchsmart 15

    is it possible to add a backlit keyboard to an hp envy touchsmart 15?

    Daevid.
    Yes you can.
    Your manual here.
    http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CB8QFjAA&url=http...
    Page 20 chapter 3.
    REO
    HP Expert Tester "Now testing HP Pavilion 15t i3-4030U Win8.1, 6GB RAM and 750GB HDD"
    Loaner Program”HP Split 13 x2 13r010dx i3-4012Y Win8.1, 4GB RAM and 500GB Hybrid HDD”
    Microsoft Registered Refurbisher
    Registered Microsoft Partner
    Apple Certified Macintosh Technician Certification in progress.

  • Is it possible to add a hdmi port? Hp envy 23-d010ea all-in-one

    I wanted to get a Ps4 soon but i dont have a tv, and on my computer i dont have a hdmi port. i see on other models of my computer they have it for example on the 23-d052 its like this 
    Where as on my one is like this
    so that part is just an empty space. i was wondering if it were possible to add the hdmi port or if there was a way i could still play the ps4 on my computer?
    This question was solved.
    View Solution.

    The USB 3.0 to HDMI adapter referenced above, is only designed to connect to a USB port on you computer and output an HDMI signal to an HDTV or monitor. It will not allow you to connect the HDMI output of a game console to your computer.
    It may be possible to purchase all the components necessary to add that functionality to your computer, however the cost would far exceed the price of a new monitor or HDTV. Please purchase an inexpensive HDTV or monitor to use with your PlayStation.
    If you have any further questions, please don't hesitate to ask.
    Please click the White KUDOS "Thumbs Up" to show your appreciation
    Frank
    {------------ Please click the "White Kudos" Thumbs Up to say THANKS for helping.
    Please click the "Accept As Solution" on my post, if my assistance has solved your issue. ------------V
    This is a user supported forum. I am a volunteer and I don't work for HP.
    HP 15t-j100 (on loan from HP)
    HP 13 Split x2 (on loan from HP)
    HP Slate8 Pro (on loan from HP)
    HP a1632x - Windows 7, 4GB RAM, AMD Radeon HD 6450
    HP p6130y - Windows 7, 8GB RAM, AMD Radeon HD 6450
    HP p6320y - Windows 7, 8GB RAM, NVIDIA GT 240
    HP p7-1026 - Windows 7, 6GB RAM, AMD Radeon HD 6450
    HP p6787c - Windows 7, 8GB RAM, NVIDIA GT 240

  • Is it possible to add a new graphics card to my macbook pro 2011 13"

    Is it possible to add a new graphics card to my macbook pro 2011 13"?

    Hi W,
    Sorry, but no. It's soldered onto the logic board.

  • When creating a custom SearchPlugin, is it possible to add more code such as uppercase conversion of the SearchText and IF statements that change the URL depending on what is typed?

    When creating a custom SearchPlugin, is it possible to add more code such as uppercase conversion of the searchTerms and IF statements that change the URL depending on the searchTerms? Every time I try to add something firefox doesn't want to add it as a search plugin. I need to create a more powerful search tool for personal use.

    I've found some external software applications that will do it, so that leads me to believe its not possible within ID CC.

Maybe you are looking for

  • Bind an inputFile value to a data control methods parameter

    Hello I am trying to create a InputFile (ADF Faces) which is linked to a data control method. The method reads a specified file and returns the content which is then displayed in table form. <br><br> I have a filereader Class with the following metho

  • Removing xmlns in child element

    Hi, I am getting xmlns="" in child , i want to remove the xmlns="" from the child element. Ex: Generated XML File- <GENERATEFILES xmlns="http://getit.com/generatedFile" > <GENERATE xmlns=""> </GENERATE > </GENERATEFILES > in the code i have added Nam

  • Check IN a file from local user machine using Input file tag

    Hi We have created a webapplication using Oracle UCM. We have designed certain forms and want to give users an input field to upload images to content server. I included a input type file tag in my form and on submit redirected to a JSPX. I included

  • Dynamic Linking fails aerendercore non-responsive.

    I sent this bug to Adobe: ******BUG****** Concise problem statement: Dynamic Link Server fails to connect in Media Encoder--aerendercore in non-repsonsive state. Steps to reproduce bug: 1. Usually happens after using Media Encoder several times in a

  • [HELP] Procedure return records

    Hi All, I want to create a procedure that will return records (not only single record) base on some parameters. Is it possible? While i used MS SQL Server, it is just a simple way. In the body of procedure i just need to call select query with some p