{"id":270,"date":"2018-02-18T18:12:11","date_gmt":"2018-02-18T17:12:11","guid":{"rendered":"http:\/\/hentati.org\/?p=270"},"modified":"2020-12-06T20:44:26","modified_gmt":"2020-12-06T19:44:26","slug":"configure-windows-core-powershell-on-virtual-machine","status":"publish","type":"post","link":"https:\/\/hentati.org\/index.php\/2018\/02\/18\/configure-windows-core-powershell-on-virtual-machine\/","title":{"rendered":"Configure Windows Core PowerShell On Virtual Machine after installation"},"content":{"rendered":"<p><span style=\"color: #000000;\">First of all, you have to go into PowerShell mode,<\/span><\/p>\n<pre><span style=\"color: #000000;\">#powershell<\/span><\/pre>\n<p>&nbsp;<\/p>\n<ol>\n<li><span style=\"color: #000000;\"><strong> install VMware Tools :<\/strong><\/span><\/li>\n<\/ol>\n<pre><span style=\"color: #000000;\">#psdrive<\/span>\r\n\r\n<span style=\"color: #000000;\">#d:<\/span>\r\n\r\n<span style=\"color: #000000;\">#.\\setup.exe<\/span><\/pre>\n<p>&nbsp;<\/p>\n<ol start=\"2\">\n<li><span style=\"color: #000000;\"><strong> Configure Network Interface :<\/strong><\/span><\/li>\n<\/ol>\n<pre><span style=\"color: #000000;\">Get-NetAdapter \u00a0(Get the basic properties of network adapters) and also the\u00a0InterfaceIndex<\/span>\r\n\r\n<span style=\"color: #000000;\">New-NetIPAddress \u2013InterfaceIndex\u00a012 \u2013IPAddress 192.168.1.203 \u2013PrefixLength 24 \u2013DefaultGateway 192.168.1.254<\/span><\/pre>\n<p>&nbsp;<\/p>\n<ol start=\"3\">\n<li><span style=\"color: #000000;\"><strong> Allow machine accept ping :<\/strong><\/span><\/li>\n<\/ol>\n<pre><span style=\"color: #000000;\">netsh advfirewall firewall add rule name=\"hentati.org \u2013 Autoriser Ping\" protocol=icmpv4 dir=in action=allow<\/span><\/pre>\n<p>&nbsp;<\/p>\n<ol start=\"4\">\n<li><span style=\"color: #000000;\"><strong> Configure DNS:<\/strong><\/span><\/li>\n<\/ol>\n<pre><span style=\"color: #000000;\">Set-DnsClientServerAddress -InterfaceIndex 12 -ServerAddresses 8.8.8.8\"<\/span>\r\n\r\n<span style=\"color: #000000;\">Get-DnsClientServerAddress -InterfaceIndex 12<\/span><\/pre>\n<p>&nbsp;<\/p>\n<ol start=\"5\">\n<li><span style=\"color: #000000;\"><strong> Remane Server:<\/strong><\/span><\/li>\n<\/ol>\n<pre><span style=\"color: #000000;\">C:\\&gt; Rename-Computer -NewName \"Server044\" -DomainCredential hentati.org\\Admin01 -Restart<\/span><\/pre>\n<p>&nbsp;<\/p>\n<ol start=\"6\">\n<li><span style=\"color: #000000;\"><strong> Integrate AD:<\/strong><\/span><\/li>\n<\/ol>\n<pre><span style=\"color: #000000;\">Add-Computer -DomainName hentati.org\u00a0-Credential\u00a0Administrateur@hentati.org<\/span>\r\n\r\n<span style=\"color: #000000;\">restart ! # Shutdown \/r \/t 2<\/span><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>First of all, you have to go into PowerShell mode, #powershell &nbsp; install VMware Tools : #psdrive #d: #.\\setup.exe &nbsp; Configure Network Interface : Get-NetAdapter \u00a0(Get the basic properties of &#8230;<\/p>\n","protected":false},"author":1,"featured_media":276,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/posts\/270"}],"collection":[{"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/comments?post=270"}],"version-history":[{"count":5,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/posts\/270\/revisions"}],"predecessor-version":[{"id":644,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/posts\/270\/revisions\/644"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/media\/276"}],"wp:attachment":[{"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/media?parent=270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/categories?post=270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hentati.org\/index.php\/wp-json\/wp\/v2\/tags?post=270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}