<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Posts on powershell.se</title>
    <link>https://powershell.se/post/</link>
    <description>Recent content in Posts on powershell.se</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-US</language>
    <lastBuildDate>Fri, 17 Mar 2023 08:27:09 +0100</lastBuildDate><atom:link href="https://powershell.se/post/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Get AzRoleDefinition by Action</title>
      <link>https://powershell.se/post/2023/get-azroledefinition-by-action/</link>
      <pubDate>Fri, 17 Mar 2023 08:27:09 +0100</pubDate>
      
      <guid>https://powershell.se/post/2023/get-azroledefinition-by-action/</guid>
      
        <description>Ever wanted to get all Azure roles containing a specific Action (permission) just to find that specific standard role to use when delegating permissions in Azure?
Here is a small snippet of PowerShell to do just that:</description>
      
    </item>
    
    <item>
      <title>Recursive delete Azure Management groups</title>
      <link>https://powershell.se/post/2022/recursive-delete-azure-managementgroups/</link>
      <pubDate>Wed, 02 Nov 2022 18:52:38 +0100</pubDate>
      
      <guid>https://powershell.se/post/2022/recursive-delete-azure-managementgroups/</guid>
      
        <description>Powershell script to remove Azure child management groups from </description>
      
    </item>
    
    <item>
      <title>Bicep Management group Templates</title>
      <link>https://powershell.se/post/2022/bicep-managementgroup-templates/</link>
      <pubDate>Tue, 01 Nov 2022 17:34:09 +0100</pubDate>
      
      <guid>https://powershell.se/post/2022/bicep-managementgroup-templates/</guid>
      
        <description>Bicep templates to create nested Azure management groups</description>
      
    </item>
    
    <item>
      <title>Extend Linux Lvm(Short)</title>
      <link>https://powershell.se/post/2022/extend-linux-lvm/</link>
      <pubDate>Mon, 20 Jun 2022 22:45:49 +0200</pubDate>
      
      <guid>https://powershell.se/post/2022/extend-linux-lvm/</guid>
      
        <description>How to extend a LVM disk in linux</description>
      
    </item>
    
    <item>
      <title>Exchange Online - Room Settings</title>
      <link>https://powershell.se/post/2019/exchange-online-room-settings/</link>
      <pubDate>Tue, 05 Feb 2019 22:40:11 +0100</pubDate>
      
      <guid>https://powershell.se/post/2019/exchange-online-room-settings/</guid>
      
        <description>When migrating to Exchange Online, default settings for room mailboxes don&amp;rsquo;t allow others users than the &amp;ldquo;booker&amp;rdquo; to see information about the booking. This is a fast rundown of how I changed some permissions to allow users to see who booked the room.</description>
      
    </item>
    
    <item>
      <title>Install Mosquitto on Ubuntu 15.04</title>
      <link>https://powershell.se/post/2016/install-mosquitto-on-ubuntu-1504/</link>
      <pubDate>Wed, 30 Nov 2016 21:17:00 +0100</pubDate>
      
      <guid>https://powershell.se/post/2016/install-mosquitto-on-ubuntu-1504/</guid>
      
        <description>(This is hastly jotted down. Updates may be needed&amp;hellip;) Add mosquitto&amp;rsquo;s PPA to ubuntu, in a terminal 1 sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa If the command does&amp;rsquo;t work, read more here
Run update 1 sudo apt-get update Install the mosquitto server only 1 sudo apt-get install mosquitto Install the mosquitto server and mosquitto pub/sub clients 1 sudo apt-get install mosquitto mosquitto-clients Stop the mosquttio server 1 sudo /etc/init.</description>
      
    </item>
    
    <item>
      <title>Change Timezone on Debian or Ubuntu</title>
      <link>https://powershell.se/post/2016/change-timezone-on-debian-or-ubuntu/</link>
      <pubDate>Wed, 06 Jan 2016 16:27:01 +0100</pubDate>
      
      <guid>https://powershell.se/post/2016/change-timezone-on-debian-or-ubuntu/</guid>
      
        <description>In a terminal, write
1 dpkg-reconfigure tzdata </description>
      
    </item>
    
    <item>
      <title>Apt Add Repository Command Not Found</title>
      <link>https://powershell.se/post/2016/apt-add-repository-command-not-found/</link>
      <pubDate>Wed, 06 Jan 2016 15:39:16 +0100</pubDate>
      
      <guid>https://powershell.se/post/2016/apt-add-repository-command-not-found/</guid>
      
        <description>Can&amp;rsquo;t add a PPA repository? Do this:
1 sudo apt-get install python-software-properties Still does&amp;rsquo;t work?
1 sudo apt-get install software-properties-common </description>
      
    </item>
    
    <item>
      <title>How to Search for Packages in Ubuntu</title>
      <link>https://powershell.se/post/2016/how-to-search-for-packages-in-ubuntu/</link>
      <pubDate>Wed, 06 Jan 2016 15:24:57 +0100</pubDate>
      
      <guid>https://powershell.se/post/2016/how-to-search-for-packages-in-ubuntu/</guid>
      
        <description>In a terminal, write 1 apt-cache search xxyyzz And to search all:
1 apt-cache search . </description>
      
    </item>
    
    <item>
      <title>SSTP or PPTP VPN Client on Windows 8</title>
      <link>https://powershell.se/post/2013/sstp-or-pptp-vpn-client-on-windows-8/</link>
      <pubDate>Mon, 27 May 2013 23:02:30 +0200</pubDate>
      
      <guid>https://powershell.se/post/2013/sstp-or-pptp-vpn-client-on-windows-8/</guid>
      
        <description>How to configure a VPN client on Windows 8 Start by navigating to &amp;ldquo;Network and Sharing Center&amp;rdquo;
Click &amp;ldquo;Set up a new connection or network&amp;rdquo;
Click &amp;ldquo;Connect to a workplace&amp;rdquo; Click &amp;ldquo;Create a new connection&amp;rdquo; Click &amp;ldquo;Use my Internet connection (VPN)&amp;rdquo; In &amp;ldquo;Internet address:&amp;rdquo; type the adress to your VPN router and in &amp;ldquo;Destionation name:&amp;rdquo; type a descriptive name for the connection.</description>
      
    </item>
    
    <item>
      <title>Install Telldus on Synology NAS</title>
      <link>https://powershell.se/post/2013/install-telldus-on-synology-nas/</link>
      <pubDate>Sat, 09 Feb 2013 19:30:58 +0100</pubDate>
      
      <guid>https://powershell.se/post/2013/install-telldus-on-synology-nas/</guid>
      
        <description>Some quick notes (not complete) On a &amp;ldquo;spare&amp;rdquo; debian computer (virtual), do the following:
1 2 3 4 5 6 apt-get install build-essential apt-get install libftdi1 apt-get install libftdi-dev apt-get install libconfuse0 apt-get install libconfuse-dev apt-get cmake Download the latest telldus-core version from Telldus</description>
      
    </item>
    
    <item>
      <title>Force HTTPS Synology NAS</title>
      <link>https://powershell.se/post/2013/force-https-synology-nas/</link>
      <pubDate>Sat, 09 Feb 2013 16:02:24 +0100</pubDate>
      
      <guid>https://powershell.se/post/2013/force-https-synology-nas/</guid>
      
        <description>As Synology NAS:es uses Roundcube for the &amp;ldquo;Mailstation&amp;rdquo; service, it&amp;rsquo;s rather easy to change desired settings.
To force HTTPS on all connections to Roundcube:
Connect to the Synology NAS through SSH</description>
      
    </item>
    
    <item>
      <title>Enabling SSH via OEM TGZ on ESXi 4.0</title>
      <link>https://powershell.se/post/2009/enabling-ssh-via-oem-tgz-on-esxi-4-0/</link>
      <pubDate>Fri, 21 Aug 2009 12:07:48 +0200</pubDate>
      
      <guid>https://powershell.se/post/2009/enabling-ssh-via-oem-tgz-on-esxi-4-0/</guid>
      
        <description>Recently I’ve replaced my server at home with a new one. I installed ESXi on a USB stick and enabled the SSH as described here
Then updated it via vSphere Host Update Utility 4.</description>
      
    </item>
    
    <item>
      <title>Install Active Directory on Server Core 2008</title>
      <link>https://powershell.se/post/2009/install-active-directory-on-server-core/</link>
      <pubDate>Fri, 14 Aug 2009 20:36:30 +0200</pubDate>
      
      <guid>https://powershell.se/post/2009/install-active-directory-on-server-core/</guid>
      
        <description>To install Active Directory on Server Core 2008 you need to run dcpromo.exe in unattended mode.
First start notepad on the target Core server and paste the following: [DCINSTALL] InstallDNS=yes NewDomain=forest NewDomainDNSName=&amp;lt;The fully qualified Domain Name System (DNS) name&amp;gt; DomainNetBiosName=&amp;lt;By default, the first label of the fully qualified DNS name&amp;gt; SiteName=&amp;lt;Default-First-Site-Name&amp;gt; ReplicaOrNewDomain=domain ForestLevel=3 DomainLevel=3 DatabasePath=&amp;#34;%systemroot%\NTDS&amp;#34; LogPath=&amp;#34;%systemroot%\NTDS&amp;#34; RebootOnCompletion=yes SYSVOLPath=&amp;#34;%systemroot%\SYSVOL&amp;#34; SafeModeAdminPassword=P@ssw0rd This is example is for a new forest installation with Forest and Domain level set to 2008.</description>
      
    </item>
    
    <item>
      <title>Change Screen Resolution in Server Core 2008</title>
      <link>https://powershell.se/post/2009/change-screen-resolution-in-server-core/</link>
      <pubDate>Wed, 12 Aug 2009 22:45:17 +0200</pubDate>
      
      <guid>https://powershell.se/post/2009/change-screen-resolution-in-server-core/</guid>
      
        <description>Ever wondered how to change screen resolution in Server Core?
I’ve found a blogpost about that here Change resolution on server core
And just to simplify it:
Locate
\HKLM\System\CurrentControlSet\Control\Video{classID}\0000\DefaultSettings.XResolution
and</description>
      
    </item>
    
    <item>
      <title>Ipod Hardware Reset</title>
      <link>https://powershell.se/post/2009/ipod-hardware-reset/</link>
      <pubDate>Sun, 28 Jun 2009 18:05:50 +0200</pubDate>
      
      <guid>https://powershell.se/post/2009/ipod-hardware-reset/</guid>
      
        <description>Ever got your iPod to lock up?
This is how I reset it.
Turn keylock on Turn keylock off Press menu and middle buttom for a cuple of seconds. Done. Source: mtdewvirus.</description>
      
    </item>
    
    <item>
      <title>How to Create Lager Drives Than 256 GB in ESXi 4.0</title>
      <link>https://powershell.se/post/2009/how-to-create-lager-drives-than-256-gb-in-esxi4/</link>
      <pubDate>Sat, 06 Jun 2009 03:00:04 +0200</pubDate>
      
      <guid>https://powershell.se/post/2009/how-to-create-lager-drives-than-256-gb-in-esxi4/</guid>
      
        <description>Recently I’ve tried to create a harddisk for a virtual machine in VMware that I wanted to be 600 GB in size.
I ran the “Add Hardware” wizard in vSphere Client and selected the harddisk, typed 600 GB as disk size and !</description>
      
    </item>
    
    <item>
      <title>Enable Remote Desktop on Windows 2008 Server Core</title>
      <link>https://powershell.se/post/2009/enable-remote-desktop-on-windows-2008-server-core/</link>
      <pubDate>Fri, 05 Jun 2009 16:29:24 +0200</pubDate>
      
      <guid>https://powershell.se/post/2009/enable-remote-desktop-on-windows-2008-server-core/</guid>
      
        <description>For Windows 2008 , Server Core &amp;amp; Vista clients type:
Cscript %windir%\system32\SCRegEdit.wsf /ar 0 For Windows XP &amp;amp; Windows 2003 clients type:
cscript %windir%\system32\SCRegEdit.wsf /ar 0 cscript %windir%\system32\SCRegEdit.wsf /cs 0 KB555964 at Microsoft</description>
      
    </item>
    
    <item>
      <title>Enable the unsupported SSH Server in ESXi 4.0</title>
      <link>https://powershell.se/post/2009/enable-the-unsupported-ssh-server-in-esxi-4-0/</link>
      <pubDate>Wed, 03 Jun 2009 20:13:38 +0200</pubDate>
      
      <guid>https://powershell.se/post/2009/enable-the-unsupported-ssh-server-in-esxi-4-0/</guid>
      
        <description>At the console of the ESXi host, press ALT+F1 to access the command shell.
Enter unsupported in the console and hit enter. You will not see what you type.</description>
      
    </item>
    
    <item>
      <title>Installing ESXi 4.0 on a USB Pendrive and HP Ml110</title>
      <link>https://powershell.se/post/2009/installing-esxi-4-0-on-a-usb-pendrive-and-hp-ml110/</link>
      <pubDate>Wed, 03 Jun 2009 20:00:55 +0200</pubDate>
      
      <guid>https://powershell.se/post/2009/installing-esxi-4-0-on-a-usb-pendrive-and-hp-ml110/</guid>
      
        <description>I’ve recently installed EXSi 4.0 on my home server. I’ve choosed to install it on a regular USB pendrive.
You don’t have to do the unpack and DD trick anymore as the ESXi 4.</description>
      
    </item>
    
    <item>
      <title>Install Vmware Tools on Windows 2008 Server Core</title>
      <link>https://powershell.se/post/2009/install-vmware-tools-on-windows-2008-server-core/</link>
      <pubDate>Wed, 03 Jun 2009 17:22:27 +0100</pubDate>
      
      <guid>https://powershell.se/post/2009/install-vmware-tools-on-windows-2008-server-core/</guid>
      
        <description>To install VMware tools on server core, do as you usually do:
In the vmware consol, in the menu under VM choose Guest –&amp;gt; Install/Upgrade VMware Tools After you’ve done that, probably nothing happens…</description>
      
    </item>
    
    <item>
      <title>How to Disable Ipv6 and Ipv6 Tunnels on Windows 2008 Server Core and Vista</title>
      <link>https://powershell.se/post/2009/how-to-disable-ipv6-and-ipv6-tunnels-on-windows-2008-server-core-and-vista/</link>
      <pubDate>Wed, 03 Jun 2009 13:15:55 +0200</pubDate>
      
      <guid>https://powershell.se/post/2009/how-to-disable-ipv6-and-ipv6-tunnels-on-windows-2008-server-core-and-vista/</guid>
      
        <description>Start the “Registry Editor” by typing “regedit” in a elevated command prompt.
Go to: \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters
Create a new DWORD key named: DisabledComponents and set it to FFFFFFFF (8 F:s).
Close “Registry Editor” and reboot the server…</description>
      
    </item>
    
    <item>
      <title>How to Change the Name on a Interface on Windows 2008 Server Core</title>
      <link>https://powershell.se/post/2009/how-to-change-the-name-on-a-interface-on-windows-2008-server-core/</link>
      <pubDate>Wed, 03 Jun 2009 12:40:31 +0200</pubDate>
      
      <guid>https://powershell.se/post/2009/how-to-change-the-name-on-a-interface-on-windows-2008-server-core/</guid>
      
        <description>Sometimes you want to change the name on interfaces in server core to make them more understandable.
This is how you do it:
First, show the current name of all interfaces:</description>
      
    </item>
    
    <item>
      <title>How to Set the IP Address on Windows 2008 Server Core</title>
      <link>https://powershell.se/post/2009/how-to-set-the-ip-address-on-windows-2008-server-core/</link>
      <pubDate>Wed, 03 Jun 2009 11:42:12 +0200</pubDate>
      
      <guid>https://powershell.se/post/2009/how-to-set-the-ip-address-on-windows-2008-server-core/</guid>
      
        <description>Type the following in a console window:
1 netsh interface ipv4 show interface It should output something like this
As you can see, our interface have ID 2 (column Idx).</description>
      
    </item>
    
    <item>
      <title>How to add a PPTP VPN Connection in XP</title>
      <link>https://powershell.se/post/2009/how-to-add-a-pptp-vpn-connection-in-xp/</link>
      <pubDate>Sat, 31 Jan 2009 00:22:43 +0100</pubDate>
      
      <guid>https://powershell.se/post/2009/how-to-add-a-pptp-vpn-connection-in-xp/</guid>
      
        <description>Ensure you are logged in with Administrator priviliges
Open the Control Panel and click “Network and Internet Connection” Click “Create a connection to the network at your workplace” Click “Network Connections”</description>
      
    </item>
    
  </channel>
</rss>